100 free credits. No credit card required. Get a key

Douyin creator videos API

A Douyin creator’s latest videos with titles, dates, durations and links.

GET /v1/douyin/user/posts2 credits per callRefunded on failure
import os, requests

res = requests.get(
    "https://api.groundsocial.dev/v1/douyin/user/posts?id=3134082496601463",
    headers={"Authorization": f"Bearer {os.environ['GROUNDSOCIAL_API_KEY']}"},
)
res.raise_for_status()
data = res.json()
Response
200 · 2 credits
{
"data": [
{
"gid": "7710099452610071846",
"title": "探家|隐形口袋门竟成主卧套房的灵魂!?🚪 很多人说意式极简=冷、空、像样板间,但这套140平让我改观。\n门墙柜一体、全屋无踢脚线、深色系统一得像一整块雕塑。吊轨门一拉晾晒区消失、两个房间打成套房、主卧还能泡澡……不是空,是藏得有秩序。\n我是…",
"publishTime": 1795147422,
"duration": 162.174,
"coverImage": "https://p11-sign.douyinpic.com/tos-cn-i-dy/5208e5ce0fbd45028118c1bf6d960250~tplv-dy-resize-origshort-autoq-75:0.jpeg?lk3…",
"videoWatchCount": 0,
"isVertical": true,
"url": "https://www.douyin.com/video/7710099452610071846"
},
{
"gid": "7708236156650982707",
"title": "设计师探访|不做设计师就会去搬砖?! 但就是这个爱自嘲的姑娘,做起设计来,却有着超出外表的沉稳。\n这套房子,有三个让她骄傲的亮点:\n横厅里有一根低梁,她没有简单吊顶包住,而是做了斜坡顶+反光灯槽,让梁变得轻盈,空间反而显得大气。\n厨房原本又…",
"publishTime": 1794713591,
"duration": 216.189,
"coverImage": "https://p5-ex-gddgtc-sign.douyinpic.com/tos-cn-i-dy/3b8773d562fe48c5af442eb534ea165e~tplv-dy-resize-origshort-autoq-75:0…",
"videoWatchCount": 0,
"isVertical": true,
"url": "https://www.douyin.com/video/7708236156650982707"
},
"… 8 more"
],
"meta": {
"result_count": 10
}
}

Parameters

NameTypeDescription
idquerystringThe creator’s Douyin Select id (media_user.id of any of their videos).
urlquerystringA Douyin Select creator URL (jingxuan.douyin.com/m/user/<id>), or a video URL: its creator is used.
Response fields

200 with a DouyinUserVideos, in Douyin’s own JSON.

FieldTypeDescription
dataDouyinUserVideo[]
metaobject
Status codes
StatusMeaning
200The latest videos.
400Invalid input. Nothing was charged.
401Missing or invalid API key.
402Not enough credits, a spend cap was reached, or payment is required.
403The target is private, or the account is suspended.
404The video or creator does not exist.
429Too many requests. Wait for Retry-After seconds.
503Douyin is temporarily unavailable. Retryable; nothing was charged.

Every error has code, message, hint and retryable. All error codes

Questions

Is it paged?

No: older videos are not served logged out.

Douyin is a trademark of ByteDance. We are not affiliated with or endorsed by ByteDance.