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

Twitch Streamer Profile

Documentación de la API
https://api.sandbase.ai/v1/api/twitch/streamer-profile

Get detailed profile information for a Twitch streamer including followers, description, partner status, social links, and current live stream details if streaming. Returns null for stream when offline and populates last_broadcast with the most recent game played.

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

Entorno de pruebas

Entrada
Twitch username/login (e.g., 'ninja', 'shroud')
SalidaListo

Su salida aparecerá aquí

Complete las entradas y luego haga clic en Ejecutar.

README de la API

Twitch Streamer Profile API

Get detailed profile information for a Twitch streamer including followers, description, partner status, social links, and current live stream details if streaming. Returns null for stream when offline and populates last_broadcast with the most recent game played.

Request

curl -X POST "https://api.sandbase.ai/v1/run" \
  -H "Authorization: Bearer $SANDBASE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"model": "twitch/streamer-profile", "username": "ninja"}'

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

Parameters

NameTypeRequiredDescription
usernamestringYesTwitch username/login (e.g., 'ninja', 'shroud')

Pricing

Flat $0.03 per call. Failed calls are not charged.

Explorar más

APIs relacionadas

Todas las APIs
APIPrecioRespuesta
Twitch$0.03 por llamadaJSON
Twitch$0.03 por llamadaJSON
Twitch$0.03 por llamadaJSON

Preguntas

FAQ

¿Cómo uso la API de Twitch Streamer Profile?

Envía una solicitud POST a https://api.sandbase.ai/v1/api/twitch/streamer-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 Twitch Streamer 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 Twitch Streamer Profile?

Requeridos: username (string). La tabla de Parámetros y el Playground de esta página enumeran todos los campos.

¿Qué devuelve la API de Twitch Streamer Profile?

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

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

No. Twitch Streamer 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 Twitch por separado.