Sand AISand AI MAGI-2MAGI-2 ya está en SandBase: video en 1080p con audio nativoPruébalo ahora

ESPN Athlete Gamelog

Documentación de la API
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.

Precio
$0.06USD / llamada
Método
POST
Respuesta
JSON
Parámetros
2 obligatorios · 1 opcionales

Entorno de pruebas

Entrada
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.
SalidaListo

Su salida aparecerá aquí

Complete las entradas y luego haga clic en Ejecutar.

README de la API

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.

Explorar más

APIs relacionadas

Todas las APIs
APIPrecioRespuesta
ESPN$0.06 por llamadaJSON
ESPN$0.03 por llamadaJSON
ESPN$0.03 por llamadaJSON
ESPN$0.03 por llamadaJSON
ESPN$0.03 por llamadaJSON
ESPN$0.06 por llamadaJSON

Preguntas

FAQ

¿Cómo uso la API de ESPN Athlete Gamelog?

Envía una solicitud POST a https://api.sandbase.ai/v1/api/espn/athlete-gamelog con tu clave API de SandBase en el encabezado Authorization (Bearer) y los parámetros como un cuerpo JSON. También puedes probarlo en el Playground de esta página sin escribir código.

¿Cuánto cuesta la API de ESPN Athlete Gamelog?

$0.06 por llamada, facturado desde tu saldo de SandBase. Solo se te cobra por las llamadas que haces; no hay suscripción.

¿Qué parámetros acepta la API de ESPN Athlete Gamelog?

Requeridos: league (una de 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) y athlete_id (string). Opcionales: season (string). La tabla de Parámetros y el Playground de esta página enumeran todos los campos.

¿Qué devuelve la API de ESPN Athlete Gamelog?

Una respuesta JSON devuelta en la misma solicitud HTTP (sincrónica).

¿Necesito una cuenta de desarrollador o una clave API de ESPN?

No. ESPN Athlete Gamelog funciona a través de SandBase, así que una sola clave API de SandBase cubre este endpoint y todas las demás APIs y modelos del catálogo. No necesitas solicitar acceso a la API de ESPN por separado.