Douyin API for Developers: Video Data Without the App Protocol
Douyin profiles, posts, comments and hashtags as normalized JSON through one API — no signature reverse-engineering, no maintenance window when the app updates.
Last reviewed
Quickstart
Every request needs one header: Authorization: Bearer $FETCHPI_API_KEY. Create a free key in the console and you can replay every snippet on this page as-is.
curl -s -H "Authorization: Bearer $FETCHPI_API_KEY" "https://fetchpi.com/v1/douyin/users/{username}?freshness=default"The maintenance trap
DIY Douyin collection means re-implementing signature schemes every time the app ships an update. FetchPI absorbs that treadmill: the Douyin surface (profile, user posts, post detail, comments, hashtag feeds) is served as normalized JSON with the same envelope, pagination and freshness controls as every other platform on the catalog.
The endpoint map
GET /v1/douyin/users/{username}— profile.GET /v1/douyin/users/{username}/posts— the video feed.GET /v1/douyin/posts/{id}— video detail.GET /v1/douyin/posts/{id}/comments— comments.GET /v1/douyin/hashtags/{tag}/posts— hashtag feed;GET /v1/douyin/hot-search— the trending list.
Cross-platform analytics
Because Douyin records share the post entity with TikTok, a China-vs-global content comparison is two URL prefixes in one script — the author and metrics fields line up by name.