APIs / TikTok / Challenges Search
TikTok: Challenges Search
Challenges Search from TikTok as JSON. 1 credit per successful call.
GET /v1/tiktok/challenges-searchNeeds terms
Note
This endpoint needs the restricted-endpoint terms, which you can accept in your dashboard.
Parameters
Send parameters in the query string.
| Parameter | Type | Required | Allowed values |
|---|---|---|---|
keywords | string | Required | Up to 255 characters |
count | integer | Optional | Any |
cursor | string | Optional | Up to 100 characters |
Example request
curl "https://api.perceptlayer.com/v1/tiktok/challenges-search?keywords=cosplay&count=10&cursor=0" \
-H "X-API-Key: $API_KEY"Run this endpoint in the playground with your own parameters. 1 credit per successful call; failed calls are free.
Response fields
Each item in data.challenge_list has these 11 fields, read from a recorded call. The recording leaves out fields that were empty, so a live call can return more.
| Field | Type |
|---|---|
id | string |
cha_name | string |
desc | string |
user_count | integer |
view_count | integer |
is_pgcshow | boolean |
is_commerce | boolean |
is_challenge | boolean |
is_strong_music | boolean |
type | integer |
cover | url |