> ## 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.

# V2: Get public schedule and finals

> Get a keyless cached schedule without odds or bookmaker data: upcoming/in-progress games today through six days ahead, plus completed games from the past seven days in America/Chicago.

## Endpoint details

Get a keyless cached schedule without odds or bookmaker data: upcoming/in-progress games today through six days ahead, plus completed games from the past seven days in America/Chicago. Coupe de France (sport 45) looks 21 days ahead. FBS/Division I filters apply to NCAAF/NCAAB. Snapshots are built in five-minute generations; the newest available generation within 30 minutes may be served. Scope query filters are ignored. No authentication or data-point billing applies. Sport/tournament and book allowlists are fixed; requesting a wider scope does not expand them.

## Example response

Examples are shortened for readability; counts retain the source values.

```json 200 theme={null}
{
  "meta": {
    "sport_id": 4,
    "as_of": "2026-12-05T01:00:00Z",
    "from": "2026-11-27",
    "to": "2026-12-10",
    "timezone": "America/Chicago"
  },
  "upcoming": [
    {
      "event_id": "1a8bcd066bbf23306db3403ae621f279",
      "sport_id": 4,
      "event_date": "2026-12-05T00:00:00Z",
      "score": {
        "event_status": "STATUS_IN_PROGRESS",
        "venue_name": "State Farm Arena",
        "venue_location": "Atlanta, GA",
        "broadcast": "Prime Video"
      },
      "teams_normalized": [
        {
          "team_id": 4,
          "name": "Philadelphia",
          "mascot": "76ers",
          "abbreviation": "PHI",
          "ranking": 99,
          "record": "18-5",
          "is_away": true,
          "is_home": false,
          "conference": {
            "conference_id": 39,
            "name": "Eastern Conference"
          },
          "division": {
            "division_id": 15,
            "name": "Atlantic"
          }
        }
      ],
      "schedule": {
        "season_year": 2027,
        "season_type": "Regular Season",
        "event_name": "NBA Cup - Quarterfinals - Philadelphia at Atlanta - 2026-12-05T00:00:00Z",
        "event_headline": "NBA Cup - Quarterfinals"
      }
    }
  ],
  "finals": [
    {
      "event_id": "99e2f509ea6bf3d3d859db03587e4da2",
      "sport_id": 4,
      "event_date": "2026-12-04T03:00:00Z",
      "score": {
        "event_status": "STATUS_FINAL",
        "event_status_detail": "Final",
        "venue_name": "Moda Center",
        "venue_location": "Portland, OR",
        "broadcast": "KUNP 16",
        "score_away": 109,
        "score_home": 118,
        "winner_away": 0,
        "winner_home": 1
      },
      "teams_normalized": [
        {
          "team_id": 20,
          "name": "Utah",
          "mascot": "Jazz",
          "abbreviation": "UTAH",
          "ranking": 99,
          "record": "5-18",
          "is_away": true,
          "is_home": false,
          "conference": {
            "conference_id": 757,
            "name": "Western Conference"
          },
          "division": {
            "division_id": 18,
            "name": "Northwest"
          }
        }
      ],
      "schedule": {
        "season_year": 2027,
        "season_type": "Regular Season",
        "event_name": "Utah at Portland - 2026-12-04T03:00:00Z"
      }
    }
  ]
}
```

## Response fields

| Field | Type | Description |
| - | - | - |
| `meta` | object | Response source, freshness, result count and diagnostic metadata. |
| `meta.sport_id` | integer | TheRundown sport or league identifier; see the Sports reference. |
| `meta.as_of` | string | UTC generation time of this cached public snapshot; individual record timestamps retain their own meaning. |
| `meta.from` | string | First date included in the snapshot, in its declared timezone. |
| `meta.to` | string | Last date included in the snapshot, in its declared timezone. |
| `meta.timezone` | string | Timezone used to choose the snapshot’s calendar-day window (America/Chicago). |
| `upcoming` | array | Upcoming or in-progress schedule entries within the public window; no live odds are attached by the schedule list. |
| `upcoming[].event_id` | string | TheRundown event identifier. |
| `upcoming[].sport_id` | integer | TheRundown sport or league identifier; see the Sports reference. |
| `upcoming[].event_date` | string | Scheduled event start in UTC. |
| `upcoming[].score` | object | Event status, scores and venue/broadcast metadata available for this snapshot. |
| `upcoming[].teams_normalized` | array | Normalized teams or competitors for the event. |
| `upcoming[].schedule` | object | Season and fixture metadata. |
| `finals` | array | Completed events from the public schedule’s lookback window. |
| `finals[].event_id` | string | TheRundown event identifier. |
| `finals[].sport_id` | integer | TheRundown sport or league identifier; see the Sports reference. |
| `finals[].event_date` | string | Scheduled event start in UTC. |
| `finals[].score` | object | Event status, scores and venue/broadcast metadata available for this snapshot. |
| `finals[].teams_normalized` | array | Normalized teams or competitors for the event. |
| `finals[].schedule` | object | Season and fixture metadata. |


