> ## Documentation Index
> Fetch the complete documentation index at: https://docs.therundown.io/llms.txt
> Use this file to discover all available pages before exploring further.

# List all sportsbooks (alias)

> List sportsbook reference data through the V1 sportsbooks alias. Review request parameters and the documented response.

The response without query parameters keeps the existing fields and overall book
`status`. Status values include `healthy`, `unhealthy` and `beta`; treat any
unrecognized value as unknown. Health labels do not filter odds responses.

| Parameter | Effect |
| - | - |
| `include=regions` | Adds geographic region tags. |
| `include=sports` | Adds `sports[]` rows containing only `sport_id`, `status` and `since`. |
| `sport_id=12` | Sets each affiliate's `status` for sport 12 and adds `"status_scope":"sport"`. |

Combine includes with `include=regions,sports` or
`include=regions&include=sports`. `sport_id` does not filter affiliates or
`sports[]`. Without `status_scope`, `status` describes the book overall.

When a successful lookup has no stored row for the requested sport, its scoped
status defaults to `healthy`, including for an unknown positive sport ID. This fallback
does not prove sport coverage. No sport row is synthesized. Protected books (19, 22, 23) remain healthy in sport responses,
except when an explicit unhealthy whole-book restriction applies to BetMGM (22).
Beta integrations remain beta. That unhealthy restriction also applies to
`sports[]`; its `since` timestamp is the whole-book status-change time in UTC,
or null if unavailable. Otherwise, `since` is the UTC sport status-change
timestamp, or null when unavailable. An empty `sports[]` means no stored sport
proof. Reference data and health are cached for up to 15 seconds.

Supply exactly one positive integer `sport_id` in the range 1–4294967295.
Empty, repeated, negative, zero and non-integer values return HTTP 400.
Database read failures return HTTP 500 instead of the missing-row fallback.

Example request: `GET /api/v1/affiliates?include=sports&sport_id=12`.

```json theme={null}
{
  "affiliates": [
    {
      "affiliate_id": 3,
      "affiliate_name": "Pinnacle",
      "affiliate_url": "https://www.pinnacle.com/en/rtn",
      "status": "unhealthy",
      "status_scope": "sport",
      "sports": [
        {"sport_id": 12, "status": "unhealthy", "since": "2026-10-23T17:19:00Z"}
      ]
    }
  ]
}
```


## OpenAPI

````yaml openapi.yaml GET /api/v1/sportsbooks
openapi: 3.1.0
info:
  title: TheRundown Sports API
  version: 2.0.0
  description: >
    **Resolve the event first.** Ambiguous date, team, player, or timezone? The
    agent asks instead of guessing.


    **Every price carries evidence.** Event, market, affiliate ID, line, and the
    price update time. A fetch time is not freshness.


    **Missing stays missing.** No remembered odds, no synthetic prices, no
    filled gaps.


    **IDs come from the API.** Sports, markets, and affiliates are discovered at
    runtime. Retired affiliates stay out.


    Real-time and historical sports data API: odds, lines, scores and statistics
    across major North American and international sports leagues.


    ## Authentication

    All endpoints (except `/sports` and `/affiliates`) require authentication.
    Send your API key from a private server-side environment variable in the
    `X-TheRundown-Key` header.

    The query-key security scheme is retained for compatibility with existing
    integrations and deprecated for new integrations; do not put keys in URLs,
    prompts, browser bundles, or public code.

    ## Off-the-Board Sentinel Value

    The value **0.0001** indicates a line is "off the board": the sportsbook has
    temporarily removed pricing (e.g., pending injury news). This is NOT an
    error. Display as "Off Board" or "N/A" in your UI.


    ## Rate Limiting

    Requests are rate-limited per API key tier. Check response headers for
    current limits.


    ## Data Updates

    - Live odds update in real-time during games

    - Use delta endpoints for efficient polling of changes

    - WebSocket connections available for streaming updates


    ## V1 vs V2

    V2 endpoints use market-based data structures (market_id, participants, line
    prices). V1 endpoints use legacy line-based structures (moneyline, spread,
    total objects). V2 is recommended for new integrations.
  contact:
    name: TheRundown API Support
    url: https://therundown.io
    email: support@therundown.io
  termsOfService: https://therundown.io/terms
servers:
  - url: https://therundown.io
    description: Production
security:
  - ApiKeyHeader: []
tags:
  - name: V2 Sports
    description: Sport listings, dates, and teams (V2)
  - name: V2 Events
    description: Events with market-based odds (V2)
  - name: V2 Markets
    description: Market definitions, odds, deltas, and history (V2)
  - name: V2 Futures
    description: >-
      Futures/outright competition events: championship and tournament-winner
      boards (V2, early access)
  - name: V2 Teams
    description: Team data, players, and stats (V2)
  - name: V2 Players
    description: Player data (V2)
  - name: V2 Stats
    description: Team and player statistics (V2)
  - name: V2 WebSocket
    description: Real-time streaming via WebSocket (V2)
  - name: V2 Reference
    description: 'Reference data: affiliates, sportsbooks, season types (V2)'
  - name: V1 Events
    description: Events with line-based odds (V1 legacy)
  - name: V1 Lines
    description: Moneyline, spread, total, best-line endpoints (V1 legacy)
  - name: V1 Sports
    description: Sport listings, dates, events, schedules (V1 legacy)
  - name: V1 Delta
    description: Delta/change feeds (V1 legacy)
  - name: V1 Reference
    description: Reference data (V1 legacy)
  - name: V1 WebSocket
    description: Real-time streaming via WebSocket (V1 legacy)
