Read fields from the live responses rather than assuming names — overview and
leaderboard payloads carry the metrics you’ll quote. You’ll need an API key first —
see API setup or grab one from the API keys
page.
Fetch the weekly overview
GET /v2/overview returns organization-level figures for a period of 7d, 30d, or
90d. Use 7d for a week-over-week recap.Fetch the week's top movers
GET /v2/creators/top?period=7d ranks your creators over the same window. These are the
movers you’ll spotlight in the digest.GET /v2/creators/top caps limit at 25. A handful (five or so) usually reads
best in a digest.Build the Markdown message
Assemble a short Markdown string from the two payloads. Read the metric fields off the
live shapes — quote what’s actually there rather than hard-coding a structure.
Schedule it
Run the script on a timer so the digest arrives the same time each week. A weekly cron entry — say Monday at 09:00 — is the simplest option:Agent recipes
The same overview-plus-leaderboard pattern, framed as an agent task.
Data freshness
When metrics land, and how to time scheduled jobs around it.
Analytics dashboard
The headline figures, rendered in the app.