Skip to main content
GET
/
ai-analytics-service
/
api
/
public
/
v1
/
analytics
/
citations
/
domains
Get Citations by Domain
curl --request GET \
  --url https://api.slatehq.ai/ai-analytics-service/api/public/v1/analytics/citations/domains \
  --header 'Authorization: <authorization>'
{
  "data": [
    {
      "domain": "<string>",
      "citations": 123,
      "citationsDelta": 123,
      "uniqueUrls": 123,
      "avgRank": 123,
      "platforms": [
        "<string>"
      ],
      "category": "<string>"
    }
  ],
  "pagination": {
    "total": 123,
    "limit": 123,
    "offset": 123,
    "hasMore": true
  }
}

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 citation data grouped by domain. Each domain entry includes citation count, unique URLs, average rank, and category. Results are paginated and include period-over-period deltas.

Parameters

Authorization
string
required
Bearer token. Format: Bearer slat_<your-token>.
dateRange
integer
Number of days for the analysis window.
from
string
Start of date range. ISO 8601 format.
to
string
End of date range. ISO 8601 format.
brandId
number
Brand ID. Optional — if omitted, uses the workspace’s default brand.
topicId
number
Filter by topic ID.
platforms
string[]
Filter by one or more platforms.
category
string
Filter by citation category (e.g., OWNED, EARNED, COMPETITOR).
Search domains by name. Case-insensitive partial match.
region
string
Filter by ISO country code.
limit
integer
Number of results per page. Default: 20. Maximum: 100.
offset
integer
Number of results to skip. Default: 0.
promptId
number
Filter by a single prompt ID.
promptIds
number[]
Filter by multiple prompt IDs. Maximum 10 values.

Response

Returns 200 OK with a paginated list of domain citation data.
data
object[]
required
Array of domain citation objects.
pagination
object
required
Pagination metadata.

Example

curl -s "https://api.slatehq.ai/ai-analytics-service/api/public/v1/analytics/citations/domains?dateRange=30&topicId=42&limit=10" \
  -H "Authorization: Bearer slat_YOUR_TOKEN"

Response

{
  "data": [
    {
      "domain": "example.com",
      "citations": 45,
      "citationsDelta": 5,
      "uniqueUrls": 12,
      "avgRank": 2.3,
      "platforms": ["CHATGPT", "PERPLEXITY"],
      "category": "OWNED"
    },
    {
      "domain": "techreview.com",
      "citations": 30,
      "citationsDelta": -2,
      "uniqueUrls": 8,
      "avgRank": 3.1,
      "platforms": ["CHATGPT", "GEMINI"],
      "category": "EARNED"
    }
  ],
  "pagination": {
    "total": 45,
    "limit": 10,
    "offset": 0,
    "hasMore": true
  }
}

Status codes

StatusDescription
200Domain citations returned.
400promptIds exceeds maximum of 10 values.
401Missing or invalid Bearer token. See Authentication.
500Internal server error.

What’s next