Limits and units
Two limits per key, the same on every plan.
| Limit | Value | Resets |
|---|---|---|
| Requests per minute | 60 | Every minute |
| Units per day | 20,000 | 00:00 UTC |
What each call costs
| Call | Units |
|---|---|
| Most calls | 1 |
GET /v1/market/{world} (whole world) | 10 |
GET /v1/market/{world}/items/{item_id}/history | 2 |
GET /v1/openapi.json | 0 |
Answers 304, 401, 409 and 503 | 0 |
Headers
| Header | Meaning |
|---|---|
X-RateLimit-Limit | Requests allowed per minute in this bucket. |
X-RateLimit-Remaining | Requests left in the current minute. |
X-RateLimit-Reset | When the minute bucket is full again (Unix time, in seconds). |
X-Quota-Limit | Units allowed per UTC day. |
X-Quota-Remaining | Units left today. |
X-Quota-Reset | The next 00:00 UTC (Unix time, in seconds). |
X-Units-Charged | Units charged by this call. |
X-Request-Id | The id of this call; quote it when you report a problem. |
ETag | Send it back in If-None-Match to get 304 when nothing has changed. |
Retry-After | Seconds to wait, on 429, on 503 and on a KEY_LOCKED with an end time. |
When you reach a limit
429 RATE_LIMITED: over 60 requests in a minute. WaitRetry-After.429 QUOTA_EXCEEDED: today’s units are used up; they come back atresets_at(00:00 UTC).503 BUSY: the server is busy or the world has no data ready yet. WaitRetry-Afterand retry, for 0 units.
A key that keeps calling after
429 may be locked for a while (403 KEY_LOCKED, reason rate_abuse).Polling well
GET /v1/worlds: at most once every 5 minutes.- Download a world again only when its
world_updated_atchanges, always withIf-None-Match(a304costs 0 units). - Need one item?
GET /v1/market/{world}/items/{item_id}costs 1 unit; the whole world costs 10.
Pagination
Lists such as GET /v1/items and GET /v1/coins/p2p take limit (1 to 100, default 50) and return meta.next_cursor; pass it as cursor for the next page (null on the last).
Versions
v1 only grows, with new endpoints and fields. Breaking changes go to /v2, and v1 then announces its end with the Deprecation and Sunset headers.