Skip to main content
Rate limits are enforced by the REST API and counted in three kinds of independent bucket (plus a few fleet-wide buckets shared by all callers of one route, marked fleet-wide in the tables):
  • ip — per source IP (behind the ingress; respects X-Forwarded-For set by the trusted load balancer). Cheap edge defence that applies to anonymous and authenticated traffic alike. An IPv6 caller is counted per /64 prefix, not per address, so every address in one /64 shares a bucket. IPv4 is counted per address.
  • wallet — per your key’s associatedWallet (single_wallet partners) or per the X-User-Wallet header value (multi_wallet partners). Prevents a single wallet identity from exceeding the platform’s per-user ceiling regardless of how the calls are distributed across your keys.
  • partner — per partner, shared by all of your API keys (for example GET /api/platform/maintenance, /status, /notices and POST /api/partners/limits). Scaled by your rate tier like wallet buckets.
Every bucket that applies to an endpoint (see the tables below) must pass. The first exhausted bucket returns 429, with Retry-After set to that bucket’s wait. The X-RateLimit-Limit / -Remaining / -Reset headers describe the endpoint’s own bucket (the wallet bucket where one applies), not necessarily the tightest one. On a GET /api/events request charged the list cost buckets (see Market data), the headers show the tightest of the shared events-ip bucket and the per-IP and (with a session) per-wallet cost buckets; the fleet-wide cost buckets never set them when they allow the call (RND-4969). A shared ip bucket, such as the 30000/min bucket that every /api/orders/* call from one IP counts against, can run out while these headers still show wallet headroom. If many wallets trade from one IP, budget for the ip buckets yourself. On the cancel routes (POST /api/orders/cancel, cancel-batch, cancel-all) a 429 rate_limited can also come from the exchange itself; when it carries no wait hint it has no Retry-After, so back off briefly (for example 1 second, doubling). A cancel-batch refused with 400 still used a token of its wallet bucket and of the shared /api/orders/* ip bucket (RND-4822). Your partner record carries a rate tier (rateLimitPerMin, default 600). On API-key requests it scales every wallet-scoped limit in the tables below: effective limit = floor(listed limit × rateLimitPerMin / 600), minimum 1. The default 600 gives the listed values; 1200 doubles them, except as noted next. ip-scoped limits are the same for every caller and are never scaled. Two kinds of wallet bucket can be lowered by a rate tier below 600 but are never raised by a higher one: the 2FA limits under /api/me/withdrawal-security/totp/*, and the shared portfolio bucket on the portfolio routes listed in its row in the Portfolio table below (RND-4019). The vault-transfer routes in that same row count against the same bucket, and on those a higher tier still raises it. Partner multiplier on the wallet bucket. The rateLimitPerMin column does act as a multiplier on the wallet-scoped buckets your key transits (a multiplier above 1× does not raise the 2FA buckets, or the shared portfolio bucket on the portfolio routes, named above). The baseline is 600 = 1×; a partner set to 1200 = 2× doubles the other wallet-bucket limits in the tables below (e.g. place 100/s → 200/s, orders-open 600/min → 1200/min); a partner set to 60 = 0.1× divides them by 10. The multiplier applies on top of the values shown — those are the baseline wallet limits for a partner at 1×. IP-scoped limits are not affected by the multiplier.

Limits

Order placement / cancellation and the vault split / merge / convert signatures use per-second wallet limits (anti-burst); other paths use per-minute windows (a few, such as PUT /api/me/auto-redeem, longer). The two scopes (ip and wallet) are independent — each request must pass every applicable bucket.

Trading (writes)

Order reads

Market data

Portfolio (/me/*)

Discovery

Public profiles

Platform

Limits above are production values recorded on 2026-05-26 (the /api/orders/*, markets, events, tags, challenges, verticals, upcoming, activity, crypto-series, long-series and public-profile ip limits were read again on 2026-11-25; the POST /api/orders/place and /place-batch wallet limits, 100/s and 12/s against code defaults of 20/s and 8/s, set on 2026-12-04), except the rows marked code default; production value not confirmed: those show the limit set in code, not checked against production. Operations adjusts the wallet-scoped limits via Vault patch + pod restart without code change — the numbers shown may drift up or down by a small factor on short notice. Your onboarding runbook contains the authoritative table for the environment you are connected to. The boot log line RATE_LIMIT_OVERRIDES loaded N override(s): ... on every core-api pod is the source of truth at any given moment.

Counter behaviour

Most buckets are fixed windows: the window starts with the first request and the count resets when it ends. The wallet buckets of POST /api/orders/place, /place-batch, /cancel and /cancel-batch are token buckets instead: the listed limit is the burst size, and it refills continuously at limit ÷ window (for place, a burst of 100, then 100 per second sustained). Every request you make either decrements X-RateLimit-Remaining or, once the bucket is empty, reports a real countdown to refill. ip buckets key on the real client IP, not the immediate TCP peer. We honour X-Forwarded-For from the trusted ingress hop, so each client is bucketed by the public IP it connects from, not by the platform’s own edge proxies. Clients that share one public egress IP (a corporate proxy or NAT) share one ip bucket. If your traffic transits an extra proxy hop your onboarding manager hasn’t seen, raise it during integration so we can adjust the trusted-hop count. These public read buckets keyed by IP, and the fleet-wide GET /api/activity/recent and events-uncached-global buckets, wait for the shared counter only for a short budget (10 ms by default):
  • Markets: markets-ip (the shared /api/markets bucket), markets-live-batch and markets-live-single (/api/markets/live, /api/markets/:symbol/live), markets-top-movers, markets-trades, markets-traders, markets-traders-by-outcome, markets-ohlc, markets-price-history, markets-crypto-price-history.
  • Crypto series: crypto-series-ip (GET /api/crypto-series/:id/windows), crypto-long-series-ip (GET /api/crypto-long-series/:id/periods).
  • Events and discovery: events-ip, events-featured (GET /api/events/featured), events-uncached-ip and events-uncached-global (two of the GET /api/events cost buckets), global-activity-ip, global-activity-global, leaderboard-ip, leaderboard-search, search-ip, tags-ip, upcoming-ip, verticals-ip.
  • Public profiles: public-profile-ip (the GET /api/users/* reads) and public-portfolio-overview-ip (the two /portfolio/overview reads).
  • Challenges: challenges-global-ip (GET /api/challenges), challenges-list-ip and challenges-detail-ip (GET /api/markets/:symbol/challenges, /challenges/:id).
  • Platform: platform-ip (GET /api/platform/contracts, /fee-config), platform-contracts-ip, and the bucket of GET /api/platform/maintenance/unsubscribe.
If the counter has not answered within the budget (and by the time the request’s other limit checks finish), the request goes through without that bucket’s X-RateLimit-* headers; the request is still counted, and if the late answer is a refusal, that server instance refuses the bucket for the caller until its window resets. Every other bucket in the tables on this page waits for the counter, including the wallet and partner buckets and the shared /api/orders/* ip bucket, whose own wait budget is off by default. 304 Not Modified on GET /api/markets/:slug. On this route only, a conditional request (If-None-Match) answered 304 Not Modified gives its unit of the shared markets-ip bucket back, up to 2400 refunds per IP per window by default. A client revalidating many markets with their ETags can therefore run up to the markets-ip limit (1200/min) plus the refund allowance of such requests a minute from one IP before a 304 is charged again. A request with If-None-Match: * is never refunded, even when it is answered 304: send the market’s ETag. Every other /api/markets/* route (including /orderbook and /executable-price) charges every request, 304 or not.

Response headers

Every rate-limited response includes:
  • X-RateLimit-Reset is delta-seconds, not a Unix epoch. On fixed-window buckets it is the seconds until the window resets (60 means “the limit resets in 60 seconds”). On the token-bucket order endpoints it is 0 while you still have budget and, on a 429, the seconds until the next request fits.
  • The HTTP header Retry-After is set to the same delta-seconds on every 429.
  • On 429 Too Many Requests, the response body uses the standard error envelope:
error.retryAfterSec carries the same seconds-to-wait as the Retry-After header, for clients that cannot read response headers.

Retry guidance

  1. On 429: wait Retry-After (header value, in seconds) before retrying. Do not retry sooner — the bucket has not refilled.
  2. Backoff on 5xx: exponential backoff with jitter, starting at 200ms, capped at 10s. Maximum 3 attempts for idempotent calls (GET, DELETE). Never re-sign a write to retry it after a 5xx — a new signature is a second order or withdrawal. Resend the identical request instead. For POST /api/orders/place and /place-batch, the same signed order under the same clientOrderId returns the original result (see placement_unknown in Error codes). For POST /api/withdrawals/request, the same body with the same signed salt never creates a second withdrawal.
  3. Circuit-break on persistent 5xx: if your error rate exceeds 50% over 30 seconds, stop sending new requests for 60 seconds.

Higher limits

Partners with justified high-throughput needs (market makers, volume traders) can request a higher rate tier at onboarding:
  • wallet-scoped ceilings are raised through your partner rate tier (rateLimitPerMin), which scales the wallet-scoped limits together, except the 2FA buckets and the shared portfolio bucket on the portfolio routes, as described at the top of this page.
  • ip-scoped limits are the same for every caller behind an IP; they are not raised per partner or per IP.
  • Platform-wide ceilings cannot be exceeded; they protect the shared matcher.
Contact partners@predictstreet.com with your expected peak throughput profile.