Sand AISand AI MAGI-2MAGI-2 hiện đã có trên SandBase: video 1080p với âm thanh gốcDùng thử ngay

Twitch Streamer Profile

Tài liệu 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.

Giá
$0.03USD / lượt gọi
Phương thức
POST
Phản hồi
JSON
Tham số
1 bắt buộc · 0 tùy chọn

Phòng thử nghiệm

Đầu vào
Twitch username/login (e.g., 'ninja', 'shroud')
Đầu raSẵn sàng

Đầu ra của bạn sẽ xuất hiện ở đây

Hoàn tất đầu vào, rồi nhấp Run.

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.

Khám phá thêm

APIs liên quan

Tất cả APIs
APIGiáPhản hồi
Twitch$0.03 mỗi lần gọiJSON
Twitch$0.03 mỗi lần gọiJSON
Twitch$0.03 mỗi lần gọiJSON

Câu hỏi

FAQ

Làm thế nào để dùng API Twitch Streamer Profile?

Gửi yêu cầu POST đến https://api.sandbase.ai/v1/api/twitch/streamer-profile với khóa API SandBase của bạn trong tiêu đề Authorization (Bearer) và các tham số trong phần thân JSON. Bạn cũng có thể thử trực tiếp trong Playground trên trang này mà không cần viết code.

API Twitch Streamer Profile có giá bao nhiêu?

$0.03 mỗi lần gọi, được tính từ số dư SandBase của bạn. Bạn chỉ bị tính phí cho các lần gọi bạn thực hiện; không có gói đăng ký.

API Twitch Streamer Profile chấp nhận những tham số nào?

Bắt buộc: username (string). Bảng Parameters và Playground trên trang này liệt kê mọi trường.

API Twitch Streamer Profile trả về gì?

Phản hồi JSON được trả về trong cùng một yêu cầu HTTP (đồng bộ).

Tôi có cần tài khoản nhà phát triển hoặc API key của Twitch không?

Không. Twitch Streamer Profile chạy thông qua SandBase, nên chỉ cần một API key SandBase là đủ cho endpoint này và mọi API cùng model khác trong danh mục. Bạn không cần đăng ký riêng để có quyền truy cập API của Twitch.