Get Scores
Get visibility metrics and historical trends for a brand. This is the primary endpoint for understanding your AI visibility.
Endpoint
Returns visibility scores, presence metrics, and historical trends for a brand. Includes per-model breakdown and comparison to previous periods.
Query Parameters
brandstringrequiredBrand ID from /get-brands (also accepts brand_id)
daysintegerHistorical period in days (7-365)
Default: 90
viewstringWhich shape to return: summary, time_series, by_model, or by_prompt
Default: summary
tag_idsstringComma-separated tag UUIDs to filter prompts. Scores are recalculated using only matching prompts.
prompt_idstringSingle prompt UUID to filter scores to one prompt
Understanding Scores
Trakkr tracks two key metrics:
Visibility Score (0-100)
How prominently your brand appears when mentioned. Based on position in AI recommendations.
Presence Score (0-100)
The percentage of tracked prompts where your brand appears at least once. A brand with 80% presence appears in 80% of relevant AI queries.
Filtering by Tag or Prompt
Use tag_ids or prompt_id to segment visibility scores to a subset of prompts. When filters are active, scores are recalculated using only matching prompts, and the response includes afilters_applied object.
Views
The view parameter changes the shape of the response. Leave it out and you get summary, which is what the rest of this page describes. An unrecognised value returns 400.
| view | What you get back |
|---|---|
summary | Default. brand, latest_scores, trend, historical and filters_applied. |
time_series | brand, period_days, and time_series[] with date, visibility, presence, average_rank, mentions and models_mentioned per report. |
by_model | brand, period_days, and models[] with model, visibility, presence and trend, from the latest report. |
by_prompt | brand, period_days, and prompts[] with prompt_id, prompt_text, visibility, presence and average_rank, from the latest report. |
brand object, with only id and name. They also ignore tag_ids and prompt_id; filtering only applies to the summary view.Response Fields
Top Level
brandobjectThe brand this report is about: id, name, website, competitors
latest_scoresobjectThe most recent scores, broken down below
trendobjectChange across the requested period
historicalarrayOne point per completed report in the period, oldest first
filters_appliedobjectnullableEcho of the tag_ids and prompt_id you sent, plus matched_prompts. Null when you send no filters.
brand Object
idstringBrand UUID, the same one you passed in
namestringBrand display name
websitestringBrand website URL. Empty string if the brand has none.
competitorsstring[]Competitor names tracked for this brand
latest_scores Object
visibilitynumberOverall visibility score (0-100). Higher = more prominent in AI responses.
presencenumberOverall presence score (0-100). Percentage of prompts where brand appears.
average_ranknumbernullableAverage position when mentioned (1.0-10.0). Lower is better.
mentionsintegerTotal times brand appeared in AI responses this period
models_mentionedintegerCount of AI models that mentioned the brand
model_scoresobjectPer-model visibility and presence breakdown
datestringISO 8601 timestamp of this report
trend Object
visibility_changenumbernullableVisibility now minus visibility at the start of the period. Null when there is only one report.
presence_changenumbernullablePresence now minus presence at the start of the period. Null when there is only one report.
period_daysintegerThe days value you requested, echoed back
reports_countintegerHow many completed reports the trend is based on
historical[] Item
datestringReport date, YYYY-MM-DD
visibilitynumberVisibility score on that date (0-100)
presencenumberPresence score on that date (0-100)
average_ranknumbernullableAverage position on that date. Null when filters are active, because rank is not tracked per prompt.
mentionsintegerMentions counted on that date
Model Scores
The model_scores object contains per-model breakdown:
| Model Key | AI Model |
|---|---|
ChatGPT | OpenAI GPT-4o |
Claude | Anthropic Claude 3.5 Sonnet |
Gemini | Google Gemini 2.0 Flash |
Perplexity | Perplexity Sonar |
Grok | xAI Grok 2 |
