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.
Access sponsored content (ads) detected in AI responses, primarily from ChatGPT. Track which advertisers appear, what products they promote, and which prompts trigger these placements.
Bearer token. Example: Bearer qw-api-xxx
GET /api/v1/brands/{brandId}/sponsored
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).
Filter by advertiser name (case-insensitive partial match)
Maximum number of results to return (max: 100)
Number of results to skip for pagination
sort
string
default: "createdAt"
Field to sort by: createdAt, advertiserName, productName, position
Response
Indicates if the request was successful
Total number of sponsored placements matching filters
Number of items in this response
Show Sponsored content object
Sponsored content record ID
URL of the advertiser’s logo
Name of the advertised product
Position of the ad within the response (1 = first)
Relationship to your brand if advertiser is a known competitor: SELF, DIRECT, INDIRECT, or null
Original prompt that triggered this sponsored placement
Example Request
curl -X GET "https://www.qwairy.co/api/v1/brands/cm1234567890abcdef/sponsored?period=30&limit=10" \
-H "Authorization: Bearer qw-api-your-token-here"
Example Response
{
"success" : true ,
"pagination" : {
"total" : 24 ,
"count" : 2 ,
"limit" : 10 ,
"offset" : 0
},
"sponsored" : [
{
"id" : "sp1" ,
"advertiserName" : "Expedia" ,
"advertiserLogo" : "https://bzrcdn.openai.com/expedia-logo.png" ,
"productName" : "Cheap Flights from Chicago, IL" ,
"description" : "Compare Cheap Flights from Chicago, Illinois. View Deals and Book Now on Expedia." ,
"imageUrl" : null ,
"position" : 1 ,
"provider" : "chatgpt-4o" ,
"competitorRelationship" : "DIRECT" ,
"prompt" : "What are the best flight deals from Chicago?" ,
"createdAt" : "2026-04-10T14:30:00Z"
},
{
"id" : "sp2" ,
"advertiserName" : "Nordstrom" ,
"advertiserLogo" : "https://bzrcdn.openai.com/nordstrom-logo.png" ,
"productName" : "Spring Collection Sale" ,
"description" : "Shop the latest spring styles at Nordstrom. Free shipping and returns." ,
"imageUrl" : null ,
"position" : 1 ,
"provider" : "chatgpt-4o" ,
"competitorRelationship" : null ,
"prompt" : "Best spring fashion deals 2026" ,
"createdAt" : "2026-04-09T09:15:00Z"
}
]
}
Error Responses
Status Code Description 401 INVALID_TOKENAuthentication failed 404 BRAND_NOT_FOUNDBrand doesn’t exist or not accessible