Skip to main content
The odds command fetches live Polymarket betting odds for NFL and NBA games. For the NFL you can pull odds for a specific week; for the NBA you can filter by a specific date. Without any filter flags, both leagues return odds for their current default period — the current NFL week or today’s NBA games.

Syntax

Arguments

path.league
string
required
The league to fetch odds for. Must be nfl or nba.

Options

query.--week
number
NFL only. The week number to retrieve odds for (e.g. 12). When omitted, returns odds for the current NFL week.
query.--date
string
NBA only. A specific date in YYYY-MM-DD format. When omitted, returns odds for today’s NBA games.
query.--json
boolean
Output raw JSON. The odds command always outputs JSON; this flag is accepted for script consistency.

Examples

Sample output

--week is only meaningful for NFL and --date is only meaningful for NBA. Passing the wrong flag for the league has no effect.
Combine odds output with ask for deeper context. Fetch the odds JSON, then ask EdgeFinder to interpret them:
Polymarket odds reflect prediction market prices, not traditional sportsbook lines. Prices represent the implied probability of an outcome (0.0–1.0), not American or decimal odds.