Skip to content
alltcgapi.com

Docs

Rate limits & credits

What a request costs, how fast you can go, and what the headers say.

Two things are counted for an account: how fast it calls, and how many credits it spends.

Credits

RequestCost
A card, set or sealed product by id1
The prices of a card or a sealed product2
The prices of up to 25 items in one request4
The price history of a card or a sealed product5
A list of games or sets1
A list of cards or sealed products1 per 50 rows requested
/v1/me and the public routes0
Any 4xx, 5xx or 304refunded

The cost is charged before the request runs and given back if the response carries no data. An error never costs a credit.

Headers on every response

HeaderMeaning
X-Credits-CostWhat this request cost.
X-Quota-LimitCredits in your period.
X-Quota-RemainingCredits left after this request.
X-Quota-ResetWhen a paid period renews. Absent on the trial.
RateLimit-LimitRequests per second on your plan.
RateLimit-RemainingRequests left in the current second.
Retry-AfterOn a 429: seconds to wait.

Rate

Each plan has a limit per second, per minute, and on requests in flight at once. Going over returns 429 with Retry-After. A refused request is not counted against you.

The trial

The trial is 800 credits in total, with at most 200 a day. When it is used up the API returns 403 TRIAL_EXPIRED. There is no Retry-After on that response, because the credits do not come back.

NextErrors