API

Errors and limits

Error codes

StatusCodeWhen
400bad_slug, bad_id, bad_handle, bad_chanceA path or query parameter isn't in the right shape.
404not_foundNo event, call or person matches. Private profiles and friends-only calls also return this.
429rate_limitedMore than 120 requests in a minute from one IP. Wait for x-ratelimit-reset (Unix seconds).
500server_error, query_failedOur fault. Try again in a moment.
503unavailableRecords can't be read right now. Market endpoints still work.
An error
{ "ok": false, "error": { "code": "not_found", "message": "No one with that handle." } }

When Polymarket is down

Market endpoints return "live": false with a few sample markets so your app doesn't break. Don't show or record anything from a non-live response as real.

Fair use

Poll live endpoints no more than every 15 seconds; that's how often they change. Cache what you can. If you need more than 120 a minute, get in touch.

Errors and limits · Docs · Backd