Index sources

Queue one or more TikTok sounds and/or hashtags for indexing. Each source costs 1 credit. Indexing crawls posts, identifies creators, and computes trend and audience analytics. Use the status and download endpoints to retrieve results once complete.

Authentication

X-API-Keystring
API Key authentication via header

Request

This endpoint expects an object.
sound_idslist of stringsOptional
TikTok sound IDs to index.
hashtagslist of stringsOptional

TikTok hashtags to index (without the #).

optionsmap from strings to anyOptional

Optional indexing tuning. Supported keys: post_count (int), force_refresh (bool).

webhook_urlstring or nullOptional
Optional webhook to notify when indexing completes.

Response

Successful Response
sourceslist of objects

Errors

402
Payment Required Error
422
Unprocessable Entity Error