Skip to main content
Get ESPN scores, schedules and betting lines for a league

Authorizations

x-scrapeunblocker-key
string
header
required

Your ScrapeUnblocker API key. Apply on every request.

Query Parameters

sport
string
required

ESPN's sport path, e.g. 'basketball', 'football', 'baseball', 'hockey', 'soccer', 'tennis', 'golf', 'mma', 'racing'.

league
string
required

ESPN's league path within the sport, e.g. 'nba', 'wnba', 'mens-college-basketball', 'nfl', 'college-football', 'mlb', 'nhl', 'atp', 'pga', 'ufc', 'f1', or a soccer code such as 'eng.1', 'esp.1', 'usa.1', 'uefa.champions'.

date
string | null

A day (YYYY-MM-DD or YYYYMMDD) or a range (YYYYMMDD-YYYYMMDD). Leave blank for today.

group
string | null

ESPN's group id for college leagues, e.g. '80' for all FBS football or '50' for all Division I men's basketball.

proxy_country
string | null

Proxy country the request is sent from (ISO-2, e.g. 'US', 'GB'). Leave blank to let the API pick.

Response

JSON with league and a games array.