/v1/analyticsGet analytics
Performance over the last 7, 30 or 90 days, or a custom range (from and to, UTC days), with deltas against the previous period of the same length and a daily series. campaign_id narrows the advertiser side to one campaign. side=advertiser: spend, impressions, reach, engagements, clicks, CTR, cost per click, top accounts and per-campaign KPIs. Clicks count people who opened the short links creators share (once per person per day, bots and link previews excluded); they're null only when no post in the period had a link. side=creator: earnings, approvals and per-account / per-advertiser breakdowns. side defaults to the workspace's only side; **a workspace that runs both sides must pass it** (422 otherwise; GET /v1/me lists the workspace's sides).
- side
- "advertiser" | "creator"Which side of the marketplace to report on. Required when the workspace runs both sides; defaults to its only side otherwise
- days
- integer
- from
- stringCustom range start (YYYY-MM-DD, UTC), with
to. Overridesdays - to
- stringCustom range end, included (YYYY-MM-DD, UTC), with
from - campaign_id
- stringAdvertiser side: report on this one campaign
curl "https://sqa.coboost.ai/api/v1/analytics" \
-H "Authorization: Bearer $COBOOST_API_KEY"{
"object": "analytics",
"side": "advertiser",
"days": 30,
"from": "2026-09-29",
"to": "2026-10-28",
"campaign_id": null,
"totals": {
"spend_cents": 310000,
"impressions": 402000,
"reach": 288000,
"engagements": 21400,
"clicks": 3100,
"ctr": 0.77,
"cpc_cents": 100,
"cpm_cents": 771,
"cpe_cents": 1449,
"engagement_rate": 7.43,
"video_views": 96000
},
"deltas": {
"spend_cents": 12.4,
"impressions": 8.1,
"reach": 5.6,
"engagements": -2.3,
"clicks": 14
},
"series": [
{
"date": "2026-10-27",
"spend_cents": 12000,
"impressions": 14800,
"reach": 10200,
"engagements": 790,
"clicks": 104
}
],
"top_accounts": [],
"per_campaign": []
}