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

# Get events with lines for a sport and date

> Retrieve events and lines for a sport and date through the V1 sports data API. Review request parameters and response fields.



## OpenAPI

````yaml openapi.yaml GET /api/v1/sports/{sportID}/events/{date}
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/sports/{sportID}/events/{date}:
    get:
      tags:
        - V1 Events
      summary: Get events with lines for a sport and date
      operationId: v1GetEventsBySportAndDate
      parameters:
        - $ref: '#/components/parameters/SportIDPath'
        - name: date
          in: path
          required: true
          schema:
            type: string
            format: date
        - $ref: '#/components/parameters/OffsetQuery'
        - name: conference_id
          in: query
          schema:
            type: integer
        - name: division_id
          in: query
          schema:
            type: integer
        - $ref: '#/components/parameters/AffiliateIDsQuery'
        - $ref: '#/components/parameters/EventStatusQuery'
        - name: exclude_status
          in: query
          schema:
            type: string
          description: Comma-separated event statuses to exclude
        - name: include
          in: query
          schema:
            type: string
            enum:
              - all_periods
      responses:
        '200':
          description: Events with lines
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/V1EventsResponse'
              example:
                events:
                  - event_id: 09bfa53f8484a63e584398545c035932
                    sport_id: 4
                    event_date: '2026-02-12T00:00:00Z'
                    teams_normalized:
                      - team_id: 11
                        name: Atlanta
                        mascot: Hawks
                        abbreviation: ATL
                        record: 26-30
                        is_away: true
                        is_home: false
                      - team_id: 12
                        name: Charlotte
                        mascot: Hornets
                        abbreviation: CHA
                        record: 26-29
                        is_away: false
                        is_home: true
                    lines:
                      '4':
                        line_id: 17980122
                        moneyline:
                          moneyline_away: -105
                          moneyline_home: -115
                        spread:
                          point_spread_away: 1.5
                          point_spread_away_money: -110
                          point_spread_home: -1.5
                          point_spread_home_money: -110
                        total:
                          total_over: 235.5
                          total_over_money: -110
                          total_under: 235.5
                          total_under_money: -110
