Skip to main content
This guide shows examples of common API requests. All examples use JSON format and require an API key for authentication. Replace your_api_key, your_category_id, and your_company_name with your actual values. Get category IDs from /v1/org/categories.
All examples use simplified date formats. For production use, see Date ranges and timezones to understand timezone handling and avoid common pitfalls with date parameters.

Visibility reports

Retrieve visibility metrics and performance data for companies within specific categories. See the full endpoint reference for all available metrics, dimensions, and filters.

Sentiment analysis

Analyze sentiment data and emotional responses across companies and topics. See the full Sentiment endpoint reference for all available metrics, dimensions, and filters.
The same filter composition shown in the Mixed AND/OR tag filtering tab under Visibility reports works on the legacy POST /v1/reports/sentiment endpoint.
The first example below uses POST /v2/reports/sentiment. The remaining examples use the legacy POST /v1/reports/sentiment, which returns data only before 2026-07-09.
Get the share of positive and negative sentiment for one brand.
asset is required, because sentiment is calculated for one brand at a time. positive_sentiment and negative_sentiment are percentages that sum to 100 per row, unlike the integer counts in the v1 examples.Use case: See how positively AI answers describe your brand.

Citation reports

Track mentions, references, and citation patterns across domains and pages. See the full endpoint reference for all available metrics, dimensions, and filters.
The same filter composition shown in the Mixed AND/OR tag filtering tab under Visibility reports works on this endpoint.
Track citation share by domain with daily granularity.
Use case: Monitor how citation share trends over time across competing domains.

Raw data access

Access unprocessed prompt and answer data for custom analysis. See the full endpoint reference for all available parameters and filters.
Get all visibility answers for a date range.
Use case: Build custom dashboards and perform specialized analysis with raw answer data.