Documentation Index
Fetch the complete documentation index at: https://docs.qwairy.co/llms.txt
Use this file to discover all available pages before exploring further.
Track how a competitor’s metrics change over time. Returns daily time-series data for mentions, share of voice, and sentiment.
Path Parameters
The unique identifier of the brand
The unique identifier of the competitor
Query Parameters
Number of days to include. If not specified, returns all data.
Start date (ISO 8601 format)
End date (ISO 8601 format)
Filter by AI provider. Supports comma-separated multi-select (e.g., chatgpt,claude).
Filter by topic ID. Supports comma-separated multi-select (e.g., id1,id2).
Filter by tag ID. Supports comma-separated multi-select (e.g., id1,id2).
Example Request
curl -X GET "https://www.qwairy.co/api/v1/brands/cm1234567890abcdef/competitors/cmp1/evolution?period=7" \
-H "Authorization: Bearer qw-api-your-token-here"
Example Response
{
"success": true,
"competitor": {
"id": "cmp1",
"name": "My Brand",
"relationship": "SELF"
},
"evolution": [
{
"date": "2024-12-01",
"mentions": 5,
"shareOfVoice": 7.2,
"avgPosition": 2.3,
"avgSentiment": 76.5
},
{
"date": "2024-12-02",
"mentions": 8,
"shareOfVoice": 8.5,
"avgPosition": 2.1,
"avgSentiment": 78.2
}
]
}
Error Responses
| Status | Code | Description |
|---|
| 401 | INVALID_TOKEN | Authentication failed |
| 404 | BRAND_NOT_FOUND | Brand doesn’t exist or not accessible |
| 404 | COMPETITOR_NOT_FOUND | Competitor doesn’t exist |