Skip to main content
Each source currently published by TheRundown API is identified by a numeric affiliate_id; these values are returned within odds/line objects and are used with the affiliate_ids filter parameter to request prices from specific books.
These IDs are used in the affiliate_ids query parameter to filter which sportsbooks are included in the response. For example, affiliate_ids=19,23 returns lines from DraftKings and FanDuel only.
Each affiliate’s current integration health is returned by GET /api/v2/affiliates in the status field. Possible values include healthy, unhealthy, and beta. Treat the endpoint as authoritative and handle unrecognized values as unknown rather than hard-coding a status set on the client side. Availability varies by source, sport, and market.

Source identifiers (mapping to a book’s own data)

Two fields link TheRundown objects back to each sportsbook’s own identifiers, so you can join our odds against a book’s native dataset or deep-link into it: Both appear only where the book exposes an identifier — a missing field means that book doesn’t publish one, not an error. The values are book-native and follow each book’s own format.

Polymarket (affiliate 26)

Polymarket identifiers are fully recoverable from our fields. The event-level affiliate_source_ids["26"] is Polymarket’s event slug, and every price’s source_id encodes three identifiers:
Parse it from the right — the event slug itself contains hyphens, but the two trailing fields are purely numeric: the last hyphen-separated field is the CLOB token ID, the second-to-last is the Gamma market ID, and everything before that is the event slug. Worked example — an MLB game total (Over 7.5). Token IDs are long numeric strings (~78 digits); the one below is truncated with … for readability:
  • Gamma market ID → slug + conditionId: GET https://gamma-api.polymarket.com/markets/3672567 returns the market’s slug (mlb-nyy-bal-2026-08-18-total-7pt5), conditionId, question, and clobTokenIds.
  • CLOB token ID → order book: usable directly with Polymarket’s CLOB API (e.g. GET https://clob.polymarket.com/book?token_id=<id>). Polymarket lists each outcome (Over / Under, each team) as its own token, so the token ID also tells you which side of the market our price row represents.
  • Event slug groups all of a game’s markets and matches Polymarket’s own event slug.
So a single Gamma /markets/{id} call on the second-to-last field of source_id gives you the market’s slug and conditionId — no name matching required.

Other books

Formats for other books are their native identifiers as published (for example, DraftKings event IDs in affiliate_source_ids["19"] are DraftKings’ own numeric event IDs). We don’t transform them; consult the book’s documentation for how to use its IDs.

Current integration status

New books surface through the affiliates endpoint. Refresh your reference data regularly and use that response for the current roster and status. The published roster currently reports healthy for every listed book. Availability varies by source, sport, and market.