Everything the dashboard shows is also available over a read-only API, so you can pull your own figures into a spreadsheet, a report or your own tools.
Read-only means it: there is no way to add a show, change a campaign or manage users through the API. The same is true of the MCP server, which reads through this API rather than beside it.
Your first call#
1. Create a key#
In the dashboard, open API access and create an API key. Copy it straight away — it is shown once and cannot be looked up later.
Account owners and admins can create keys. Give each one a name you will recognise later ("Reporting pipeline", "Noa's laptop"), so you can tell which one to revoke without wondering what will break.
2. Ask the API what it can do#
curl -H "Authorization: Bearer YOUR_KEY" \
https://app.whitebastion.com/api/v1
That returns every available endpoint, what each one answers, and the notes you need in order not to misread the numbers. The API documents itself, so it cannot drift out of date relative to what is actually running.
3. Ask for something real#
curl -H "Authorization: Bearer YOUR_KEY" \
"https://app.whitebastion.com/api/v1/shows"
Your shows, with how each one is doing. From there, the full reference lists all the routes with their parameters.
Dates, paging and rule versions — the options every endpoint takes
| Parameter | Meaning |
|---|---|
from, to |
YYYY-MM-DD, UTC. Defaults to the last 30 days. |
ruleset_version |
Which version of the detection rules to read under. Defaults to the current one; you will rarely need it. |
Lists also take limit (up to 1000) and offset, and always tell you the
total — so a page of 100 results is never mistaken for all of them.
Looking after a key
It is shown once. We store only a hash of it, so we cannot show it to you again and cannot recover it if you lose it. If that happens, revoke it and create another; nothing else is affected.
A key identifies your account and nothing else. Every request returns only your own shows, episodes and campaigns, and there is no parameter that can point it at someone else's data. Treat it like a password: anyone holding it can read your measurement data.
Revoking takes effect immediately — the next request using that key is refused. The key stays in the list afterwards, showing when it was last used and when it was revoked, which is what you need if you are working out whether a leaked key was ever used.
Editors and viewers can read this documentation and use a key they have been given, but not issue one.
What you can read#
- Your library — shows with their feed status, prefix detection and readiness; episodes with publish dates and durations.
- Delivery — per-day and whole-range downloads, measured, verified and invalid traffic, at show and episode level, each with the full requests-to-verified chain behind it.
- Where traffic came from — by app, app version, country, US state and device type.
- Estimated unique listeners — per day, with per-country, per-device and per-app breakdowns.
- Campaigns — deal terms, per-show delivery contributions, spend at risk.
- Unattributed traffic — requests that arrived through your prefix but could not be matched to a show in your library, with the reason for each.
- Anomalies — spikes against a show's own baseline, and standing traffic shape findings.
Before you build a report on it#
Four things work differently here than in a spreadsheet, and each one is there because getting it wrong produces a number we would not stand behind. Worth ten minutes before you write code against it.
An absent figure is null, never 0
Every nullable field comes with a reason in plain English — "no measured
downloads in this range", "this day was digested before identity counts
existed". A zero would say we measured nothing happening; null says we did
not measure.
Rates are withheld below 100 measured downloads
One invalid download out of three is 33%, which looks precise and is not.
Under the floor you get ivtRate: null with ratesSuppressed: true, and the
counts are still there. A withheld rate is not a zero rate.
Unique listeners are estimates, and the API serves no range total
A download is a redirect: it carries no login and no cookie, so a listener is estimated from network and device rather than identified. A shared home connection counts once; one phone on several networks can count more than once.
Uniqueness is worked out within a single day, so adding thirty days together would count a regular listener thirty times. The API gives you an average day and a peak day, and no range total.
The dashboard does show a range total, because it keeps a small sketch of each day's identities and merges them — the one correct way to combine days. That is not served over the API: it would mean publishing an internal format for callers to decode. If you need a range total, read it in the dashboard.
All three breakdowns — country, device and app — do add up to the day's total. A listener is a masked IP plus a hashed user agent, and the app is worked out from that same user agent, so a listener falls in exactly one country, one device type and one app.
What that means in practice: one person running two apps is two listeners, not one listener counted twice. That is the estimate's nature, described above, rather than anything peculiar to the app breakdown.
Figures from different rule versions are not comparable
Download counts are; verdicts are not. Every response carries
rulesetVersionsUsed, and more than one entry means your range spans a
change — GET /api/v1/rulesets shows you where the boundary falls so you can
split the comparison.
What is not available#
- Anything that writes. Adding shows, editing campaigns, inviting users.
- Users, logins, roles and invitations — none of it is readable through either integration.
- Individual requests. The API reports daily aggregates, which is the grain we store for reporting; it does not expose a per-request log.
- The detection signals themselves. As on every other surface, what a classification was based on is not published — see What we measure.
Last reviewed 10 November 2026