FanDuel Sportsbook events for a league

GET https://api.api.sh/fanduel/v1/events
1 credit / call sports try it in the playground →

A league's listed events on FanDuel Sportsbook: event id, name, home and away team, start time, whether it is in play, competition and the number of betting markets listed for it. Use the id with the event route for every market. Simulated e-sports games are left out. Cached 60 seconds.

Every response includes credits_used: the credits this call cost.

Parameters

nametypedescription
leaguerequired nfl | ncaaf | nba | ncaab | wnba | nhl | mlb | soccer | epl | champions-league | la-liga | serie-a | bundesliga | ligue-1 | mls | tennis | golf | boxing | ufc League or sport. US leagues: nfl, ncaaf, nba, ncaab, wnba, nhl, mlb. Soccer: soccer (every listed competition), epl, champions-league, la-liga, serie-a, bundesliga, ligue-1, mls. Sports: tennis, golf, boxing, ufc (UFC / MMA). Example: nfl
team string Only events whose team names contain this text.
date string Only events starting on this UTC date (YYYY-MM-DD).
limit integer Max events (default 50, max 200).

Every endpoint also takes fresh, raw, fields (see lean responses and caching).

Example

curl "https://api.api.sh/fanduel/v1/events?league=nfl" \
  -H "x-api-key: $APISH_KEY"

Response

A JSON object with the fields described above, plus raw (the source's own data), cached, fetched_at and credits_used. Errors return {"success": false, "error": "…"} with the HTTP status (see errors). A lookup that ran but found nothing (404) costs the price above; refused calls and errors on our side are free (what's charged).

The fastest way to see the full response is the playground: it runs this endpoint with your account and shows the exact JSON.