Skip to main content
GET
/
v1
/
tiktok
/
trending
/
music
/
detail
cURL
curl --request GET \
  --url 'https://api.keyapi.ai/v1/tiktok/trending/music/detail?period=7&region=US&clip_id=6703723351497508865' \
  --header 'Authorization: Bearer <YOUR_API_KEY>'
{
  "code": 0,
  "message": "success",
  "data": {
    "disliked": null,
    "like_count": null,
    "liked": null,
    "sound": {
      "audience_ages": null,
      "audience_countries": [
        {
          "country_info": {
            "id": "458258",
            "label": "LV",
            "value": "Latvia"
          },
          "score": 1426
        },
        {
          "country_info": {
            "id": "3202326",
            "label": "HR",
            "value": "Croatia"
          },
          "score": 1050
        },
        {
          "country_info": {
            "id": "597427",
            "label": "LT",
            "value": "Lithuania"
          },
          "score": 933
        },
        {
          "country_info": {
            "id": "732800",
            "label": "BG",
            "value": "Bulgaria"
          },
          "score": 792
        },
        {
          "country_info": {
            "id": "2782113",
            "label": "AT",
            "value": "Austria"
          },
          "score": 713
        },
        {
          "country_info": {
            "id": "798549",
            "label": "RO",
            "value": "Romania"
          },
          "score": 710
        },
        {
          "country_info": {
            "id": "2264397",
            "label": "PT",
            "value": "Portugal"
          },
          "score": 698
        },
        {
          "country_info": {
            "id": "2510769",
            "label": "ES",
            "value": "Spain"
          },
          "score": 638
        },
        {
          "country_info": {
            "id": "2658434",
            "label": "CH",
            "value": "Switzerland"
          },
          "score": 591
        },
        {
          "country_info": {
            "id": "1821275",
            "label": "MO",
            "value": "Macao"
          },
          "score": 572
        }
      ],
      "audience_interests": [
        {
          "interest_info": {
            "id": "10004",
            "label": "diversify_10004",
            "value": "Scripted Drama"
          },
          "score": 1186
        },
        {
          "interest_info": {
            "id": "10011",
            "label": "diversify_10011",
            "value": "Other Talent"
          },
          "score": 248
        },
        {
          "interest_info": {
            "id": "10049",
            "label": "diversify_10049",
            "value": "Entertainment News"
          },
          "score": 233
        },
        {
          "interest_info": {
            "id": "10073",
            "label": "diversify_10073",
            "value": "Selfies"
          },
          "score": 215
        },
        {
          "interest_info": {
            "id": "10081",
            "label": "diversify_10081",
            "value": "Street Interviews & Social Experiments"
          },
          "score": 196
        }
      ],
      "author": "Chihei Hatakeyama",
      "clip_id": "6703723351497508865",
      "country_code": "US",
      "cover": "https://p16-sg.tiktokcdn.com/aweme/720x720/tos-alisg-v-2774/ocjWmiaBw4AAcY8ifAzsAAB5EQd8FDEDsu3Awo.jpeg",
      "duration": 60,
      "if_cml": false,
      "is_search": false,
      "link": "https://www.tiktok.com/music/x-6703723351497508865",
      "longevity": {
        "popular_days": 0,
        "current_popularity": 0
      },
      "music_url": null,
      "on_list_times": null,
      "promoted": false,
      "rank": null,
      "rank_diff": null,
      "related_items": null,
      "song_id": "6703723270476138498",
      "title": "New Sun",
      "trend": [
        {
          "time": 1769472000,
          "value": 0.06
        },
        {
          "time": 1769558400,
          "value": 0.05
        },
        {
          "time": 1769644800,
          "value": 0.31
        },
        {
          "time": 1769731200,
          "value": 0.3
        },
        {
          "time": 1769817600,
          "value": 0.1
        },
        {
          "time": 1769904000,
          "value": 0.36
        },
        {
          "time": 1769990400,
          "value": 1
        }
      ],
      "url_title": "New-Sun"
    }
  },
  "requestId": "10ddeaa7-1b62-43c1-918c-f0e164fdb631"
}
πŸͺ™2 creditsper request

Copy for AI

πŸ€– Why Code When AI Can Do It For You?

Stop writing code like it’s 1970! Let AI do the heavy lifting - click the sparkles to copy a perfectly formatted prompt for ChatGPT, Claude, or your favorite AI assistant.

Authorizations

Authorization
string
header
required

API key for authentication. Format: sk_live_xxxxxxxxxxxxx Get your API key from the Dashboard.

Query Parameters

period
string
default:7

The time range for querying data. Valid options are: 7 (last 7 days), 30 (last 30 days), 120 (last 120 days)

Example:

"7"

region
string
default:US

Country/Region Code

Example:

"US"

clip_id
string
default:6703723351497508865

The value is derived from: response data in the song list API

Example:

"6703723351497508865"

Response

Success

The response is of type object.