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.
Monitor how your brand and competitors are mentioned in AI responses. Competitors have three relationship types: SELF (your brand), DIRECT (direct competitors), and INDIRECT (indirect competitors). The list and evolution endpoints return only SELF and DIRECT by default. Share of Voice is calculated using only SELF and DIRECT mentions.
See Entities for the complete Competitor object structure.
Bearer token. Example: Bearer qw-api-xxx
Path Parameters
The unique identifier of the brand
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).
Filter by prompt type: TOFU, MOFU, BOFU
relationship
string
default: "SELF,DIRECT"
Filter by relationship type. Supports comma-separated multi-select: SELF, DIRECT, INDIRECT. Default: SELF,DIRECT.
Maximum number of results to return (max: 100)
Number of results to skip for pagination
Field to sort by: mentions, position, sentiment, shareOfVoice, name
Response
Returns competitors with relationship SELF (your brand) and DIRECT (direct competitors). INDIRECT competitors are not included by default.
Indicates if the request was successful
Total number of competitors matching filters
Number of competitors in this response
SELF (your brand) or DIRECT (competitor)
Average position in responses
Average sentiment score (0-100)
Example Request
curl -X GET "https://www.qwairy.co/api/v1/brands/cm1234567890abcdef/competitors?limit=10&offset=0" \
-H "Authorization: Bearer qw-api-your-token-here"
Example Response
{
"success" : true ,
"pagination" : {
"total" : 10 ,
"count" : 2 ,
"limit" : 10 ,
"offset" : 0
},
"competitors" : [
{
"id" : "cmp1" ,
"name" : "My Brand" ,
"domain" : "mybrand.com" ,
"relationship" : "SELF" ,
"totalMentions" : 104 ,
"shareOfVoice" : 8.13 ,
"avgPosition" : 2.1 ,
"avgSentiment" : 78.1
},
{
"id" : "cmp2" ,
"name" : "Competitor A" ,
"domain" : "competitor-a.com" ,
"relationship" : "DIRECT" ,
"totalMentions" : 111 ,
"shareOfVoice" : 8.73 ,
"avgPosition" : 1.8 ,
"avgSentiment" : 75.2
}
]
}