Sand AISand AI MAGI-2MAGI-2 artık SandBase'de: yerel sesli 1080p videoŞimdi deneyin

TikTok WSS X-Bogus Signature

API dokümanları
https://api.sandbase.ai/v1/api/tiktok/web/generate-wss-xb-signature

Generates the X-Bogus signature required for TikTok WebSocket connections. Accepts an optional custom browser user-agent string.

Fiyat
$0.001USD / çağrı
Yöntem
POST
Yanıt
JSON
Parametreler
0 gerekli · 1 isteğe bağlı

Oynatma Alanı

Girdi
User browser agent (optional, uses default UA if not provided)
ÇıktıHazır

Çıktınız burada görünecek

Girdileri tamamlayın, ardından Çalıştır'a tıklayın.

API README

TikTok WSS X-Bogus Signature API

Returns an X-Bogus signature string for TikTok WebSocket (WSS) connections. The only input is an optional user_agent string. If you leave it out, the API uses a default browser user agent.

Use cases

  • Sign a TikTok live room WebSocket URL before you open the connection.
  • Generate a signature that matches the user agent your own client sends.
  • Refresh the signature in a script that reconnects to a TikTok WebSocket listener.

Request

curl -X POST "https://api.sandbase.ai/v1/api/tiktok/web/generate-wss-xb-signature" \
  -H "Authorization: Bearer $SANDBASE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{}'

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

Parameters

NameTypeRequiredDescription
user_agentstringNoUser browser agent (optional, uses default UA if not provided)

Example response

Real response for the request above, trimmed: lists keep their first item and long strings are cut.

{
  "x_bogus": "fd9W5SN3j9PxkwTy"
}

Response fields

FieldMeaning
x_bogusThe X-Bogus signature string for a TikTok WSS connection.
x_bogusIn the example, the value is a 16-character string of letters and digits. Treat it as an opaque token and pass it on unchanged.
x_bogusThe response has no other keys. Read this single value from the top level of the JSON object.

Notes

Pricing

$0.001 per successful call. Failed calls are not charged. It is included in the daily free quota of each organization.

Daha fazlasını keşfedin

İlgili APIs

Tüm APIs
APIFiyatYanıt
TikTok$0.001 çağrı başınaJSON
TikTok$0.001 çağrı başınaJSON
TikTok$0.001 çağrı başınaJSON
TikTok$0.001 çağrı başınaJSON
TikTok$0.001 çağrı başınaJSON
TikTok$0.05 çağrı başınaJSON

Kılavuzlar:TikTok API pricing: official access vs per-call dataBest TikTok API in 2026: Pricing Compared

Sorular

SSS

TikTok WSS X-Bogus Signature API'sini nasıl kullanırım?

SandBase API anahtarınızı Authorization başlığında (Bearer) ve parametreleri JSON gövdesi olarak ile https://api.sandbase.ai/v1/api/tiktok/web/generate-wss-xb-signature adresine bir POST isteği gönderin. Ayrıca bu sayfadaki Playground’da kod yazmadan da deneyebilirsiniz.

TikTok WSS X-Bogus Signature API'sinin fiyatı nedir?

çağrı başına $0.001, SandBase bakiyenizden tahsil edilir. Yalnızca yaptığınız çağrılar için ücretlendirilirsiniz; abonelik yoktur.

TikTok WSS X-Bogus Signature API'si hangi parametreleri kabul eder?

Gerekli parametre yoktur. İsteğe bağlı: user_agent (string). Parametreler tablosu ve bu sayfadaki Playground, tüm alanları listeler.

TikTok WSS X-Bogus Signature API'si ne döndürür?

Aynı HTTP isteğinde döndürülen bir JSON yanıtı (senkron). Bu sayfadaki README'de örnek bir yanıt yer alır.

Bir TikTok geliştirici hesabına veya API anahtarına ihtiyacım var mı?

Hayır. TikTok WSS X-Bogus Signature, SandBase üzerinden çalışır; bu nedenle tek bir SandBase API anahtarı bu uç noktayı ve katalogdaki diğer tüm API'leri ve modelleri kapsar. TikTok API erişimi için ayrıca başvuru yapmanız gerekmez.