fanduel_sportsbook_league
Fetch FanDuel league page events, markets, and odds by tab and U.S. state to power odds comparisons and market feeds.
Instructions
FanDuel Sportsbook league page odds. Returns a featured league page (for example nfl, nba, mlb) with its events, markets and odds, grouped by the page's tabs such as Games, Player Props, Win Totals or Super Bowl. custom_page_id values come from the sports route's popular_links; an unknown id returns 404.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tab | No | Show only one tab of this page: a tab slug from the response `tabs[].slug` (the lowercase-hyphenated tab title, such as `games` or `player-props`). An unknown slug returns 400 listing the page's tabs | |
| state | No | U.S. market to query (prices and offered markets differ by state); default nj | |
| market_type | No | Keep only these market types (repeat the parameter or comma-separate), for example `MONEY_LINE`. Valid values are listed in the response `market_types`; unmatched types return no markets | |
| competition_id | No | Keep only events of this competition id (from the response `competitions`) | |
| custom_page_id | Yes | League page id such as `nfl`, `nba`, `mlb`, `ncaaf`, `ncaab`, `nhl`, `wnba`, `pga`, `ncaaw`. Tournament and event pages appear and disappear during the year, and a retired page returns 404; list the current ones with the sports route | |
| exclude_markets | No | Return events without their markets (a cheap event listing); `market_types` is still returned |