Skip to main content
GET
/
v1
/
tiktok
/
trending
/
videos
cURL
curl --request GET \
  --url 'https://api.keyapi.ai/v1/tiktok/trending/videos?page=1&period=7&limit=20&region=US&order_by=vv' \
  --header 'Authorization: Bearer <YOUR_API_KEY>'
{
  "code": 0,
  "message": "success",
  "data": {
    "pagination": {
      "has_more": true,
      "limit": 1,
      "page": 1,
      "total_count": 500
    },
    "videos": [
      {
        "country_code": "US",
        "cover": "https://p16-sign-va.tiktokcdn.com/tos-maliva-p-0068c799-us/o4JxEBqB0A29krEiiwHWiAE9CiOKfpIAzIIKdC~tplv-noop.image?dr=18692&refresh_token=046195fd&x-expires=1770133396&x-signature=tTcq8o8OpcY%2BJ6A6ab6oZgXhlNQ%3D&t=9276707c&ps=14f1eb3e&shp=9e36835a&shcp=83ba07fd&idc=my&VideoID=v15044gf0000d55dh1fog65tuspo944g",
        "duration": 9,
        "id": "7587114666132868383",
        "item_id": "7587114666132868383",
        "item_url": "https://www.tiktok.com/@mnm_pipi/video/7587114666132868383",
        "region": "United States",
        "title": "This pup is living her best life. Thanks to price tracking in Chrome, it’s about to get even better. 🐶"
      }
    ]
  },
  "requestId": "d78497da-6b4e-4da3-b15e-da48fca8d5af"
}
🪙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

page
string
default:1

Pagination page number, used to specify the target page number of the query results

Example:

"1"

period
string
default:7

The time range for querying data. Optional valid values: 7 (last 7 days), 30 (last 30 days)

Example:

"7"

limit
string
default:20

The number of data items per page in pagination, used to specify the maximum number of results returned by a single query. The value range is 1 to 20. If it exceeds the maximum value, it will be automatically handled as 20.

Example:

"20"

region
string
default:US

Country/Region Code

Example:

"US"

order_by
string
default:vv

Filter sorting criteria: Hotspot = vv Likes = like Comments = comment Reposts = repost

Example:

"vv"

Response

Success

The response is of type object.