components:
  parameters:
    SportIDPath:
      name: sportID
      in: path
      required: true
      schema:
        type: integer
      description: >
        Sport ID. Common values: 1=NCAAF, 2=NFL, 3=MLB, 4=NBA, 5=NCAAB, 6=NHL,
        7=UFC, 8=WNBA, 9=CFL, 10=MLS, 11=EPL, 16=UEFA Champions League, 17=UEFA
        Europa League (listed as UEFAEURO; 33 returns no events), 34=Liga MX,
        38=ATP Tennis, 39=WTA Tennis, 40=PGA Tour Golf, 41=Formula 1
    OffsetQuery:
      name: offset
      in: query
      schema:
        type: integer
        default: 0
        example: 300
      description: >-
        UTC offset in **minutes** for the date boundary. US zone values change
        with daylight saving time (daylight / standard), so use the value in
        effect on the date you request. Eastern `240` / `300`, Central `300` /
        `360`, Mountain `360` / `420`, Pacific `420` / `480`. Without this, the
        API day boundary is midnight UTC.
    AffiliateIDsQuery:
      name: affiliate_ids
      in: query
      schema:
        type: string
      description: >
        Comma-separated sportsbook/affiliate IDs to filter. Common values
        include DraftKings (19), FanDuel (23), BetMGM (22), BookMaker (7),
        BetCRIS (9), Pinnacle (3), Polymarket US (31), Circa Sports (32), Bet105
        (33), and Heritage Sports (34). Availability varies by sport and market.

        On V2 event endpoints (`/api/v2/sports/{sportID}/events/{date}`,
        `/api/v2/events/{eventID}`, and their openers/closing siblings),
        `affiliate_ids=0` is a scores-only sentinel: the response keeps events,
        scores, and status and omits markets and price objects. Other endpoints
        that share this parameter treat `affiliate_ids` as a sportsbook filter
        only.
    EventStatusQuery:
      name: event_status
      in: query
      schema:
        type: string
      description: >-
        Comma-separated event status strings to include (e.g.
        `STATUS_IN_PROGRESS,STATUS_HALFTIME`). Applied before `exclude_status`.
  schemas:
    V1EventsResponse:
      type: object
      properties:
        meta:
          $ref: '#/components/schemas/Meta'
        events:
          type: array
          items:
            $ref: '#/components/schemas/V1Event'
    Meta:
      type: object
      properties:
        delta_last_id:
          type: string
    V1Event:
      type: object
      properties:
        affiliate_deep_links:
          type: object
          additionalProperties:
            type: string
          description: >-
            Navigation URLs keyed by affiliate ID (as a string). Each URL is the
            event's page on that sportsbook unless `affiliate_deep_link_types`
            marks it as a catalog fallback. Omitted when no links are available.
        affiliate_deep_link_types:
          type: object
          additionalProperties:
            type: string
            enum:
              - catalog
          description: >-
            Route type for entries in `affiliate_deep_links`, keyed by affiliate
            ID. `catalog` marks a validated sportsbook catalog page used as a
            fallback; an affiliate ID absent from this map has an event-page
            URL.
        event_id:
          type: string
        event_uuid:
          type: string
        sport_id:
          type: integer
        event_date:
          type: string
          format: date-time
        rotation_number_away:
          type: integer
        rotation_number_home:
          type: integer
        score:
          $ref: '#/components/schemas/Score'
        teams:
          type: array
          items:
            type: object
            properties:
              team_id:
                type: integer
              team_normalized_id:
                type: integer
              name:
                type: string
              is_home:
                type: boolean
              is_away:
                type: boolean
        teams_normalized:
          type: array
          items:
            $ref: '#/components/schemas/TeamNormalized'
        schedule:
          $ref: '#/components/schemas/Schedule'
        lines:
          type: object
          description: Lines keyed by affiliate ID
          additionalProperties:
            $ref: '#/components/schemas/V1Line'
        line_periods:
          type: object
          description: >-
            Period-specific lines keyed by affiliate ID (when
            `include=all_periods`)
          additionalProperties:
            $ref: '#/components/schemas/V1LinePeriods'
        pitcher_away:
          $ref: '#/components/schemas/Pitcher'
        pitcher_home:
          $ref: '#/components/schemas/Pitcher'
    Score:
      type: object
      properties:
        event_id:
          type: string
        event_status:
          type: string
          description: >
            Event status. Common values: STATUS_SCHEDULED, STATUS_IN_PROGRESS,
            STATUS_FINAL, STATUS_POSTPONED, STATUS_CANCELED, STATUS_SUSPENDED,
            STATUS_DELAYED, STATUS_RAIN_DELAY, STATUS_HALFTIME,
            STATUS_END_PERIOD, STATUS_END_OF_REGULATION, STATUS_OVERTIME,
            STATUS_FIRST_HALF, STATUS_SECOND_HALF
        team_id_away:
          type: integer
          description: Away team ID. Omitted when zero.
        team_id_home:
          type: integer
          description: Home team ID. Omitted when zero.
        score_away:
          type: integer
        score_home:
          type: integer
        winner_away:
          type: integer
        winner_home:
          type: integer
        score_away_by_period:
          type: array
          description: >-
            Away team's per-period scores, not running totals; index `0` is the
            first period. Overtime periods are appended. Read this array by its
            own length. Its sum is not guaranteed to equal `score_away`; verify
            before using it.
          items:
            type: integer
        score_home_by_period:
          type: array
          description: >-
            Home team's per-period scores, not running totals; index `0` is the
            first period. Overtime periods are appended. Read this array by its
            own length. Its sum is not guaranteed to equal `score_home`; verify
            before using it.
          items:
            type: integer
        venue_name:
          type: string
          description: Arena or stadium name. May be an empty string when unavailable.
        venue_location:
          type: string
          description: City and state. May be an empty string when unavailable.
        game_clock:
          type: integer
        display_clock:
          type: string
        is_clock_running:
          type: boolean
          description: Clock-running flag when supplied. Omitted when unavailable.
        game_period:
          type: integer
        broadcast:
          type: string
        event_status_detail:
          type: string
        updated_at:
          type: string
          format: date-time
    TeamNormalized:
      type: object
      properties:
        conference_id:
          type: integer
          description: >-
            Conference ID for the team, when it belongs to one. Omitted
            otherwise.
        division_id:
          type: integer
          description: Division ID for the team, when it belongs to one. Omitted otherwise.
        team_id:
          type: integer
        name:
          type: string
        mascot:
          type: string
        abbreviation:
          type: string
        record:
          type: string
        is_home:
          type: boolean
        is_away:
          type: boolean
        ranking:
          type: integer
          nullable: true
        conference:
          $ref: '#/components/schemas/Conference'
        division:
          $ref: '#/components/schemas/Division'
    Schedule:
      type: object
      properties:
        season_type:
          type: string
          example: Regular Season
        season_year:
          type: integer
          example: 2026
        conference_competition:
          type: boolean
          nullable: true
        conference_name:
          type: string
        league_name:
          type: string
          nullable: true
        event_name:
          type: string
        attendance:
          type: string
        event_headline:
          type: string
        game_number:
          type: integer
          enum:
            - 1
            - 2
          description: >-
            Game number for a true MLB doubleheader. Omitted for ordinary and
            standalone makeup games.
        game_type:
          type: string
          enum:
            - doubleheader
            - makeup
            - doubleheader_makeup
          description: >-
            Structured MLB doubleheader or makeup classification. Omitted for
            ordinary games.
        week:
          type: integer
        week_name:
          type: string
        week_detail:
          type: string
    V1Line:
      type: object
      properties:
        line_id:
          type: integer
        moneyline:
          $ref: '#/components/schemas/V1Moneyline'
        spread:
          $ref: '#/components/schemas/V1Spread'
        total:
          $ref: '#/components/schemas/V1Total'
        affiliate:
          $ref: '#/components/schemas/Affiliate'
        teams:
          type: array
          items:
            type: object
            properties:
              team_id:
                type: integer
              team_normalized_id:
                type: integer
              name:
                type: string
              is_home:
                type: boolean
              is_away:
                type: boolean
        period_id:
          type: integer
        period_description:
          type: string
    V1LinePeriods:
      type: object
      properties:
        period_full_game:
          $ref: '#/components/schemas/V1Line'
        period_first_half:
          $ref: '#/components/schemas/V1Line'
        period_second_half:
          $ref: '#/components/schemas/V1Line'
        period_first_period:
          $ref: '#/components/schemas/V1Line'
        period_second_period:
          $ref: '#/components/schemas/V1Line'
        period_third_period:
          $ref: '#/components/schemas/V1Line'
        period_fourth_period:
          $ref: '#/components/schemas/V1Line'
        period_live_full_game:
          $ref: '#/components/schemas/V1Line'
        period_live_first_half:
          $ref: '#/components/schemas/V1Line'
        period_live_second_half:
          $ref: '#/components/schemas/V1Line'
        period_live_first_period:
          $ref: '#/components/schemas/V1Line'
        period_live_second_period:
          $ref: '#/components/schemas/V1Line'
        period_live_third_period:
          $ref: '#/components/schemas/V1Line'
        period_live_fourth_period:
          $ref: '#/components/schemas/V1Line'
    Pitcher:
      type: object
      properties:
        id:
          type: integer
        name:
          type: string
        throws_left_handed:
          type: boolean
          nullable: true
        throws_right_handed:
          type: boolean
          nullable: true
        bats_left_handed:
          type: boolean
          nullable: true
        bats_right_handed:
          type: boolean
          nullable: true
    Conference:
      type: object
      properties:
        conference_id:
          type: integer
        division_id:
          type: integer
          description: >-
            Division the conference belongs to, when set (for example `1`, FBS,
            in NCAA Football). Omitted otherwise.
        sport_id:
          type: integer
        name:
          type: string
    Division:
      type: object
      properties:
        division_id:
          type: integer
        conference_id:
          type: integer
        sport_id:
          type: integer
        name:
          type: string
    V1Moneyline:
      type: object
      properties:
        line_id:
          type: integer
          description: Line identifier, as used by the V1 line routes.
        event_id:
          type: string
        sport_id:
          type: integer
        affiliate_id:
          type: integer
        moneyline_away:
          type: number
          description: Away team moneyline. 0.0001 = off the board.
          example: 150
        moneyline_away_delta:
          type: number
        moneyline_home:
          type: number
          example: -180
        moneyline_home_delta:
          type: number
        moneyline_draw:
          type: number
          description: Draw moneyline (soccer, UFC)
        moneyline_draw_delta:
          type: number
        date_updated:
          type: string
          format: date-time
          nullable: true
        format:
          type: string
          example: American
    V1Spread:
      type: object
      properties:
        line_id:
          type: integer
          description: Line identifier, as used by the V1 line routes.
        event_id:
          type: string
        sport_id:
          type: integer
        affiliate_id:
          type: integer
        point_spread_away:
          type: number
          example: 3.5
        point_spread_away_delta:
          type: number
        point_spread_home:
          type: number
          example: -3.5
        point_spread_home_delta:
          type: number
        point_spread_away_money:
          type: number
          example: -110
        point_spread_away_money_delta:
          type: number
        point_spread_home_money:
          type: number
          example: -110
        point_spread_home_money_delta:
          type: number
        date_updated:
          type: string
          format: date-time
          nullable: true
        format:
          type: string
        extended_spreads:
          type: array
          items:
            $ref: '#/components/schemas/V1Spread'
    V1Total:
      type: object
      properties:
        line_id:
          type: integer
          description: Line identifier, as used by the V1 line routes.
        event_id:
          type: string
        sport_id:
          type: integer
        affiliate_id:
          type: integer
        total_over:
          type: number
          example: 47.5
        total_over_delta:
          type: number
        total_under:
          type: number
          example: 47.5
        total_under_delta:
          type: number
        total_over_money:
          type: number
          example: -110
        total_over_money_delta:
          type: number
        total_under_money:
          type: number
          example: -110
        total_under_money_delta:
          type: number
        date_updated:
          type: string
          format: date-time
          nullable: true
        format:
          type: string
        extended_totals:
          type: array
          items:
            $ref: '#/components/schemas/V1Total'
    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.