/data, /analytics and /reference carries an
X-Credits-Used header: the number of credits that request consumed. Credits are the unit the
API meters usage in, independent of any currency or plan — the same call costs the same number of
credits whoever makes it, and re-pricing changes the schedule, not the header format.
Open beta: reported, not charged. During the observation window the header
tells you what a call consumed so you can see and tune your integration’s
usage. Nothing is deducted from an allowance and no request is rejected for
consumption. Allowances and enforcement follow after the window closes; the
header is how you get ready for them.
Reading the header
0 and absent are deliberately different: 0 means the API metered the call and found it free;
absent means it was never metered.
What a call costs
Cost follows from what the call returns, not from which endpoint you hit:
A
GET /data/companies?limit=25 therefore reports 50 today: every company row is a full profile.
A lighter summary shape priced at 1 per record is planned; when it ships, the header simply reports
the lower number.
Which responses carry it
- Carried: every response — success or error — to a request authenticated with an API key
under
/data/*,/analytics/*and/reference/*, including403,404,429and any400raised once authentication has completed. - Not carried:
/platform/*self-service (account, API keys, usage, teams, lists),/system/*,/health, the API reference itself, the namespace indices (/data,/analytics,/reference), and any response rejected before authentication completes — a401for a missing or invalid token, or the400for an API-key request without itsX-Client-Idheader.
Access-Control-Expose-Headers, so browser-side code can read it:
Remaining balance
There is noX-Credits-Remaining header yet. The API only reports a figure it can compute exactly
on every replica; a remaining balance needs the shared consumption counter that ships with
enforcement. It will be added then, alongside the CREDITS_EXHAUSTED (402) error code, which is
already reserved in the error catalog but is not returned by anything today.
Further reading
Rate limits
How fast you can call the API — a separate control from how much you consume.
Errors
The error envelope and every stable error code, including the reserved 402.