## OpenAPI

````yaml openapi.yaml GET /api/v2/public/schedule/{sportID}
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

    Operations marked keyless do not require an API key. All other operations
    accept the `X-TheRundown-Key` header or the legacy `key` query parameter.
    Prefer a private server-side environment variable and the header; avoid
    exposing credentials in URLs or browser assets.


    ## RapidAPI compatibility

    `/api/v1/v2/*` is an alias of `/api/v2/*` for RapidAPI integrations. These
    aliases use the same V2 handlers and response representations; the canonical
    V2 paths are documented once here.


    ## 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)
  - name: V2 Odds
    description: Best prices, line movement, consensus and same-book parlay calculations.
  - name: V2 Promotions
    description: Source-reported sportsbook odds boosts and promotions.
  - name: V2 Public
    description: Allowlisted keyless delayed and cached public data.
externalDocs:
  description: Build with AI guide
  url: https://therundown.io/build-with-ai
paths:
  /api/v2/public/schedule/{sportID}:
    get:
      tags:
        - V2 Public
      summary: Get public schedule and finals
      description: >-
        Get a keyless cached schedule without odds or bookmaker data:
        upcoming/in-progress games today through six days ahead, plus completed
        games from the past seven days in America/Chicago. Coupe de France
        (sport 45) looks 21 days ahead. FBS/Division I filters apply to
        NCAAF/NCAAB. Snapshots are built in five-minute generations; the newest
        available generation within 30 minutes may be served. Scope query
        filters are ignored. No authentication or data-point billing applies.
        Sport/tournament and book allowlists are fixed; requesting a wider scope
        does not expand them.
      operationId: v2GetPublicSchedule
      parameters:
        - name: sportID
          in: path
          required: true
          description: >-
            Allowlisted sport/league ID. Unsupported IDs return 404. Sport 45 is
            schedule-only and has no prices.
          schema:
            type: integer
            enum:
              - 1
              - 2
              - 3
              - 4
              - 5
              - 6
              - 7
              - 8
              - 10
              - 11
              - 12
              - 13
              - 14
              - 15
              - 16
              - 17
              - 18
              - 19
              - 20
              - 21
              - 33
              - 34
              - 38
              - 39
              - 44
              - 45
        - name: odds_format
          in: query
          required: false
          description: >-
            Odds representation for REST prices. Absent or american preserves
            the existing response. Fractional odds are reduced ratio strings;
            decimal and probability retain each source field's number/string
            type. Probability is a 0..1 fraction. Off-board placeholders
            (including 0 and 0.0001), nulls and nonnumeric sentinel strings stay
            unchanged. Numeric values with absolute value below 100 are not
            converted. Price-delta fields retain American-point difference
            units. Empty, repeated or unsupported values return 400. WebSockets
            are unchanged. This route has no odds fields, so a valid format
            selection does not change its data.
          schema:
            type: string
            default: american
            enum:
              - american
              - decimal
              - fractional
              - probability
          example: decimal
      responses:
        '200':
          description: >-
            Successful response. Arrays may be empty when no eligible records
            match.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestNewPublicScheduleResponse'
              example:
                meta:
                  sport_id: 4
                  as_of: '2026-12-05T01:00:00Z'
                  from: '2026-11-27'
                  to: '2026-12-10'
                  timezone: America/Chicago
                upcoming:
                  - event_id: 1a8bcd066bbf23306db3403ae621f279
                    sport_id: 4
                    event_date: '2026-12-05T00:00:00Z'
                    score:
                      event_status: STATUS_IN_PROGRESS
                      venue_name: State Farm Arena
                      venue_location: Atlanta, GA
                      broadcast: Prime Video
                    teams_normalized:
                      - team_id: 4
                        name: Philadelphia
                        mascot: 76ers
                        abbreviation: PHI
                        ranking: 99
                        record: 18-5
                        is_away: true
                        is_home: false
                        conference:
                          conference_id: 39
                          name: Eastern Conference
                        division:
                          division_id: 15
                          name: Atlantic
                    schedule:
                      season_year: 2027
                      season_type: Regular Season
                      event_name: >-
                        NBA Cup - Quarterfinals - Philadelphia at Atlanta -
                        2026-12-05T00:00:00Z
                      event_headline: NBA Cup - Quarterfinals
                finals:
                  - event_id: 99e2f509ea6bf3d3d859db03587e4da2
                    sport_id: 4
                    event_date: '2026-12-04T03:00:00Z'
                    score:
                      event_status: STATUS_FINAL
                      event_status_detail: Final
                      venue_name: Moda Center
                      venue_location: Portland, OR
                      broadcast: KUNP 16
                      score_away: 109
                      score_home: 118
                      winner_away: 0
                      winner_home: 1
                    teams_normalized:
                      - team_id: 20
                        name: Utah
                        mascot: Jazz
                        abbreviation: UTAH
                        ranking: 99
                        record: 5-18
                        is_away: true
                        is_home: false
                        conference:
                          conference_id: 757
                          name: Western Conference
                        division:
                          division_id: 18
                          name: Northwest
                    schedule:
                      season_year: 2027
                      season_type: Regular Season
                      event_name: Utah at Portland - 2026-12-04T03:00:00Z
          headers:
            Cache-Control:
              description: >-
                Public cache policy: max-age=60, stale-while-revalidate=120 for
                odds/schedule; tournament max-age=15.
              schema:
                type: string
        '400':
          description: Invalid, repeated or empty odds_format in the shared GET middleware.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestNewError'
              example:
                error: >-
                  odds_format must be american, decimal, fractional, or
                  probability
        '404':
          description: >-
            The requested sport/tournament/event is not allowlisted or not in
            the snapshot.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestNewError'
              example:
                error: unknown sport
        '500':
          description: Unexpected JSON encoding/format-conversion failure.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestNewError'
              example:
                error: internal error
        '503':
          description: A suitable snapshot has not been built yet. Retry after 60 seconds.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestNewError'
              example:
                error: snapshot_warming
          headers:
            Retry-After:
              description: Seconds to wait before retrying (60).
              schema:
                type: integer
                example: 60
      security: []
