Documentation Index Fetch the complete documentation index at: https://slatehq.com/docs/llms.txt
Use this file to discover all available pages before exploring further.
Returns a ranked comparison of visibility scores for your brand and competitors. Use this to understand where your brand stands relative to the competition in AI search results.
Parameters
Bearer token. Format: Bearer slat_<your-token>.
Number of days for the analysis window (e.g., 7, 30, 90).
Filter by one or more platforms: CHATGPT, PERPLEXITY, GOOGLE_AI_OVERVIEW, GOOGLE_AI_MODE, GEMINI, CLAUDE.
Response
Returns 200 OK with an array of visibility comparison objects, ranked by score.
Array of visibility comparison objects. Show visibility comparison object
Brand or competitor name.
Display color for the entity (hex code).
One of: BRAND, COMPETITOR.
Position in the ranking (1 = highest visibility).
Change in score compared to the previous period (e.g., +5, -2).
Example
curl -s "https://api.slatehq.ai/ai-analytics-service/api/public/v1/analytics/visibility-comparison?dateRange=30&topicId=42" \
-H "Authorization: Bearer slat_YOUR_TOKEN"
Response
[
{
"name" : "MyBrand" ,
"score" : 85 ,
"color" : "#4F46E5" ,
"type" : "BRAND" ,
"rank" : 1 ,
"change" : "+5"
},
{
"name" : "CompetitorA" ,
"score" : 70 ,
"color" : "#EF4444" ,
"type" : "COMPETITOR" ,
"rank" : 2 ,
"change" : "-2"
},
{
"name" : "CompetitorB" ,
"score" : 55 ,
"color" : "#F59E0B" ,
"type" : "COMPETITOR" ,
"rank" : 3 ,
"change" : "+1"
}
]
Status codes
Status Description 200Visibility comparison returned. 401Missing or invalid Bearer token. See Authentication . 500Internal server error.
What’s next