Sources › Social media › TikTok › Get Trending Feed

TikTok Trending Feed API

Feed trending TikTok untuk satu negara.

TikTokGET /trendingAll plans1 Zap

Request

GET
https://api.zapi.ink/v1/social-media:tiktok-scraper/trending

Send your key in the x-api-key header. The response is JSON in the { project, data, timestamp } envelope, and an identical request is served from cache for 30 minutes.

Parameters

NameTypeInRequiredDescription
regionstringqueryYesTwo-letter country code (ID, US, JP, GB, BR, VN). Required. This is the trending feed served TO that country, not videos originating from it Example: ID
countnumberqueryNoNumber of videos. Default 20, max 20 Example: 20

Code examples

cURL
curl -X GET "https://api.zapi.ink/v1/social-media:tiktok-scraper/trending?region=ID&count=20" \
  -H "x-api-key: zpi_xxxxxxxxxxxxxxxxxxxxxxxx"
JavaScript
const res = await fetch("https://api.zapi.ink/v1/social-media:tiktok-scraper/trending?region=ID&count=20", {
  method: "GET",
  headers: {
    "x-api-key": "zpi_xxxxxxxxxxxxxxxxxxxxxxxx"
  },
});
const data = await res.json();
console.log(data);
Python
import requests

res = requests.get(
    "https://api.zapi.ink/v1/social-media:tiktok-scraper/trending",
    params={"region":"ID","count":"20"},
    headers={"x-api-key":"zpi_xxxxxxxxxxxxxxxxxxxxxxxx"},
)
print(res.json())

Example response

