Sand AISand AI MAGI-2MAGI-2 ist jetzt auf SandBase: 1080p-Video mit nativem AudioJetzt testen

TikTok Web General Search

API-Dokumentation
https://api.sandbase.ai/v1/api/tiktok/web/general-search

Returns general TikTok search results matching a specified keyword. Supports pagination through offset and search ID parameters.

Preis
$0.001USD / Aufruf
Methode
POST
Antwort
JSON
Parameter
1 erforderlich · 2 optional

Playground

Eingabe
Search keyword
Page cursor, 0 for the first request, need to provide for the second paging, generally the keyword of this value is offset or cursor.
Search id, empty for the first request, need to provide for the second paging, need to get it from the return response of the last request.
AusgabeBereit

Ihre Ausgabe wird hier angezeigt

Vervollständigen Sie die Eingaben und klicken Sie dann auf Ausführen.

API-README

TikTok Web General Search API

Call this endpoint with a keyword to look up general search results across TikTok Web, using offset and search_id for subsequent page queries.

Use cases

  • Look up TikTok search listings for specific keywords.
  • Retrieve user and content search cards across TikTok Web.
  • Paginate through multi-category search results.

Request

curl -X POST "https://api.sandbase.ai/v1/api/tiktok/web/general-search" \
  -H "Authorization: Bearer $SANDBASE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"keyword": "openai"}'

Parameters

NameTypeRequiredDescription
keywordstringYesSearch keyword
offsetintegerNoPage cursor, 0 for the first request, need to provide for the second paging, generally the keyword of this value is offset or cursor.
search_idstringNoSearch id, empty for the first request, need to provide for the second paging, need to get it from the return response of the last request.

Example response

Real response for the request above, trimmed to the main fields. User names and long IDs are masked.

{
  "data": [
    {
      "card_title": "Users",
      "type": 4,
      "common": {
        "doc_id_str": "1"
      }
    }
  ]
}

Notes

  • Set offset to 0 on initial requests, then pass subsequent cursor offsets for pagination.
  • Leave search_id empty on the initial request and pass the returned identifier in subsequent calls.

Pricing

Flat price per call. Failed calls, including lookups whose target does not exist, are not charged.

Mehr entdecken

Verwandte APIs

Alle APIs
APIPreisAntwort
TikTok$0.001 pro AufrufJSON
TikTok$0.001 pro AufrufJSON
TikTok$0.001 pro AufrufJSON
TikTok$0.001 pro AufrufJSON
TikTok$0.001 pro AufrufJSON
TikTok$0.05 pro AufrufJSON

Anleitungen:TikTok API pricing: official access vs per-call dataBest TikTok API in 2026: Pricing Compared

Fragen

FAQ

Wie verwende ich die TikTok Web General Search API?

Senden Sie eine POST-Anfrage an https://api.sandbase.ai/v1/api/tiktok/web/general-search mit Ihrem SandBase API-Schlüssel im Authorization-Header (Bearer) und den Parametern als JSON-Body. Sie können das auch ohne Code direkt auf dieser Seite im Playground testen.

Was kostet die TikTok Web General Search API?

$0.001 pro Aufruf, abgerechnet von Ihrem SandBase-Guthaben. Es werden nur die von Ihnen getätigten Aufrufe berechnet; es gibt kein Abo.

Welche Parameter akzeptiert die TikTok Web General Search API?

Erforderlich: keyword (string). Optional: offset (integer) und search_id (string). Die Parametertabelle und der Playground auf dieser Seite listen jedes Feld auf.

Was gibt die TikTok Web General Search API zurück?

Eine JSON-Antwort, die in derselben HTTP-Anfrage zurückgegeben wird (synchron). Die README auf dieser Seite enthält eine Beispielantwort.

Benötige ich ein TikTok-Entwicklerkonto oder einen API-Schlüssel?

Nein. TikTok Web General Search läuft über SandBase, daher deckt ein SandBase API-Schlüssel diesen Endpunkt und jede andere API sowie jedes Modell im Katalog ab. Sie müssen keinen separaten Zugang für TikTok API beantragen.