Get sentiment time series
Retrieve daily sentiment distribution over time for the owned brand within a topic (competitors are not included). Returns counts of endorsed, undermined, and neutral feature mentions per day within the specified date range.
Deprecated: Returns a 410 Gone error once Topics are disabled for your account due to deprecation — if so, use GET /api/v1/brands/{brand}/sentiment/timeseries with the promptType query parameter for a Branded/Non-Branded split, or create a View (POST /api/v1/brands/{brand}/views) to replicate this topic's specific prompt grouping and query GET /api/v1/views/{view}/sentiment/timeseries instead.
Authorization
BearerAuth API token authentication. Use format: Bearer ot_your-token-here
In: header
Path Parameters
Unique identifier for the topic
uuidQuery Parameters
Start date for filtering data (ISO 8601 date format). Range is inclusive.
dateEnd date for filtering data (ISO 8601 date format). Range is inclusive.
dateFilter by AI engine. If empty, returns results for all engines
"google-ai-overviews" | "google-ai-mode" | "perplexity" | "openai" | "gemini" | "grok" | "copilot" | "claude" | "bing-ai-mode"Response Body
application/json
application/json
application/json
application/json
application/json
curl -X GET "https://app.useomnia.com/api/v1/topics/550e8400-e29b-41d4-a716-446655440000/sentiment/timeseries?startDate=2026-01-01&endDate=2026-01-31"{
"data": {
"timeSeries": [
{
"date": "2026-01-01",
"endorsedMentions": 12,
"underminedMentions": 3,
"neutralMentions": 8
}
]
}
}{
"error": {
"code": 1002,
"description": "Invalid input parameters"
}
}{
"error": {
"code": 1004,
"description": "Invalid or expired API token"
}
}{
"error": {
"code": 1006,
"description": "Item not found"
}
}{
"error": {
"code": 1001,
"description": "Internal error"
}
}