Skip to main content

Documentation Index

Fetch the complete documentation index at: https://edgefinder.mintlify.app/llms.txt

Use this file to discover all available pages before exploring further.

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

edgefinder odds <nfl|nba> [--week N] [--date YYYY-MM-DD] [--json]

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

edgefinder odds nfl

Sample output

[
  {
    "marketId": "0xabc123",
    "question": "Will the Kansas City Chiefs win Super Bowl LXI?",
    "homeTeam": "Kansas City Chiefs",
    "awayTeam": "Las Vegas Raiders",
    "week": 12,
    "outcomes": [
      { "label": "Yes", "price": 0.72 },
      { "label": "No", "price": 0.28 }
    ],
    "volume": 148200,
    "closesAt": "2026-01-04T18:00:00Z"
  }
]
--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:
edgefinder odds nfl --week 12 | jq '.[0]'
edgefinder ask "Explain the value in Chiefs vs Raiders based on Polymarket prices"
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.