Get Topics
Get metrics for all the topics by website ID
post/api/beta/topics
Returns metrics for all the topics by website ID
Body Parameters
fromDatenumber
formatint64
llmProviderstring
tagIdsarray of string
toDatenumber
formatint64
archiveboolean
optional
competitorUrlstring
optional
Returns
archivedboolean
optional
averageRankingobject
optional
mentionRateobject
optional
promptsCountnumber
optional
formatint32
roinumber
optional
formatdouble
searchVolumenumber
optional
formatint32
startedboolean
optional
topicobject
optional
curl https://api.joinanvil.com/api/beta/api/beta/topics \
-H 'Content-Type: application/json' \
-H "Authorization: Bearer $ANVIL_API_KEY" \
-d '{
"fromDate": 0,
"llmProvider": "llmProvider",
"tagIds": [
"string"
],
"toDate": 0
}'200 Example
[
{
"archived": true,
"averageRanking": {
"average": 0,
"dataFormat": "NUMBER",
"dates": [
"2019-12-27T18:11:19.117Z"
],
"daysSpan": 0,
"delta": 0,
"displayName": "displayName",
"fromDate": "2019-12-27T18:11:19.117Z",
"language": "ENGLISH",
"locale": "GLOBAL",
"median": 0,
"metricName": "metricName",
"series": [
{
"date": "2019-12-27T18:11:19.117Z",
"value": 0
}
],
"toDate": "2019-12-27T18:11:19.117Z",
"value": 0
},
"mentionRate": {
"average": 0,
"dataFormat": "NUMBER",
"dates": [
"2019-12-27T18:11:19.117Z"
],
"daysSpan": 0,
"delta": 0,
"displayName": "displayName",
"fromDate": "2019-12-27T18:11:19.117Z",
"language": "ENGLISH",
"locale": "GLOBAL",
"median": 0,
"metricName": "metricName",
"series": [
{
"date": "2019-12-27T18:11:19.117Z",
"value": 0
}
],
"toDate": "2019-12-27T18:11:19.117Z",
"value": 0
},
"promptsCount": 0,
"roi": 0,
"searchVolume": 0,
"shareOfVoice": {
"average": 0,
"dataFormat": "NUMBER",
"dates": [
"2019-12-27T18:11:19.117Z"
],
"daysSpan": 0,
"delta": 0,
"displayName": "displayName",
"fromDate": "2019-12-27T18:11:19.117Z",
"language": "ENGLISH",
"locale": "GLOBAL",
"median": 0,
"metricName": "metricName",
"series": [
{
"date": "2019-12-27T18:11:19.117Z",
"value": 0
}
],
"toDate": "2019-12-27T18:11:19.117Z",
"value": 0
},
"started": true,
"topic": {
"id": "id",
"archived": true,
"language": "ENGLISH",
"lastRun": "2019-12-27T18:11:19.117Z",
"llmProvider": "llmProvider",
"locale": "GLOBAL",
"prompts": [
{
"id": "id",
"language": "ENGLISH",
"text": "text"
}
],
"seoKeywordIndex": 0,
"tags": [
{
"colorHex": "colorHex",
"name": "name",
"websiteTopicId": "websiteTopicId",
"id": "id",
"topicIds": [
"string"
]
}
],
"text": "text",
"websiteId": "websiteId"
}
}
]