Docs
Limits and errors
What each call costs, what your plan includes, and what to do with every error.
What a call costs
Nothing is charged today. There is no checkout yet, so every key sits on the free plan. The rest of this page is how we keep the count, which does not change once money attaches to it. See pricing for the plans.
We count usage in answers; one answer is up to ten moments in one reply, so asking for fifty at once costs five. The count follows the k or limit you send, so work out what a call costs before you make it.
- GET
/v1/searchOne answer per ten moments: ceil(k ÷ 10) - GET
/v1/whenOne answer per ten moments: ceil(limit ÷ 10) - GET
/v1/pathsOne answer, however many moments you send - GET
/v1/after/{topic}One answer, however many events the topic has - GET
/v1/moment/{at}One answer - GET
/v1/normalOne answer
Everything else costs nothing: assets, topics, events, prices, news, plans, spell, across and status. They describe the catalogue instead of reading from it. The reference marks each one.
Will it fit
We never bill past the allowance. We refuse the call instead, and the month turns over at 00:00 UTC on the first. So ask whether a run fits, not what it costs.
| Reading a year of one asset | Answers | Free | Research | Production |
|---|---|---|---|---|
| once a day | 365 | 2.7 years | 274 years | 1,643 years |
| once an hour | 8,760 | 42 days | 11.4 years | 68 years |
| every 15 minutes | 35,040 | 10 days | 2.9 years | 17 years |
| every 5 minutes | 105,120 | 3 days | 347 days | 5.7 years |
Read that at k=8, where one call is one answer. Raise k and the whole column multiplies: k=20 doubles it, k=50 is five times. A year read hourly at k=50 takes 43,800 answers, so Research covers 2.3 years of sample rather than 11.
Ask the same moment twice and you pay twice. A past moment never changes, so cache the answer on your side by (asset, at, scale, k) and a re-run costs you nothing.
What every answer tells you
Every call that costs something hands back what it cost and what you have left. Read the meter from your own code instead of opening a browser.
X-Answers-Cost: 5
X-Answers-Limit: 1000
X-Answers-Remaining: 743
X-Answers-Reset: 2026-11-01T00:00:00ZX-Answers-Costis what this call took. It is the same number you work out from your ownkbefore you send it.X-Answers-Remainingalready has this call taken off it. A plan with no monthly limit sends neither it norX-Answers-Limit.X-Answers-Resetis when the month turns: 00:00 UTC on the first.- A free endpoint sends none of these. It counts against nothing.
Running out
- Two limits, two ways to hit 429. One is the month's allowance, the other is how many answers a second your plan may ask for. Branch on
X-Answers-Reason, which israteormonth, instead of reading the sentence indetail. - Wait the number of seconds in
Retry-After, then send the call again. For the per-second limit that is a moment. For the monthly one it is the rest of the month. - The month's count resets at 00:00 UTC on the first. See what each key has spent, by day, in your account.
- We write down a refused call with a cost of zero, so a month of
429s shows in your usage without spending anything. Treat it as the clearest sign a plan is the wrong size.
Plans
See pricing for the allowances, the rates and what you may do with an answer. This page covers how we keep the count and what comes back when it runs out.
Errors
| Code | Means | Do |
|---|---|---|
400 | We cannot answer the question as asked | The response says which parameter is wrong and why. |
401 | Missing key, or not one of ours | See authentication. |
403 | Valid key, but your plan does not cover this | Compare plans on pricing. |
404 | No such moment, topic or event | Nothing to do with your key. |
422 | The time range has no market data | A window covering hours when the market was closed is rejected. |
429 | Out of answers, or too many at once | Wait the number of seconds in Retry-After. |
503 | The engine is not responding | Retry after 60 seconds. Nothing was counted against your quota. |
{
"detail": "This endpoint needs an API key.
Send it as `Authorization: Bearer pc_live_…`."
}Every error is JSON with a detail field that tells you what to do next, not just that the call failed. Branch on the status code and log detail.
Retry 429 and 503. Never retry 400, 401, 403, 404 or 422: they say the same thing however many times you ask. See the quickstart for a worked retry.