Sand AISand AI MAGI-2MAGI-2 ist jetzt auf SandBase: 1080p-Video mit nativem AudioJetzt testen

ESPN Athlete Gamelog

API-Dokumentation
https://api.sandbase.ai/v1/api/espn/athlete-gamelog

Get game-by-game stats for an athlete with monthly breakdowns, totals, and averages. Stats labels are sport-specific. Each game includes opponent, result, score, and full stat line.

Preis
$0.06USD / Aufruf
Methode
POST
Antwort
JSON
Parameter
2 erforderlich · 1 optional

Playground

Eingabe
League identifier.
Athlete ID obtained from search endpoint results[*].id or get_team_roster endpoint athletes[*].id
Season year (e.g., 2026). When omitted, returns current season gamelog.
AusgabeBereit

Ihre Ausgabe wird hier angezeigt

Vervollständigen Sie die Eingaben und klicken Sie dann auf Ausführen.

API-README

ESPN Athlete Gamelog API

Get game-by-game stats for an athlete with monthly breakdowns, totals, and averages. Stats labels are sport-specific. Each game includes opponent, result, score, and full stat line.

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-gamelog", "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.
seasonstringNoSeason year (e.g., 2026). When omitted, returns current season gamelog.

Pricing

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

Mehr entdecken

Verwandte APIs

Alle APIs
APIPreisAntwort
ESPN$0.06 pro AufrufJSON
ESPN$0.03 pro AufrufJSON
ESPN$0.03 pro AufrufJSON
ESPN$0.03 pro AufrufJSON
ESPN$0.03 pro AufrufJSON
ESPN$0.06 pro AufrufJSON

Fragen

FAQ

Wie verwende ich die ESPN Athlete Gamelog API?

Senden Sie eine POST-Anfrage an https://api.sandbase.ai/v1/api/espn/athlete-gamelog mit Ihrem SandBase API-Schlüssel im Authorization-Header (Bearer) und den Parametern als JSON-Body. Sie können das auch ohne Code direkt auf dieser Seite im Playground testen.

Was kostet die ESPN Athlete Gamelog API?

$0.06 pro Aufruf, abgerechnet von Ihrem SandBase-Guthaben. Es werden nur die von Ihnen getätigten Aufrufe berechnet; es gibt kein Abo.

Welche Parameter akzeptiert die ESPN Athlete Gamelog API?

Erforderlich: league (eines von 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) und athlete_id (string). Optional: season (string). Die Parametertabelle und der Playground auf dieser Seite listen jedes Feld auf.

Was gibt die ESPN Athlete Gamelog API zurück?

Eine JSON-Antwort, die in derselben HTTP-Anfrage zurückgegeben wird (synchron).

Benötige ich ein ESPN-Entwicklerkonto oder einen API-Schlüssel?

Nein. ESPN Athlete Gamelog läuft über SandBase, daher deckt ein SandBase API-Schlüssel diesen Endpunkt und jede andere API sowie jedes Modell im Katalog ab. Sie müssen keinen separaten Zugang für ESPN API beantragen.