Skip to main content
GET
Share of mentions by one dimension

Authorizations

Authorization
string
header
required

Clerk API key. Create one in Settings → API Keys. Pass as Authorization: Bearer <key>. Keys carry a scope — read, write (implies read) or admin (implies write) — chosen when the key is minted. Each operation's security requirement (and its x-required-scope extension) names the minimum scope it needs; request the least-privileged key that covers the operations you call.

Query Parameters

keywordIds

Numeric ids of the monitored keywords to scope to (from list_keywords). Omit for every keyword. A mention that matched several keywords counts once per keyword in per-keyword breakdowns and once in totals.

Required range: 0 < x <= 9007199254740991
startDate
string

Inclusive first day of the window as YYYY-MM-DD (UTC) — NEVER an ISO timestamp with T/Z. Omit for the default: the last 30 days ending today.

Pattern: ^\d{4}-\d{2}-\d{2}$
endDate
string

Inclusive last day of the window as YYYY-MM-DD (UTC). Omit for today. Must be on or after startDate; the window may span at most 365 days.

Pattern: ^\d{4}-\d{2}-\d{2}$
includeAll

Count every collected mention, including the ones the AI scored Low relevance or has not scored yet. Default false: only relevant mentions (High + Medium) count — the same set the mentions feed shows by default.

dimension
enum<string>
required

What to group by: source (platform), keyword, tag (AI topic label), language (ISO 639-1) or author (platform handle).

Available options:
source,
keyword,
tag,
language,
author
limit
integer
default:10

How many rows to return, highest volume first. 1–50, default 10.

Required range: 1 <= x <= 50

Response

200 response

window
object
required
dimension
enum<string>
required
Available options:
source,
keyword,
tag,
language,
author
includeAll
boolean
required
total
integer
required

Distinct mentions in the window (a mention with several keywords / tags counts once here but once per group in data, so shares can sum to more than 100).

Required range: -9007199254740991 <= x <= 9007199254740991
data
object[]
required

Sorted by count desc, capped by limit.