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

# FanDuel sportsbook odds for a league, page or event

> Reads FanDuel's public sportsbook content and returns `events` (`name`, `home`, `away`, `sport`, `competition`, `startTime`, `url`) with their `markets` (`name`, `type`, `status`, `inPlay`, `margin` on two-way and three-way markets) and each market's `selections` (`name`, `side`, `points`, `status`, `american`, `decimal`, `fractional`, `impliedProbability`). Prices are numbers. Pass one of `league` (`nba`, `nfl`, `mlb`, `nhl`, `ncaab`, `soccer`, `epl`, `ucl`, `ufc`, `tennis` or a numeric sport id), `page` (a FanDuel page id) or `event_id` (one game's full board, with props; `tab` picks one of the game's `availableTabs`). `state` selects the US state whose lines are read (default `nj`). `include_futures=true` adds outright and futures markets. FanDuel answers from outside the US as well as from the US. A league with no current games returns empty `events` and a `message`.



## OpenAPI

````yaml /api-reference/openapi.json post /sports/fanduel-odds
openapi: 3.1.0
info:
  title: ScrapeUnblocker API
  description: >-
    Public API for the ScrapeUnblocker proxy/anti-bot service. Authenticate
    every request with the `x-scrapeunblocker-key` header. Documented here:
    page-source extraction, Google SERP scraping, image fetch, and the dedicated
    plugin endpoints (search engines, marketplaces, reviews, travel, social and
    more). All other paths exist for internal operations and are intentionally
    hidden from this spec.
  version: 3.0.0
servers:
  - url: https://api.scrapeunblocker.com
    description: Production
security: []
paths:
  /sports/fanduel-odds:
    post:
      tags:
        - Plugins
      summary: FanDuel sportsbook odds for a league, page or event
      description: >-
        Reads FanDuel's public sportsbook content and returns `events` (`name`,
        `home`, `away`, `sport`, `competition`, `startTime`, `url`) with their
        `markets` (`name`, `type`, `status`, `inPlay`, `margin` on two-way and
        three-way markets) and each market's `selections` (`name`, `side`,
        `points`, `status`, `american`, `decimal`, `fractional`,
        `impliedProbability`). Prices are numbers. Pass one of `league` (`nba`,
        `nfl`, `mlb`, `nhl`, `ncaab`, `soccer`, `epl`, `ucl`, `ufc`, `tennis` or
        a numeric sport id), `page` (a FanDuel page id) or `event_id` (one
        game's full board, with props; `tab` picks one of the game's
        `availableTabs`). `state` selects the US state whose lines are read
        (default `nj`). `include_futures=true` adds outright and futures
        markets. FanDuel answers from outside the US as well as from the US. A
        league with no current games returns empty `events` and a `message`.
      operationId: fanduel_odds_sports_fanduel_odds_post
      parameters:
        - name: league
          in: query
          required: false
          schema:
            anyOf:
              - type: string
              - type: 'null'
            description: >-
              League name, e.g. 'nba', 'nfl', 'soccer', 'epl', or a numeric
              sport id.
            title: League
          description: >-
            League name, e.g. 'nba', 'nfl', 'soccer', 'epl', or a numeric sport
            id.
        - name: page
          in: query
          required: false
          schema:
            anyOf:
              - type: string
              - type: 'null'
            description: FanDuel page id, e.g. 'nba'; from the site's /navigation/ links.
            title: Page
          description: FanDuel page id, e.g. 'nba'; from the site's /navigation/ links.
        - name: event_id
          in: query
          required: false
          schema:
            anyOf:
              - type: string
              - type: 'null'
            description: One event id for its full market board.
            title: Event Id
          description: One event id for its full market board.
        - name: tab
          in: query
          required: false
          schema:
            anyOf:
              - type: string
              - type: 'null'
            description: >-
              With `event_id`: a tab from `availableTabs`, lowercase with
              dashes, e.g. 'player-points'.
            title: Tab
          description: >-
            With `event_id`: a tab from `availableTabs`, lowercase with dashes,
            e.g. 'player-points'.
        - name: state
          in: query
          required: false
          schema:
            anyOf:
              - type: string
              - type: 'null'
            description: US state code, e.g. 'nj', 'ny', 'pa' (default 'nj').
            title: State
          description: US state code, e.g. 'nj', 'ny', 'pa' (default 'nj').
        - name: include_futures
          in: query
          required: false
          schema:
            type: boolean
            description: Add futures and outright markets.
            default: false
            title: Include Futures
          description: Add futures and outright markets.
        - name: proxy_country
          in: query
          required: false
          schema:
            anyOf:
              - type: string
              - type: 'null'
            description: >-
              Proxy country the request is sent from (ISO-2). Leave blank to let
              the API pick.
            title: Proxy Country
          description: >-
            Proxy country the request is sent from (ISO-2). Leave blank to let
            the API pick.
      responses:
        '200':
          description: >-
            JSON with `events` (empty with a `message` when nothing is on
            offer).
          content:
            application/json:
              schema: {}
        '400':
          description: Bad `league`, `page`, `event_id`, `state`, or proxy country.
        '404':
          description: FanDuel has no such league, page or event.
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
        '502':
          description: Blocked, unreadable, or the call did not finish in time.
      security:
        - ScrapeUnblockerKey: []
components:
  schemas:
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
              - type: string
              - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
      type: object
      required:
        - loc
        - msg
        - type
      title: ValidationError
  securitySchemes:
    ScrapeUnblockerKey:
      type: apiKey
      in: header
      name: x-scrapeunblocker-key
      description: Your ScrapeUnblocker API key. Apply on every request.

````

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