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

ESPN Athlete Profile

Dokumentacja API
https://api.sandbase.ai/v1/api/espn/athlete-profile

Get detailed athlete profile including biographical info, team, injuries, contracts, and status. Returns physical attributes, career timeline, and current team assignment.

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

Playground

Wejście
League identifier.
Athlete ID obtained from search endpoint results[*].id or get_team_roster endpoint athletes[*].id
WyjścieGotowe

Twój wynik pojawi się tutaj

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

README API

ESPN Athlete Profile API

Get detailed athlete profile including biographical info, team, injuries, contracts, and status. Returns physical attributes, career timeline, and current team assignment.

Request

curl -X POST "https://api.sandbase.ai/v1/run" \
  -H "Authorization: Bearer $SANDBASE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"model": "espn/athlete-profile", "athlete_id": "1966", "league": "nba"}'

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

Parameters

NameTypeRequiredDescription
athlete_idstringYesAthlete ID obtained from search endpoint results[].id or get_team_roster endpoint athletes[].id
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.

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 Athlete Profile?

Wyślij żądanie POST do https://api.sandbase.ai/v1/api/espn/athlete-profile 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 Athlete Profile?

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

Jakie parametry przyjmuje API ESPN Athlete Profile?

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) i athlete_id (string). Tabela Parameters oraz Playground na tej stronie zawierają wszystkie pola.

Co zwraca API ESPN Athlete Profile?

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

Czy potrzebuję konta deweloperskiego ESPN lub klucza API?

Nie. ESPN Athlete Profile 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.