200 OK · application/json
{
  "project": "social-media:tiktok-scraper",
  "data": {
    "count": 21,
    "region": "ID",
    "videos": [
      {
        "url": "https://www.tiktok.com/@gilangfbrnsyh7/video/7670859411795070215",
        "isAd": false,
        "play": "https://v19.tiktokcdn.com/d48122cb820aae85e4a71e6204578f63/6a75bfd8/video/tos/alisg/tos-alisg-pve-0037c001/okYVP1wEAiHi1dR7EXi8nLaZiCFi07AKBIEQB/?a=1233&bti=OHYpOTY0Zik3OjlmOm01MzE…",
        "size": 2291267,
        "cover": "https://p16-common-sign.tiktokcdn.com/tos-alisg-p-0037/ooqowh3EY2RJGQeQLBFqAvbDgyU4JBTAfFdEF3~tplv-tiktokx-shrink_ep:640:640:q78.webp?dr=1346&refresh_token=9c7622f2&x-expires=17861…",
        "isTop": false,
        "title": "hanya ada dalam live join live sekarang juga!!",
        "author": {
          "id": "7151332828915123205",
          "avatar": "https://p16-common-sign.tiktokcdn.com/tos-maliva-avt-0068/d01c8161d8d74a6a56ece91b5909bf41~tplv-tiktokx-cropcenter-q:300:300:q70.webp?dr=10793&refresh_token=d3709233&x-expires=1786…",
          "nickname": "gilwear.id",
          "username": "gilangfbrnsyh7"
        },
        "hdSize": 0,
        "images": [],
        "region": "ID",
        "wmSize": 4416663,
        "wmplay": "https://v19.tiktokcdn.com/bf283d52380a867f7b804a8725b7bf11/6a75bfd8/video/tos/alisg/tos-alisg-pve-0037c001/o0wEYlViaPbENB7iE8dh8AE107nQIARxBXiZn/?a=1233&bti=OHYpOTY0Zik3OjlmOm01MzE…",
        "musicId": "7670859449054333703",
        "videoId": "7670859411795070215",
        "duration": 27,
        "diggCount": 13,
        "playCount": 3943,
        "createTime": 1786011141,
        "musicTitle": "original sound - gilwear.id",
        "shareCount": 0,
        "isSlideshow": false,
        "musicAuthor": "gilwear.id",
        "originCover": "https://p16-common-sign.tiktokcdn.com/tos-alisg-p-0037/oUPgEIBx87BO8ORBBYAIXiVwEc01ia7EZdnAi~tplv-tiktokx-shrink-aq:360:360:q75.webp?dr=17995&refresh_token=1ef26fb1&x-expires=17861…",
        "collectCount": 1,
        "commentCount": 0,
        "musicPlayUrl": "https://v16-ies-music.tiktokcdn.com/529b11f3f9b3ebfa6fc9440ae2732815/6a7daa84/video/tos/alisg/tos-alisg-v-27dcd7/ooU1oHIgQ3CFUEFvDfJ94dfFA4DbBBAIXAAqyo/?a=583965&bti=OHYpOTY0Zik3Oj…",
        "createTimeIso": "2026-08-06T10:12:21.000Z",
        "downloadCount": 0,
        "musicDuration": 27,
        "musicOriginal": false
      },
      {
        "url": "https://www.tiktok.com/@shakira/video/7645778945740262687",
        "isAd": false,
        "play": "https://v19.tiktokcdn.com/822ffb11bcb1502e2ce81fda39cfbeff/6a75bfcd/video/tos/alisg/tos-alisg-ve-37c799-sg/oA1VhvD37VVAiFVHCIRQaBDEVSdEADRBiXsUt/?a=1233&bti=OHYpOTY0Zik3OjlmOm01MzE…",
        "size": 7820698,
        "cover": "https://p16-common-sign.tiktokcdn.com/tos-useast8-p-0068-tx2/o8RiV77DFSBIhB1ViFQnsabMQDIAC4EvOAtjV~tplv-tiktokx-shrink_ep:640:640:q78.webp?dr=1346&refresh_token=c9d87d64&x-expires=…",
        "isTop": false,
        "title": "@Triplets Ghetto Kids 😍 #WeAreReady ",
        "author": {
          "id": "168541398546182144",
          "avatar": "https://p19-common-sign.tiktokcdn.com/tos-maliva-avt-0068/423eb2c9c04c3f14fca03a22b386b2e8~tplv-tiktokx-cropcenter-q:300:300:q70.webp?dr=10793&refresh_token=423ced92&x-expires=1786…",
          "nickname": "Shakira",
          "username": "shakira"
        },
        "hdSize": 0,
        "images": [],
        "region": "US",
        "wmSize": 0,
        "wmplay": "https://v19.tiktokcdn.com/822ffb11bcb1502e2ce81fda39cfbeff/6a75bfcd/video/tos/alisg/tos-alisg-ve-37c799-sg/oA1VhvD37VVAiFVHCIRQaBDEVSdEADRBiXsUt/?a=1233&bti=OHYpOTY0Zik3OjlmOm01MzE…",
        "musicId": "7637147165290924831",
        "videoId": "7645778945740262687",
        "duration": 16,
        "diggCount": 23287263,
        "playCount": 238522228,
        "createTime": 1780171659,
        "musicTitle": "Dai Dai",
        "shareCount": 315736,
        "isSlideshow": false,
        "musicAuthor": "Shakira & Burna Boy",
        "originCover": "https://p16-common-sign.tiktokcdn.com/tos-useast8-p-0068-tx2/oEII2CACEia1BsiVD7BSDI4tQRDKVVv2oAb2h~tplv-tiktokx-shrink-aq:360:360:q75.webp?dr=17995&refresh_token=d186e215&x-expires…",
        "collectCount": 933412,
        "commentCount": 120734,
        "musicPlayUrl": "https://sf16-ies-music-sg.tiktokcdn.com/obj/tos-alisg-ve-2774/og1MAIEOzYfIUFEepbfUsixIk5cGaCLngjVDYO",
        "createTimeIso": "2026-05-30T20:07:39.000Z",
        "downloadCount": 2352,
        "musicDuration": 60,
        "musicOriginal": false
      },
      {
        "url": "https://www.tiktok.com/@lorenthzeur/video/7649780256794070302",
        "isAd": false,
        "play": "https://v19.tiktokcdn.com/ec83b23ec2d6781e4fd8d54646895b4f/6a75c0a9/video/tos/alisg/tos-alisg-ve-37c799-sg/ow1EGTqtgeR7EzrEFXAp6QIDSAbVKXgBk5fb1r/?a=1233&bti=OHYpOTY0Zik3OjlmOm01Mz…",
        "size": 27980994,
        "cover": "https://p16-common-sign.tiktokcdn.com/tos-useast8-p-0068-tx2/o4AAEEWqVEzCoRgQTkSfBF9KJDaKrXQr7egGtA~tplv-tiktokx-shrink_ep:640:640:q78.webp?dr=1346&refresh_token=ab3d6b00&x-expires…",
        "isTop": false,
        "title": "The world is full of love!#downsyndrome #healing #foryou ",
        "author": {
          "id": "7178341708622873643",
          "avatar": "https://p19-common-sign.tiktokcdn.com/tos-maliva-avt-0068/4cd623485c8db5ec58d18d6757596edf~tplv-tiktokx-cropcenter-q:300:300:q70.webp?dr=10793&refresh_token=66e21864&x-expires=1786…",
          "nickname": "reddit_wyy",
          "username": "lorenthzeur"
        },
        "hdSize": 0,
        "images": [],
        "region": "US",
        "wmSize": 25636924,
        "wmplay": "https://v19.tiktokcdn.com/8c27639410409f2f44cdd807c7165aaa/6a75c0a9/video/tos/alisg/tos-alisg-ve-37c799-sg/oohTQVED5rfEgrsgeqXSE7kI0wFqtRAKGzByIA/?a=1233&bti=OHYpOTY0Zik3OjlmOm01Mz…",
        "musicId": "7649780194886175519",
        "videoId": "7649780256794070302",
        "duration": 236,
        "diggCount": 4861353,
        "playCount": 39615798,
        "createTime": 1781103276,
        "musicTitle": "original sound - reddit_wyy",
        "shareCount": 120803,
        "isSlideshow": false,
        "musicAuthor": "reddit_wyy",
        "originCover": "https://p16-common-sign.tiktokcdn.com/tos-useast8-p-0068-tx2/oUCjw5IAqcAiyiLB1jId1Ff2ypBViAVIQBB11X~tplv-tiktokx-shrink-aq:360:360:q75.webp?dr=17995&refresh_token=1c759e3c&x-expire…",
        "collectCount": 438096,
        "commentCount": 6058,
        "musicPlayUrl": "https://v16-ies-music.tiktokcdn.com/71e0e06d0d26683fccd43e1e6ce4be7e/6a7dab55/video/tos/maliva/tos-maliva-ve-27dcd7c799-us/ogRsIpeGqQevTMUokGECJUOvgCeEbIVOLgHjYA/?a=583965&bti=Ozk3…",
        "createTimeIso": "2026-06-10T14:54:36.000Z",
        "downloadCount": 19836,
        "musicDuration": 236,
        "musicOriginal": false
      }
    ]
  },
  "timestamp": "2026-06-13T03:11:01Z"
}

Frequently asked questions

How do I call the TikTok Trending Feed API?

Send a GET request to https://api.zapi.ink/v1/social-media:tiktok-scraper/trending?region=ID with your Zapi key in the x-api-key header. Parameters — required: region; optional: count. The response is JSON in the { project, data, timestamp } envelope.

What does the TikTok Trending Feed API return?

Feed trending TikTok untuk satu negara. The example response has the fields count, region, videos. Each item in videos has fields such as url, isAd, play, size, cover, isTop, title, author.

Is the TikTok Trending Feed API free?

Yes. It is on the Zapi free tier: 600 Zap a month with one API key and no credit card. Each call costs 1 Zap. Paid plans raise the limits.

Can an AI assistant call the TikTok Trending Feed API?

Yes. Add the Zapi MCP server (https://mcp.zapi.ink/mcp) to Claude, Cursor or another MCP client and ask in plain words; it calls run_scraper with scraper "tiktok-scraper" and endpoint "trending".

What other TikTok API endpoints are there?

It has 21 endpoints. Besides Get Trending Feed: Get User Profile, Get User Posts, Get Detail Post, Get Post Comments, Get Hashtag Info, Get Hashtag Posts, and 14 more.