Skip to Content

Trending

What the explore page shows now, by category.

GET
/v1/tiktok/trending

Authorization

apiKey
headerAuthorizationBearer <token>

An API key from the dashboard: Authorization: Bearer sapi_….

Query Parameters

category?string

The explore page's category. Default all.

Value in"all""singing-dancing""comedy""sports""anime-comics""relationship""shows""lipsync""daily-life""beauty-care""games""society""outfit""cars""food""animals""family""drama""fitness-health""education""technology"
maxAge?integer

How old a cached answer may be, in seconds; 0 always fetches. Default and most: the endpoint's cache lifetime.

Formatint64
Range0 <= value

Response Body

The answer.

application/json
  1. response

A page of a list, as every list endpoint answers: { "data": [...], "pagination": … }.

data*array<>
pagination*
Example Request
import { SocialAPI } from "@socialapihq/sdk";const client = new SocialAPI({ apiKey: process.env.SOCIALAPI_API_KEY });const { data, pagination } = await client.tiktok.trending({ category: "all" });
Example Response
{  "data": [    {      "id": "7709821044638403861",      "url": "https://www.tiktok.com/@locxin2.0/video/7709821044638403861",      "text": "Shea in MPL PH😱 #mplphilippines #MLBB #mobilelegends #fyp",      "createdAt": "2026-11-19T10:03:21.000Z",      "author": {        "id": "7229173383006012422",        "username": "locxin2.0",        "displayName": "locxin dump",        "avatarUrl": "https://p16-common-sign.tiktokcdn.com/tos-alisg-avt-0068/45be72f6e05c506e39cda87ae13f6fc1~tplv-tiktokx-cropcenter:1080:1080.jpeg?dr=14579&refresh_token=e3990f3d&x-expires=1795730400&x-signature=YjAOhzH%2Fa0ORw9hfzyO3vXPqe4o%3D&t=4d5b0474&ps=13740610&shp=a5d48078&shcp=81f88b70&idc=my",        "verified": false,        "url": "https://www.tiktok.com/@locxin2.0"      },      "stats": {        "views": 2800000,        "likes": 184800,        "comments": 359,        "shares": 6265,        "saves": 5916,        "engagementRate": 0.0684      },      "media": [        {          "kind": "video",          "url": "https://v16-webapp-prime.tiktok.com/video/tos/alisg/tos-alisg-pve-0037c001/oMegZDfEpAfuVxuodICkjgAkGFQIF9IDD13sk9/?a=1988&bti=ODszNWYuMDE6&&bt=772&ft=-Csk_maLPD12NnpGgY-UxS.2hY6e3wv25VcAp&mime_type=video_mp4&rc=ZzZoODNlOzU4O2lpZTZpNUBpamZ1O3Q5cmZmZTMzODczNEAvMS01X2AtXjExLTFjYC5hYSNvLWtrMmRjZnNhLS1kMTFzcw%3D%3D&expire=1795731784&l=20261125062232FBD6CE1666E57A379CB3&ply_type=2&policy=2&signature=d1d892546b5a6ea6f5074b0b8552994d&tk=tt_chain_token&btag=e00088000",          "thumbnailUrl": "https://p16-common-sign.tiktokcdn.com/tos-alisg-p-0037/oYGZFxufjVEjPoD2C9DegkFsnWIfAA1Qd5yWQI~tplv-tiktokx-origin.image?dr=14575&x-expires=1795730400&x-signature=FSvZ1s0%2BB6kVvQszoddElq3NLM8%3D&t=4d5b0474&ps=13740610&shp=81f88b70&shcp=43f4a2f9&idc=my",          "width": 576,          "height": 768,          "durationSeconds": 32        }      ],      "hashtags": [        "mplphilippines",        "MLBB",        "mobilelegends"      ],      "mentions": [],      "ext": {        "authorSecUid": "MS4wLjABAAAAZv-bcnR_aY3hu7HMSw2WumRaKLTdHI-XqgGhbKxsCHl6Eie2oYMlDm8Pi2edsH_6",        "sound": {          "id": "7709821083649624840",          "title": "original sound - locxin dump",          "artist": "locxin dump",          "original": true        },        "durationSeconds": 32,        "reposts": null,        "pinned": false,        "ad": false,        "playlistId": null,        "region": null,        "language": "en",        "screenText": [],        "subtitles": []      }    },    {      "id": "7707965932445977876",      "url": "https://www.tiktok.com/@henrythanhcong/video/7707965932445977876",      "text": "lâu r nha #xuhuong #fyp #vrial #viraltiktok #viralvideo",      "createdAt": "2026-11-14T10:04:36.000Z",      "author": {        "id": "6576109295027781634",        "username": "henrythanhcong",        "displayName": "✈️Henry Thành Công 🚀🚀",        "avatarUrl": "https://p16-common-sign.tiktokcdn.com/tos-alisg-avt-0068/a438862549958bb6dc8375996c8835a8~tplv-tiktokx-cropcenter:1080:1080.jpeg?dr=14579&refresh_token=32e494d6&x-expires=1795730400&x-signature=BhSQ61Q13ZQk9CWrDPWaZltNEq8%3D&t=4d5b0474&ps=13740610&shp=a5d48078&shcp=81f88b70&idc=my",        "verified": false,        "url": "https://www.tiktok.com/@henrythanhcong"      },      "stats": {        "views": 1600000,        "likes": 64200,        "comments": 1538,        "shares": 1744,        "saves": 8543,        "engagementRate": 0.0422      },      "media": [        {          "kind": "video",          "url": "https://v16-webapp-prime.tiktok.com/video/tos/alisg/tos-alisg-pve-0037c001/oYQBEDAF4IE4rjQApwI8fQEGV3MeDfTCojcV04/?a=1988&bti=ODszNWYuMDE6&&bt=941&ft=-Csk_maLPD12NnpGgY-UxS.2hY6e3wv25VcAp&mime_type=video_mp4&rc=aGk0ZWQ8OWZpZjw7OjY4PEBpank0aHY5cjo2ZTMzODczNEAuXmI2LjRfNjUxXy4vYDAxYSNvbGVeMmRrMXBhLS1kMTFzcw%3D%3D&expire=1795731761&l=20261125062232FBD6CE1666E57A379CB3&ply_type=2&policy=2&signature=2fc8157f4cf66133541a46e5678de5a9&tk=tt_chain_token&btag=e000b0000",          "thumbnailUrl": "https://p16-common-sign.tiktokcdn.com/tos-alisg-p-0037/oIIQQeIAoZAF3EGMvbjf48f0PQDQDCPI4CjVp4~tplv-tiktokx-origin.image?dr=14575&x-expires=1795730400&x-signature=DgZbPvrx0H1W%2FcwOF69xZvfkz2A%3D&t=4d5b0474&ps=13740610&shp=81f88b70&shcp=43f4a2f9&idc=my",          "width": 576,          "height": 768,          "durationSeconds": 9        }      ],      "hashtags": [        "xuhuong",        "fyp",        "vrial"      ],      "mentions": [],      "ext": {        "authorSecUid": "MS4wLjABAAAAfI6EaYkodAHd89OaVbgFaLEVf7xFi_9rn5lPMQ1LNUWOFzbsDagW76IW1TsqT4Yp",        "sound": {          "id": "7707965965081905921",          "title": "âm thanh gốc - ✈️Henry Thành Công 🚀🚀",          "artist": "✈️Henry Thành Công 🚀🚀",          "original": true        },        "durationSeconds": 9,        "reposts": null,        "pinned": false,        "ad": false,        "playlistId": "7329209693400746759",        "region": null,        "language": "vi",        "screenText": [],        "subtitles": []      }    }  ],  "pagination": {    "nextCursor": null,    "hasMore": false  }}