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

ESPN Athlete Profile

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

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

Entorno de pruebas

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

Su salida aparecerá aquí

Complete las entradas y luego haga clic en Ejecutar.

README de la 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.

Explorar más

APIs relacionadas

Todas las APIs
APIPrecioRespuesta
ESPN$0.03 por llamadaJSON
ESPN$0.06 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 Profile?

Envía una solicitud POST a https://api.sandbase.ai/v1/api/espn/athlete-profile 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 Profile?

$0.03 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 Profile?

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). La tabla de Parámetros y el Playground de esta página enumeran todos los campos.

¿Qué devuelve la API de ESPN Athlete Profile?

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 Profile 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.