components:
  schemas:
    RestNewPublicScheduleResponse:
      type: object
      properties:
        meta:
          type: object
          properties:
            sport_id:
              type: integer
              description: TheRundown sport or league identifier; see the Sports reference.
            as_of:
              type: string
              description: >-
                UTC generation time of this cached public snapshot; individual
                record timestamps retain their own meaning.
              format: date-time
            from:
              type: string
              description: First date included in the snapshot, in its declared timezone.
            to:
              type: string
              description: Last date included in the snapshot, in its declared timezone.
            timezone:
              type: string
              description: >-
                Timezone used to choose the snapshot’s calendar-day window
                (America/Chicago).
          description: Response source, freshness, result count and diagnostic metadata.
        upcoming:
          type: array
          description: >-
            Upcoming or in-progress schedule entries within the public window;
            no live odds are attached by the schedule list.
          items:
            type: object
            properties:
              event_id:
                type: string
                description: TheRundown event identifier.
              sport_id:
                type: integer
                description: >-
                  TheRundown sport or league identifier; see the Sports
                  reference.
              event_date:
                type: string
                description: Scheduled event start in UTC.
                format: date-time
              score:
                type: object
                properties:
                  event_status:
                    type: string
                    description: Source-normalized event status code.
                  venue_name:
                    type: string
                    description: Venue name.
                  venue_location:
                    type: string
                    description: Venue city/region string.
                  broadcast:
                    type: string
                    description: Broadcast network or streaming service names.
                  event_status_detail:
                    type: string
                    description: Human-readable event status detail.
                description: >-
                  Event status, scores and venue/broadcast metadata available
                  for this snapshot.
              teams_normalized:
                type: array
                description: Normalized teams or competitors for the event.
                items:
                  type: object
                  properties:
                    team_id:
                      type: integer
                      description: TheRundown team identifier.
                    name:
                      type: string
                      description: >-
                        Display name of the team, competition, book or market
                        represented by this object.
                    mascot:
                      type: string
                      description: Team nickname or mascot; may be empty.
                    abbreviation:
                      type: string
                      description: Display abbreviation for the team or competitor.
                    ranking:
                      type: integer
                      description: >-
                        Team poll ranking; 99 represents unranked in the public
                        schedule.
                    record:
                      type: string
                      description: Human-readable season record.
                    is_away:
                      type: boolean
                      description: True for the designated away team.
                    is_home:
                      type: boolean
                      description: True for the designated home team.
                    conference:
                      type: object
                      properties:
                        conference_id:
                          type: integer
                          description: TheRundown conference identifier.
                        name:
                          type: string
                          description: >-
                            Display name of the team, competition, book or
                            market represented by this object.
                      description: Conference membership, when supplied.
                    division:
                      type: object
                      properties:
                        division_id:
                          type: integer
                          description: TheRundown division identifier.
                        name:
                          type: string
                          description: >-
                            Display name of the team, competition, book or
                            market represented by this object.
                      description: Division membership, when supplied.
              schedule:
                type: object
                properties:
                  season_year:
                    type: integer
                    description: Season year identifier.
                  season_type:
                    type: string
                    description: Source season phase label.
                  event_name:
                    type: string
                    description: Display name of the fixture.
                  event_headline:
                    type: string
                    description: >-
                      Optional short headline identifying a special event or
                      round.
                description: Season and fixture metadata.
        finals:
          type: array
          description: Completed events from the public schedule’s lookback window.
          items:
            type: object
            properties:
              event_id:
                type: string
                description: TheRundown event identifier.
              sport_id:
                type: integer
                description: >-
                  TheRundown sport or league identifier; see the Sports
                  reference.
              event_date:
                type: string
                description: Scheduled event start in UTC.
                format: date-time
              score:
                type: object
                properties:
                  event_status:
                    type: string
                    description: Source-normalized event status code.
                  event_status_detail:
                    type: string
                    description: Human-readable event status detail.
                  venue_name:
                    type: string
                    description: Venue name.
                  venue_location:
                    type: string
                    description: Venue city/region string.
                  broadcast:
                    type: string
                    description: Broadcast network or streaming service names.
                  score_away:
                    type: integer
                    description: Away team score.
                  score_home:
                    type: integer
                    description: Home team score.
                  winner_away:
                    type: integer
                    description: 1 when the away team is the declared winner; 0 otherwise.
                  winner_home:
                    type: integer
                    description: 1 when the home team is the declared winner; 0 otherwise.
                description: >-
                  Event status, scores and venue/broadcast metadata available
                  for this snapshot.
              teams_normalized:
                type: array
                description: Normalized teams or competitors for the event.
                items:
                  type: object
                  properties:
                    team_id:
                      type: integer
                      description: TheRundown team identifier.
                    name:
                      type: string
                      description: >-
                        Display name of the team, competition, book or market
                        represented by this object.
                    mascot:
                      type: string
                      description: Team nickname or mascot; may be empty.
                    abbreviation:
                      type: string
                      description: Display abbreviation for the team or competitor.
                    ranking:
                      type: integer
                      description: >-
                        Team poll ranking; 99 represents unranked in the public
                        schedule.
                    record:
                      type: string
                      description: Human-readable season record.
                    is_away:
                      type: boolean
                      description: True for the designated away team.
                    is_home:
                      type: boolean
                      description: True for the designated home team.
                    conference:
                      type: object
                      properties:
                        conference_id:
                          type: integer
                          description: TheRundown conference identifier.
                        name:
                          type: string
                          description: >-
                            Display name of the team, competition, book or
                            market represented by this object.
                      description: Conference membership, when supplied.
                    division:
                      type: object
                      properties:
                        division_id:
                          type: integer
                          description: TheRundown division identifier.
                        name:
                          type: string
                          description: >-
                            Display name of the team, competition, book or
                            market represented by this object.
                      description: Division membership, when supplied.
              schedule:
                type: object
                properties:
                  season_year:
                    type: integer
                    description: Season year identifier.
                  season_type:
                    type: string
                    description: Source season phase label.
                  event_name:
                    type: string
                    description: Display name of the fixture.
                description: Season and fixture metadata.
      description: PublicSchedule response.
    RestNewError:
      type: object
      properties:
        error:
          type: string
          description: Human-readable explanation of why the request failed.
      description: Error.
  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.