Trending Posts
Recommended posts, 10, or a category's.
GET
apiKeyheader
AuthorizationBearer <token>An API key from the dashboard: Authorization: Bearer sapi_….
category?stringfood, games, anime, sports, music, knowledge, film, cars or pets;
the home page's feed without it.
Value in
"food""games""anime""sports""music""knowledge""film""cars""pets"maxAge?integerHow old a cached answer may be, in seconds; 0 always fetches. Default and most: the endpoint's cache lifetime.
Format
int64Range
0 <= valueThe answer.
application/json- response
A page of a list, as every list endpoint answers: { "data": [...], "pagination": … }.
data*array<>pagination*import { SocialAPI } from "@socialapihq/sdk";const client = new SocialAPI({ apiKey: process.env.SOCIALAPI_API_KEY });const { data, pagination } = await client.douyin.trendingPosts({ category: "games" });Example Response
{ "data": [ { "id": "7697577972965920027", "url": "https://www.douyin.com/video/7697577972965920027", "text": "一口气看完暴雨末日生存 一秒还正常的世界,一场无休止的暴雨骤然降临。洪水不断蔓延,生存空间越来越小。物资匮乏,危机四伏。这是暴雨末日,而我,要在这里艰难求生#我的世界#mc#末日#暴雨末日#一口气看完系列", "createdAt": "2026-10-17T10:14:01.000Z", "author": { "id": "1491387481857523", "username": "45618260104", "displayName": "我的世界-祖子", "avatarUrl": "https://p3-pc.douyinpic.com/aweme/100x100/aweme-avatar/tos-cn-avt-0015_bca3c0d9d9ee796fc6ac0def6dfa2cd4.jpeg?from=327834062&se=false&biz_tag=feed_avatar&l=202611280116473FF50F05D6AC01168710", "verified": false, "url": "https://www.douyin.com/user/MS4wLjABAAAAYR1tQ7yNnko_XsstQxQ5JpYDmU27JJSGd4RZf873U-J1Y2YgghvCKAEMckX6exOG" }, "stats": { "views": null, "likes": 67173, "comments": 331, "shares": 8922, "saves": 19765, "engagementRate": null }, "media": [ { "kind": "video", "url": null, "thumbnailUrl": "https://p3-pc-sign.douyinpic.com/image-cut-tos/1131c4706060df21ad53b28ce5ad8f0c~tplv-dy-resize-origshort-autoq-75:330.jpeg?lk3s=138a59ce&x-expires=2111158800&x-signature=Idwgwg8mvFrw%2BifmtN8rahMS4Hs%3D&from=327834062&s=PackSourceEnum_FEED&se=false&sc=cover&biz_tag=pcweb_cover&l=202611280116473FF50F05D6AC01168710", "width": 1920, "height": 1080, "durationSeconds": 4679.921 } ], "hashtags": [ "我的世界", "mc", "末日" ], "mentions": [], "ext": { "kind": "video", "title": "一口气看完暴雨末日生存", "durationSeconds": 4679.921, "recommends": 1059, "pinned": false, "series": null, "sound": { "id": "7697580513577421587", "title": "@我的世界-祖子创作的原声", "author": "我的世界-祖子" }, "categories": [ "游戏", "模拟养成" ] } }, { "id": "7706513388629496549", "url": "https://www.douyin.com/video/7706513388629496549", "text": "如何在三点图正确使用非常规哨位?莲花古城禁灭全局思路解析他来了!@Orin失眠电竞 #无畏契约 #valorant #无畏契约教学 #瓦学弟", "createdAt": "2026-11-10T12:46:59.000Z", "author": { "id": "1190143787806569", "username": "Sevenone1s", "displayName": "7in(无畏契约)", "avatarUrl": "https://p3-pc.douyinpic.com/aweme/100x100/aweme-avatar/tos-cn-avt-0015_6dd03dfc9883ce207336b13d8bdcda56.jpeg?from=327834062&se=false&biz_tag=feed_avatar&l=202611280116473FF50F05D6AC01168710", "verified": false, "url": "https://www.douyin.com/user/MS4wLjABAAAA9lqvOpyp9W2hfhyy8fMASp386jhAs0hTjrzDbnHFl6QbCP3bMLZfaQmc-af3Nmt8" }, "stats": { "views": null, "likes": 66774, "comments": 240, "shares": 1688, "saves": 1102, "engagementRate": null }, "media": [ { "kind": "video", "url": null, "thumbnailUrl": "https://p3-pc-sign.douyinpic.com/image-cut-tos/4875a85cb53f780ab7c41975c42334a9~tplv-dy-resize-origshort-autoq-75:330.jpeg?lk3s=138a59ce&x-expires=2111158800&x-signature=0NZVtYug%2B6dvkyoGlJsa7g5ySTk%3D&from=327834062&s=PackSourceEnum_FEED&se=false&sc=cover&biz_tag=pcweb_cover&l=202611280116473FF50F05D6AC01168710", "width": 1280, "height": 720, "durationSeconds": 336.367 } ], "hashtags": [ "无畏契约", "valorant", "无畏契约教学" ], "mentions": [], "ext": { "kind": "video", "title": null, "durationSeconds": 336.367, "recommends": 691, "pinned": false, "series": null, "sound": { "id": "7706513397868727040", "title": "@7in(无畏契约)创作的原声", "author": "7in(无畏契约)" }, "categories": [ "游戏", "竞技游戏" ] } } ], "pagination": { "nextCursor": null, "hasMore": false }}