The visibility trends endpoint returns daily time-series metrics for every active competitor in a project. Use it to chart how brand visibility, sentiment, and position change over time across AI providers.Documentation Index
Fetch the complete documentation index at: https://docs.topify.ai/llms.txt
Use this file to discover all available pages before exploring further.
Get visibility trends
Path parameters
| Param | Type | Description |
|---|---|---|
project_id | string (UUID) | The project ID |
Query parameters
| Param | Type | Default | Description |
|---|---|---|---|
duration_days | integer | 7 | Days to look back |
date_from | string | — | Start date (YYYY-MM-DD) |
date_to | string | — | End date (YYYY-MM-DD) |
providers | string | — | Comma-separated provider filter |
- cURL
- Python
- JavaScript
Response
VisibilityTrendsResponse fields
| Field | Type | Description |
|---|---|---|
dates | string[] | Sorted date strings in YYYY-MM-DD format |
period | string | Human-readable date range (e.g., 2026-02-28 to 2026-03-03) |
series | CompetitorSeries[] | One entry per active competitor |
CompetitorSeries fields
| Field | Type | Nullable | Description |
|---|---|---|---|
competitor_id | string (UUID) | No | Competitor ID |
name | string | No | Competitor brand name |
website | string | No | Competitor website URL |
icon_url | string | Yes | Primary logo URL |
is_own_brand | boolean | No | true if this is your own brand |
visibility | float[] | No | Daily visibility scores aligned to dates. null for days with no data |
sentiment | float[] | No | Daily sentiment scores aligned to dates. null for days with no data |
position | float[] | No | Daily position values aligned to dates. null for days with no data |
When multiple providers have data for the same day, values are averaged. A
null entry means no data was collected for that competitor on that date.Use cases
- Chart over time
- Compare competitors
- Filter by provider
Plot each competitor as a line on a time-series chart. The
dates array provides x-axis labels and each series’ visibility, sentiment, and position arrays provide y-axis values.