Sand AISand AI MAGI-2MAGI-2 jest teraz na SandBase: wideo 1080p z natywnym dźwiękiemWypróbuj teraz

Twitch Streamer Profile

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

Cena
$0.03USD / wywołanie
Metoda
POST
Odpowiedź
JSON
Parametry
1 wymaganych · 0 opcjonalnych

Playground

Wejście
Twitch username/login (e.g., 'ninja', 'shroud')
WyjścieGotowe

Twój wynik pojawi się tutaj

Uzupełnij dane wejściowe, a następnie kliknij Uruchom.

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

Odkryj więcej

Powiązane APIs

Wszystkie APIs
APICenaOdpowiedź
Twitch$0.03 za wywołanieJSON
Twitch$0.03 za wywołanieJSON
Twitch$0.03 za wywołanieJSON

Pytania

FAQ

Jak używać API Twitch Streamer Profile?

Wyślij żądanie POST do https://api.sandbase.ai/v1/api/twitch/streamer-profile z kluczem API SandBase w nagłówku Authorization (Bearer) oraz parametrami w treści JSON. Możesz też wypróbować je w Playground na tej stronie bez pisania kodu.

Ile kosztuje API Twitch Streamer Profile?

$0.03 za wywołanie, rozliczane z salda SandBase. Płacisz tylko za wykonane wywołania; nie ma subskrypcji.

Jakie parametry przyjmuje API Twitch Streamer Profile?

Wymagane: username (string). Tabela Parameters oraz Playground na tej stronie zawierają wszystkie pola.

Co zwraca API Twitch Streamer Profile?

Odpowiedź JSON zwrócona w tym samym żądaniu HTTP (synchronicznie).

Czy potrzebuję konta deweloperskiego Twitch lub klucza API?

Nie. Twitch Streamer Profile działa przez SandBase, więc jeden klucz API SandBase obejmuje ten endpoint i każde inne API oraz model w katalogu. Nie musisz osobno ubiegać się o dostęp do API Twitch.