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

ESPN Scoreboard

Documentación de la API
https://api.sandbase.ai/v1/api/espn/scoreboard

Get live scores, final results, and upcoming fixtures for any supported league.

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

Entorno de pruebas

Entrada
League identifier.
Date filter in YYYYMMDD format (e.g., 20260424). When omitted, returns current day's events.
Maximum number of events to return.
Matchday/round number (e.g., 1, 2, 38). Filters events to a specific matchday. Primarily useful for soccer leagues that organize fixtures by round. When omitted, no matchday filter is applied.
SalidaListo

Su salida aparecerá aquí

Complete las entradas y luego haga clic en Ejecutar.

README de la API

ESPN Scoreboard API

Get live scores, final results, and upcoming fixtures for any supported league.

Request

curl -X POST "https://api.sandbase.ai/v1/run" \
  -H "Authorization: Bearer $SANDBASE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"model": "espn/scoreboard", "dates": "20261115", "limit": 10, "league": "nba"}'

The result is returned in outputs[0].data.

Parameters

NameTypeRequiredDescription
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.
datesstringNoDate filter in YYYYMMDD format (e.g., 20260424). When omitted, returns current day's events.
limitintegerNoMaximum number of events to return.
matchdayintegerNoMatchday/round number (e.g., 1, 2, 38). Filters events to a specific matchday. Primarily useful for soccer leagues that organize fixtures by round. When omitted, no matchday filter is applied.

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 Scoreboard?

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

$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 Scoreboard?

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). Opcionales: dates (string), limit (integer) y matchday (integer). La tabla de Parámetros y el Playground de esta página enumeran todos los campos.

¿Qué devuelve la API de ESPN Scoreboard?

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

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

No. ESPN Scoreboard 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.