Errors and limits

{
  "error": {
    "code": "book_not_in_plan",
    "message": "Your Starter plan does not include 'circa'.",
    "fix": "Remove 'circa' from books= or upgrade to Growth.",
    "docs_url": "https://pricedodds.com/docs/errors#book_not_in_plan",
    "request_id": "req_x1y2z3"
  }
}
codefix
missing_keyNo key sent. Use the Authorization header.
invalid_keyKey not recognised. Copy it again or create a new one.
trial_expiredYour trial ended. Choose a plan.
payment_requiredSubscription not active. Update payment.
plan_lacks_wsYour plan has no WebSocket. Add it, choose All-Access, or poll /v1/changes.
book_not_in_planYou asked for a book outside your plan. Remove it or upgrade.
unknown_bookUse an id from /v1/books.
unknown_marketUse a key from /v1/markets.
unknown_leagueUse an id from /v1/leagues or /v1/sports; did_you_mean lists the closest ones.
event_not_foundUse an evt_ id from /v1/events.
invalid_paramCheck the parameter format.
too_many_booksYour plan includes fewer books; send at most max_books ids or upgrade.
book_change_too_soonBook selection changes once every 24 h; retry after next_change_at.
rate_limitedWait Retry-After seconds. Use the WebSocket for real time.
cursor_expiredRefetch a snapshot and continue from its cursor.
data_temporarily_unavailableA data source is degraded; affected_books lists which. Retry shortly.
not_foundUnknown endpoint.
unknown_sportUse a sport id from /v1/sports; did_you_mean lists the closest ones.

Suggestions: did_you_mean

unknown_sport, unknown_league, unknown_market and unknown_book carry did_you_mean, a list of the closest valid ids, and repeat it in fix. The same errors arrive as error frames on the WebSocket and as tool errors over MCP.

{
  "error": {
    "code": "unknown_sport",
    "message": "Unknown sport 'socer'.",
    "fix": "Did you mean soccer? Use a sport id from GET /v1/sports, e.g. basketball, soccer, tennis.",
    "docs_url": "https://pricedodds.com/docs/errors#unknown_sport",
    "request_id": "req_...",
    "did_you_mean": [
      "soccer"
    ]
  }
}

Warnings: unknown parameters

An unknown query parameter does not fail the request: it is ignored and reported in a warnings array next to data, with the accepted parameters or the one you probably meant.

{
  "data": [
    "..."
  ],
  "asOf": "...",
  "warnings": [
    "Unknown parameter 'event' was ignored. Did you mean 'event_id'?"
  ]
}

Rate limits

PlanRequests/secondWebSocket connections
Solo11
Starter31
Growth52
All-Access103

Headers on every response: RateLimit-Limit, RateLimit-Remaining, RateLimit-Reset, X-Request-Id, X-Data-As-Of; Retry-After on 429.