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

ESPN Athlete Overview

Docs da API
https://api.sandbase.ai/v1/api/espn/athlete-overview

Get comprehensive athlete data including season/career stats, fantasy projections, recent news, awards, and expert analysis. Stats labels are sport-specific. Fantasy data may be absent for non-fantasy leagues.

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

Playground

Entrada
League identifier.
Athlete ID obtained from search endpoint results[*].id or get_team_roster endpoint athletes[*].id
SaídaPronto

Sua saída aparecerá aqui

Preencha as entradas e clique em Executar.

README da API

ESPN Athlete Overview API

Get comprehensive athlete data including season/career stats, fantasy projections, recent news, awards, and expert analysis. Stats labels are sport-specific. Fantasy data may be absent for non-fantasy leagues.

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-overview", "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.

Explorar mais

APIs relacionadas

Todas as APIs
APIPreçoResposta
ESPN$0.03 por chamadaJSON
ESPN$0.06 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 Overview?

Envie uma solicitação POST para https://api.sandbase.ai/v1/api/espn/athlete-overview 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 Overview?

$0.03 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 Overview 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). A tabela de Parâmetros e o Playground nesta página listam todos os campos.

O que a API ESPN Athlete Overview 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 Overview 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.