Skip to main content
POST
Export mentions to a download link

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.

Body

application/json

The filter set to export as CSV. Same window semantics as the analytics tools.

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
sources
enum<string>[]

Platforms to include.

Minimum array length: 1

Platform a mention can originate from / a keyword can be monitored on.

Available options:
dev,
github,
hackernews,
linkedin,
producthunt,
reddit,
stackoverflow,
twitter,
youtube,
tiktok,
medium,
reddit_comment,
bluesky,
newsletter,
podcasts,
news,
firehose,
trustpilot_reviews,
google_reviews,
app_store_reviews,
google_play_reviews,
instagram
sentiment
enum<string>

Only this sentiment.

Available options:
positive,
neutral,
negative
relevance
enum<string>

high, relevant (default) or all.

Available options:
high,
relevant,
all
startDate
string

YYYY-MM-DD; default last 30 days.

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

YYYY-MM-DD; default today.

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

Free-text filter.

Maximum string length: 200
limit
integer
default:1000

Row cap, 1–5000.

Required range: 1 <= x <= 5000

Response

200 response

url
string
required

Public, unguessable download URL of the CSV.

filename
string
required
format
string
required
Allowed value: "csv"
rows
integer
required

Rows in the file.

Required range: -9007199254740991 <= x <= 9007199254740991
truncated
boolean
required

true when the row cap cut the result.