Skip to content

Limits and headers

Limits are set per key by the pump.fun team. Every key starts at the defaults below. One higher tier is documented, 10 requests per second (600-request bucket) and 1,000,000 per UTC day; ask support for it, or for anything beyond it.

Limit Default How it is measured
Rate (burst window) 2 requests per second A sustained rate with a 60 second bucket: the bucket holds 60 × the per-second rate, refills continuously, and a request is refused when the bucket is empty. At the default you can send 120 requests at once and then 2 per second.
Daily (day window) 50,000 requests A counter per UTC day across all routes. Resets at 00:00 UTC.

The two limits count differently:

  • The rate bucket is debited by every request that passes the key and scope checks, whatever the route then answers. Requests refused for a missing or invalid key, or for a missing scope, do not touch it.
  • The daily counter counts only requests the API answered successfully (2xx or 304). A slot is reserved before the route runs and handed back when the response is anything else (a 4xx, a 5xx or a dropped connection), so refused or failed calls do not spend your daily budget.

The MCP server makes exactly one API request per tool call, so its calls count the same way.

The callout stream has two limits of its own. Opening a connection is one request like any other, and the callouts it delivers are not requests: they do not count against the daily limit, and are capped separately at 250,000 delivered callouts per key per UTC day. A key can hold 2 stream connections at once. The MCP tool get_new_callouts reads that stream, so it counts the same way: one request for the call, and the callouts it returns count against the delivered-callout cap.

A key whose rate or daily limit has been set to 0 is paused: it answers 429 on every request with Retry-After: 60 and the message This key is paused; contact developers@pump.fun, without touching the limiter. To have it unpaused, email developers@pump.fun with the key’s prefix (see Status and support).

The API sets these headers itself. Which of them a response carries depends on how far the request got:

  • X-Request-Id is on every response to a request for a documented route, refusals included. The one exception is a request refused for its browser Origin (see Authentication).
  • x-pump-api-key-id is added once the key has been accepted.
  • The X-RateLimit-* headers are added once the request has also passed the scope check and reached the limiter. They are on every response the route itself gives and on a burst or day 429. A request refused by the key or scope checks (400 API_CREDENTIAL_NOT_ALLOWED, any 401, a 403 with a platform code, an auth or lookup 429) does not carry them, and neither does the 503 described below.
Header Meaning
X-RateLimit-Limit Size of the 60 second bucket (60 × the key’s per-second rate).
X-RateLimit-Remaining The smaller of the requests left in the bucket and the requests left in today’s daily limit. When the daily limit is the tighter one, this number counts down towards it.
X-RateLimit-Reset Unix time in seconds at which the ceiling that X-RateLimit-Remaining reports moves: when the bucket is full again, or 00:00 UTC when the daily limit is the tighter one (and on a day 429).
Retry-After Seconds to wait. Present on 429 and 503 only.
X-Request-Id Request id generated by the API (a UUID). Quote it in support requests. Any X-Request-Id you send is ignored.
x-pump-api-key-id Opaque id of the key that made the request (a UUID, never the key itself). Also useful in support requests.
Cache-Control no-store on every response the route itself gives to a keyed request, and on a burst or day 429: keyed responses are never cacheable by intermediaries.

Deprecated routes add Deprecation, Sunset and Link; see Versioning and deprecation.

A key at the default rate (2 requests per second) makes two calls back to back at 00:00:00 UTC on 1 January 2026 (Unix time 1767225600), with a full bucket. The bucket holds 120 (60 × 2), 118 are left, and the two requests it spent are back one second later, at the Unix second in X-RateLimit-Reset:

HTTP/1.1 200 OK
Content-Type: application/json; charset=utf-8
Cache-Control: no-store
X-RateLimit-Limit: 120
X-RateLimit-Remaining: 118
X-RateLimit-Reset: 1767225601
X-Request-Id: 7d1f0a2e-5b8c-4b1e-9a7f-2c3d4e5f6a7b
x-pump-api-key-id: 3f9c2b1a-4d5e-4f60-8a7b-9c0d1e2f3a4b

Another 118 calls in the same second empty the bucket; the next one is refused. Retry-After is the wait until one more request fits (half a second at 2 per second, rounded up to a whole second), while X-RateLimit-Reset is when the whole bucket is full again, 60 seconds later:

HTTP/1.1 429 Too Many Requests
Retry-After: 1
Cache-Control: no-store
X-RateLimit-Limit: 120
X-RateLimit-Remaining: 0
X-RateLimit-Reset: 1767225660
X-Request-Id: 0b6a3c9e-2f4d-4c1a-8e5b-6d7f8a9b0c1d
x-pump-api-key-id: 3f9c2b1a-4d5e-4f60-8a7b-9c0d1e2f3a4b

After that the key can keep sending 2 requests per second. Every key also has the daily limit, 50,000 requests per UTC day at the default.

A refused request answers 429 with Retry-After and this body:

{
"statusCode": 429,
"timestamp": "2026-01-01T00:00:00.000Z",
"path": "/users/123",
"error": "API_KEY_RATE_LIMITED",
"message": "Rate limit of 120 requests per minute exceeded",
"retryAfterMs": 500,
"limit": 120,
"window": "burst"
}

This is the body for a key at the default rate: limit is the size of the limit that was hit (the 120-request bucket here, the daily limit on a day 429) and retryAfterMs the wait until the next request is accepted. path is the route’s path as the API reference lists it, without the /v1 prefix.

window tells you which limit was hit:

window Meaning What to do
burst The 60 second bucket is empty. Wait retryAfterMs (usually under a second at the default rate).
day The UTC-day counter reached the daily limit. The message reads Daily limit of 50000 requests reached; resets at 00:00 UTC and X-RateLimit-Reset points at that midnight. Wait until 00:00 UTC (Retry-After says how long), or ask for a higher daily limit.
auth Too many failed keys from your IP address (60 per 10 minutes). Only unknown, malformed, revoked, suspended or not-yet-approved keys count. Fix the key you are sending; valid keys are never throttled this way.
lookup Too many uncached key lookups from your IP address (600 per 10 minutes). A recognised key is cached for five minutes, so steady traffic with a few keys never reaches this; a flood of distinct keys from one address does. Reuse your keys instead of sending many different ones from one address.

If the API cannot check a key or its limits because a backing store is unavailable, keyed requests fail closed with 503 and Retry-After: 5. The body is a fixed envelope with no error field:

{
"statusCode": 503,
"timestamp": "2026-01-01T00:00:00.000Z",
"path": "/users/123",
"message": "API platform temporarily unavailable; retry after 5s",
"retryAfterSeconds": 5
}

Retry after the interval with the same request; do not retry in a tight loop.

  • Read X-RateLimit-Remaining and slow down before you hit 0 instead of reacting to 429s.
  • Honour Retry-After on both 429 and 503.
  • Use one key per deployment (dev, prod) so one noisy environment does not consume another’s budget.
  • Batch where a route supports it (for example POST /users/batch instead of many GET /users/{id} calls): one request is one unit regardless of batch size.