Sand AISand AI MAGI-2MAGI-2 agora está na SandBase: vídeo em 1080p com áudio nativoExperimente agora

ESPN Athlete Gamelog

Docs da 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.

Preço
$0.06USD / chamada
Método
POST
Resposta
JSON
Parâmetros
2 obrigatórios · 1 opcionais

Playground

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.
SaídaPronto

Sua saída aparecerá aqui

Preencha as entradas e clique em Executar.

README da 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 mais

APIs relacionadas

Todas as APIs
APIPreçoResposta
ESPN$0.06 por chamadaJSON
ESPN$0.03 por chamadaJSON
ESPN$0.03 por chamadaJSON
ESPN$0.03 por chamadaJSON
ESPN$0.03 por chamadaJSON
ESPN$0.06 por chamadaJSON

Perguntas

FAQ

Como eu uso a API ESPN Athlete Gamelog?

Envie uma solicitação POST para https://api.sandbase.ai/v1/api/espn/athlete-gamelog com sua chave de API da SandBase no cabeçalho Authorization (Bearer) e os parâmetros no corpo JSON. Você também pode testar no Playground desta página sem escrever código.

Quanto custa a API ESPN Athlete Gamelog?

$0.06 por chamada, cobrado do seu saldo SandBase. Você paga apenas pelas chamadas que fizer; não há assinatura.

Quais parâmetros a API ESPN Athlete Gamelog aceita?

Obrigatórios: league (um 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) e athlete_id (string). Opcionais: season (string). A tabela de Parâmetros e o Playground nesta página listam todos os campos.

O que a API ESPN Athlete Gamelog retorna?

Uma resposta JSON retornada na mesma solicitação HTTP (síncrona).

Preciso de uma conta de desenvolvedor ESPN ou de uma chave de API?

Não. ESPN Athlete Gamelog funciona via SandBase, então uma única chave de API da SandBase cobre este endpoint e todas as outras APIs e modelos do catálogo. Você não precisa solicitar acesso à API do ESPN separadamente.