Export stored analytics as CSV, Excel, or JSON
Exports the same stored measurements shown in Analytics. Missing provider metrics stay empty instead of becoming zero.
/analytics/exportIn: header
Query Parameters
Workspace ID
Reporting window: 7, 30, 90, 365 days, or 0 for all time. Custom dates override days.
int6430Inclusive start date (YYYY-MM-DD, UTC), supplied together with to
Inclusive end date (YYYY-MM-DD, UTC), supplied together with from
Optional comma-separated social account IDs. Intersects with account_id and platforms when supplied.
Optional social account ID to export
Optional comma-separated platform filter, for example x,bluesky
File format. xlsx contains every table plus charts.
"csv"Value in
- "csv"
- "xlsx"
- "json"
IANA timezone used for publish times and day, week and month grouping
"UTC"Row grouping for the report
"post"Value in
- "post"
- "day"
- "week"
- "month"
- "platform"
- "account"
Table to export for csv and json. report follows group_by; xlsx always includes all tables.
"report"Value in
- "report"
- "posts"
- "daily"
- "accounts"
Optional comma-separated post metric columns for posts and grouped reports. Defaults to every measured metric. Daily and accounts tables retain their fixed columns.
Response Body
application/problem+json
application/problem+json
application/problem+json
application/problem+json
curl -X GET "https://example.com/analytics/export?workspace_id=string""string"