Sand AISand AI MAGI-2MAGI-2 jest teraz na SandBase: wideo 1080p z natywnym dźwiękiemWypróbuj teraz

ESPN Scoreboard

Dokumentacja API
https://api.sandbase.ai/v1/api/espn/scoreboard

Get live scores, final results, and upcoming fixtures for any supported league.

Cena
$0.03USD / wywołanie
Metoda
POST
Odpowiedź
JSON
Parametry
1 wymaganych · 3 opcjonalnych

Playground

Wejście
League identifier.
Date filter in YYYYMMDD format (e.g., 20260424). When omitted, returns current day's events.
Maximum number of events to return.
Matchday/round number (e.g., 1, 2, 38). Filters events to a specific matchday. Primarily useful for soccer leagues that organize fixtures by round. When omitted, no matchday filter is applied.
WyjścieGotowe

Twój wynik pojawi się tutaj

Uzupełnij dane wejściowe, a następnie kliknij Uruchom.

README API

ESPN Scoreboard API

Get live scores, final results, and upcoming fixtures for any supported league.

Request

curl -X POST "https://api.sandbase.ai/v1/run" \
  -H "Authorization: Bearer $SANDBASE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"model": "espn/scoreboard", "dates": "20261115", "limit": 10, "league": "nba"}'

The result is returned in outputs[0].data.

Parameters

NameTypeRequiredDescription
leaguestringYesLeague identifier. One of: nba, nfl, mlb, nhl, wnba, college-football, mens-college-basketball, womens-college-basketball, college-baseball, college-softball, eng.1, esp.1.
datesstringNoDate filter in YYYYMMDD format (e.g., 20260424). When omitted, returns current day's events.
limitintegerNoMaximum number of events to return.
matchdayintegerNoMatchday/round number (e.g., 1, 2, 38). Filters events to a specific matchday. Primarily useful for soccer leagues that organize fixtures by round. When omitted, no matchday filter is applied.

Pricing

Flat $0.03 per call. Failed calls are not charged.

Odkryj więcej

Powiązane APIs

Wszystkie APIs
APICenaOdpowiedź
ESPN$0.03 za wywołanieJSON
ESPN$0.06 za wywołanieJSON
ESPN$0.03 za wywołanieJSON
ESPN$0.03 za wywołanieJSON
ESPN$0.03 za wywołanieJSON
ESPN$0.06 za wywołanieJSON

Pytania

FAQ

Jak używać API ESPN Scoreboard?

Wyślij żądanie POST do https://api.sandbase.ai/v1/api/espn/scoreboard z kluczem API SandBase w nagłówku Authorization (Bearer) oraz parametrami w treści JSON. Możesz też wypróbować je w Playground na tej stronie bez pisania kodu.

Ile kosztuje API ESPN Scoreboard?

$0.03 za wywołanie, rozliczane z salda SandBase. Płacisz tylko za wykonane wywołania; nie ma subskrypcji.

Jakie parametry przyjmuje API ESPN Scoreboard?

Wymagane: league (jedna z opcji: nba, nfl, mlb, nhl, wnba, college-football, mens-college-basketball, womens-college-basketball, college-baseball, college-softball, eng.1, esp.1, ger.1, ita.1, ita.2, fra.1, usa.1, uefa.champions, uefa.europa, ufc, f1, nascar, nll, mlc). Opcjonalne: dates (string), limit (integer) i matchday (integer). Tabela Parameters oraz Playground na tej stronie zawierają wszystkie pola.

Co zwraca API ESPN Scoreboard?

Odpowiedź JSON zwrócona w tym samym żądaniu HTTP (synchronicznie).

Czy potrzebuję konta deweloperskiego ESPN lub klucza API?

Nie. ESPN Scoreboard działa przez SandBase, więc jeden klucz API SandBase obejmuje ten endpoint i każde inne API oraz model w katalogu. Nie musisz osobno ubiegać się o dostęp do API ESPN.