Competitors
GET
http://localhost:4000/api/v1 /competitors List the followed competitors with their numbers
One row per followed public account: followers, 30-day growth, posts per week, average likes, comments and shares per post, and engagement over followers. own has the workspace's channels in the same shape; benchmark is the mean of the competitors.
Code samples
cURL
curl -X GET "http://localhost:4000/api/v1/competitors" \
-H "Authorization: Bearer $API_KEY"TypeScript
Python
Go
PHP
Ruby
Java
Responses
200 OK
Example
{}Option 1
{}Option 2
{}POST
http://localhost:4000/api/v1 /competitors Follow a public account as a competitor
handle is a name or a profile link. The account is read through one of the workspace's connected channels of the same network, so one must be connected. The number of accounts is limited by the plan.
Request body
application/json
networkstring
required
handlestring
required
clientIdstring
{
"network": "string",
"handle": "string",
"clientId": null
}Code samples
cURL
curl -X POST "http://localhost:4000/api/v1/competitors" \
-H "Authorization: Bearer $API_KEY" \
-H "Content-Type: application/json" \
-d '{"network":"string","handle":"string","clientId":null}'TypeScript
Python
Go
PHP
Ruby
Java
Responses
200 OK
Example
{}Option 1
{}Option 2
{}Updated