Get a Brand's Analytics
Visibility, share of voice, the per-model breakdown and the citation totals for one window, in one request. The long lists — cited domains and URLs, sub-queries, per-prompt results — are endpoints of their own. Everything else is always included.
Needs read access. About keys
Request
curl "https://app.vyingfor.com/api/v1/brands/{brandId}/analytics?start=2026-11-01T00:00:00Z&end=2026-12-01T00:00:00Z" \
-H "Authorization: Bearer YOUR_API_KEY"Parameters
| Name | In | Type | Description |
|---|---|---|---|
brandId required | Path | string | Brand identifier. |
start required | Query | string | Inclusive lower bound of the window, an ISO 8601 timestamp such as |
end required | Query | string | Exclusive upper bound of the window, an ISO 8601 timestamp, also aligned down to the quarter hour. The window is half-open: a run at exactly |
model | Query | string | Restrict to one model, e.g. |
tags | Query | string | Comma-separated prompt tags. Only prompts carrying at least one of them are counted. |
countries | Query | string | Comma-separated ISO 3166-1 alpha-2 country codes, e.g. |
languages | Query | string | Comma-separated ISO 639-1 language codes, e.g. |
Response
200 Get a brand's analytics
| Field | Type | Description |
|---|---|---|
brandId | string | |
brandName | string | |
range | DateRange | The window the response was computed over, echoed back as the half-open instants it resolved to. |
visibility | object | How often the brand is mentioned at all. |
shareOfVoice | object | The brand against its tracked competitors. |
models | ModelVisibility[] | Per-model visibility and run counts. Only models that produced a run in the window appear. |
sentiment | BrandSentiment | Experimental — the shape may still change. The brand's sentiment over the window, with the counts for each day so a client can chart or smooth them. |
position | BrandPosition | Experimental — the shape may still change. The brand's position among the tracked companies the answers name, 1 being named first, averaged over the window and per day. |
totals | object |
Errors
400Invalid request data401Authentication required403The key is valid but doesn't have the access this request needs.404Resource not found429Per-key rate limit exceeded.500Internal server error