Sports odds API from ESPN: moneyline, spread and line movement

This page is about getting the betting lines that ESPN publishes as rows: moneyline, spread and over/under for each game, with the opening line and how far the line has moved. It is not an API from ESPN. It reads the odds ESPN shows for NFL, NBA, MLB, NHL, college sports and the big soccer leagues. The odds are information, not betting advice, and the rows contain no links to sportsbooks.

People who build their own odds history for models and backtests, newsletter and dashboard makers, and anyone who watches a line move want the numbers on a schedule. ESPN only shows today's line; the history comes from your own runs.

Short version: one game's line now → the game page on espn.com. Many leagues, the opening line, a line movement tracker that gives you only the lines that moved → Sports Odds Tracker on Apify. No login, no API key.

Use espn.com itself when

The Actor saves work when

The input on the Actor's page is already filled in: NFL and NBA games of the next 3 days came back with their odds in about 4 seconds, 19 odds rows (the Actor's run on 22 November 2026; the count follows the schedule). The first rows:

leaguenameproviderhomeMoneylineawayMoneylinespreadoverUndermoneylineMoveSinceOpen
nflArizona Cardinals at Kansas City ChiefsDraftKings-1440850-15.540.5-840
nflBaltimore Ravens at Carolina PanthersDraftKings-145123-344.5-125
nflMiami Dolphins at Buffalo BillsDraftKings-1460860-16.544.5-860

Good to know:

Price: pay per event (each run start and each odds row); the current prices are on the Actor's page. Note and error rows are free, and a run that returns nothing costs nothing.

Try the example on Apify

From a script

curl -X POST "https://api.apify.com/v2/acts/northbell~sports-odds-tracker/run-sync-get-dataset-items?token=YOUR_APIFY_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"leagues":["nfl","nba"]}'

Rows have type odds, note or error. For only the lines that moved add "output":"changes".

Source: the odds shown on espn.com, what anyone sees without signing in. Not affiliated with or endorsed by ESPN.

More guides

northbell guides: all pages