YepAPI
TikTok API

Challenge Info

Get details about a TikTok challenge (hashtag challenge).

POST/v1/tiktok/challenge
$0.01/call

Usage

const res = await fetch('https://api.yepapi.com/v1/tiktok/challenge', {
  method: 'POST',
  headers: {
    'x-api-key': 'YOUR_API_KEY',
    'Content-Type': 'application/json',
  },
  body: JSON.stringify({ challenge_name: 'dancechallenge' }),
});
const { data } = await res.json();
console.log(data);
curl -X POST https://api.yepapi.com/v1/tiktok/challenge \
  -H "x-api-key: YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"challenge_name": "dancechallenge"}'

Request Body

ParameterTypeRequiredDescriptionDefault
challenge_namestringYes*Challenge hashtag name (without #)
challenge_idstringYes*Challenge ID (alternative to name)

*Provide either challenge_name or challenge_id.

Response

{
  "ok": true,
  "data": {
    "challenge_id": "1677534536829953",
    "challenge_name": "dancechallenge",
    "description": "Show us your best moves! Join the dance challenge.",
    "video_count": 48500000,
    "view_count": 125000000000,
    "cover": "https://p16-sign.tiktokcdn.com/...",
    "is_commercial": false
  }
}

Response Fields

FieldTypeDescription
okbooleanWhether the request succeeded
data.challenge_idstringUnique challenge identifier
data.challenge_namestringChallenge hashtag name
data.descriptionstringChallenge description text
data.video_countnumberNumber of videos using this challenge
data.view_countnumberTotal views across all challenge videos
data.coverstringChallenge cover image URL
data.is_commercialbooleanWhether this is a sponsored/commercial challenge

On this page