externalDocs:
  description: Build with AI guide
  url: https://therundown.io/build-with-ai
paths:
  /api/v1/sportsbooks:
    get:
      tags:
        - V1 Reference
      summary: List all sportsbooks (alias)
      description: >-
        Returns currently published sportsbook IDs, names, URLs and overall
        status. With sport_id, status is sport-scoped and status_scope is sport.
        include=sports adds sport_id, status and since for each stored sport
        row; combine with include=regions. Responses without parameters are
        unchanged. Status data is cached for up to 15 seconds. Treat unknown
        status values as unknown. Health labels do not filter odds. No
        authentication required.
      operationId: v1GetSportsbooks
      parameters:
        - name: include
          in: query
          description: >-
            Optional regions and/or sports; combine as include=regions,sports or
            repeat the parameter.
          schema:
            type: array
            items:
              type: string
              enum:
                - regions
                - sports
          style: form
          explode: false
        - name: sport_id
          in: query
          description: >-
            One positive sport ID. Scopes each affiliate status to that sport
            and adds status_scope=sport. When a successful lookup has no stored
            row for the requested sport, its scoped status defaults to healthy,
            including for an unknown positive sport ID. This fallback does not
            prove sport coverage. No sport row is synthesized. Held books (19,
            22, 23) remain healthy except when an explicit unhealthy whole-book
            restriction applies to BetMGM (22). Beta integrations remain beta.
            Unknown positive IDs are accepted. Does not filter affiliates or
            sports[]. Empty, repeated, non-integer or out-of-range IDs return
            400. Database read failures return 500 instead of the missing-row
            fallback.
          schema:
            type: integer
            minimum: 1
            maximum: 4294967295
      responses:
        '200':
          description: List of sportsbooks
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AffiliatesResponse'
              example:
                affiliates:
                  - affiliate_id: 3
                    affiliate_name: Pinnacle
                    affiliate_url: https://www.pinnacle.com
                    status: healthy
                  - affiliate_id: 7
                    affiliate_name: BookMaker
                    affiliate_url: https://www.bookmaker.eu/
                    status: healthy
                  - affiliate_id: 9
                    affiliate_name: BetCRIS
                    affiliate_url: https://sportsbook.betcris.com/
                    status: healthy
                  - affiliate_id: 19
                    affiliate_name: Draftkings
                    affiliate_url: https://sportsbook.draftkings.com
                    status: healthy
                  - affiliate_id: 31
                    affiliate_name: Polymarket US
                    affiliate_url: https://polymarket.us/
                    status: healthy
                  - affiliate_id: 32
                    affiliate_name: Circa Sports
                    affiliate_url: https://www.circasports.com/
                    status: healthy
                  - affiliate_id: 33
                    affiliate_name: Bet105
                    affiliate_url: https://bet105.ag/
                    status: healthy
                  - affiliate_id: 34
                    affiliate_name: Heritage Sports
                    affiliate_url: https://ppm.heritage.linepros.com/
                    status: healthy
                  - affiliate_id: 35
                    affiliate_name: Caesars Sportsbook
                    affiliate_url: https://sportsbook.caesars.com/
                    status: healthy
        '400':
          description: Invalid sport_id; supply exactly one positive integer.
      security: []
components:
  schemas:
    AffiliatesResponse:
      type: object
      properties:
        affiliates:
          type: array
          items:
            $ref: '#/components/schemas/Affiliate'
    Affiliate:
      type: object
      properties:
        affiliate_id:
          type: integer
          example: 19
        affiliate_name:
          type: string
          example: Draftkings
        affiliate_url:
          type: string
          example: https://draftkings.com
        status:
          type: string
          description: >-
            Overall book health unless status_scope is sport. Current values are
            healthy, unhealthy and beta; treat unknown values as unknown.
          example: healthy
        status_scope:
          type: string
          enum:
            - sport
          description: Present only when sport_id scopes status to one sport.
        sports:
          type: array
          description: >-
            Stored per-sport health rows, present only with include=sports. An
            empty array means no stored sport proof, not healthy coverage. Held
            books (19, 22, 23) remain healthy except when an explicit unhealthy
            whole-book restriction applies to BetMGM (22). Beta integrations
            remain beta.
          items:
            $ref: '#/components/schemas/AffiliateSportStatus'
        regions:
          type: array
          items:
            $ref: '#/components/schemas/Region'
    AffiliateSportStatus:
      type: object
      additionalProperties: false
      required:
        - sport_id
        - status
        - since
      properties:
        sport_id:
          type: integer
          description: Sport identifier.
        status:
          type: string
          description: Sport health / rollout status; treat unrecognized values as unknown.
        since:
          type: string
          nullable: true
          format: date-time
          description: >-
            UTC timestamp of the effective status change; null when unavailable.
            During an explicit unhealthy whole-book restriction on BetMGM (22),
            this is the whole-book status-change time.
    Region:
      type: object
      properties:
        id:
          type: integer
        name:
          type: string
  securitySchemes:
    ApiKeyHeader:
      type: apiKey
      in: header
      name: X-TheRundown-Key
      description: Recommended API key request header for new integrations

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.