Skip to main content
GET
Domain Citations Over Time

Authorizations

X-API-Key
string
header
required

API key for authentication. Get yours from the Promptwatch dashboard under Settings > API Keys.

Query Parameters

startDate
string<date>

Start date for citation data (YYYY-MM-DD). Max range 90 days.

endDate
string<date>

End date for citation data (YYYY-MM-DD). Max range 90 days.

models

Filter by LLM models. Repeat for multiple

promptId
string

Filter by specific prompt ID

llmMonitorId
string

Filter by specific LLM monitor ID

promptTypes

Filter by prompt type. Repeat for multiple

Available options:
ORGANIC,
BRAND_SPECIFIC,
COMPETITOR_COMPARISON
range
enum<string>
default:DAILY

Time range grouping

Available options:
DAILY,
WEEKLY,
MONTHLY
granularity
enum<string>
default:daily

Time granularity for grouping data

Available options:
daily,
weekly,
monthly
domainLimit
integer
default:10

Maximum number of domains to include (for domain over time endpoint)

Required range: 1 <= x <= 50
domains

Filter by domains. Repeat for multiple

includeSelf
boolean
default:false

If true, always include the project's own brand domain (even with 0 citations)

Response

Default Response

dates
string<date-time>[]
required

Array of dates for the time series

series
object[]
required

Time series data for each domain

totalCitations
number
required

Total citations across all domains