Profile
An account with its followers, likes and post count.
GET
apiKeyheader
AuthorizationBearer <token>An API key from the dashboard: Authorization: Bearer sapi_….
secUid?stringThe account's sec_uid (MS4wLjABAAAA…), as its page's link ends.
url?stringIts page (https://www.douyin.com/user/MS4w…) or a share link
(https://v.douyin.com/…), instead of secUid.
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
One item, as every single-item endpoint answers: { "data": … }.
data*A Douyin account.
import { SocialAPI } from "@socialapihq/sdk";const client = new SocialAPI({ apiKey: process.env.SOCIALAPI_API_KEY });const { data } = await client.douyin.profile({ secUid: "MS4wLjABAAAA8U_l6rBzmy7bcy6xOJel4v0RzoR_wfAubGPeJimN__4" });Example Response
{ "data": { "id": "104255897823", "username": "rmrbxmt", "displayName": "人民日报", "bio": "参与、沟通、记录时代。", "avatarUrl": "https://p3-pc.douyinpic.com/aweme/1080x1080/aweme-avatar/tos-cn-avt-0015_21b4383e542b8991bcd33d33eeda7d8d.jpeg?from=2956013662", "url": "https://www.douyin.com/user/MS4wLjABAAAA8U_l6rBzmy7bcy6xOJel4v0RzoR_wfAubGPeJimN__4", "verified": true, "private": false, "followers": 203912912, "following": 35, "likes": 19445869999, "posts": 12986, "externalUrl": null, "createdAt": null, "ext": { "secUid": "MS4wLjABAAAA8U_l6rBzmy7bcy6xOJel4v0RzoR_wfAubGPeJimN__4", "shortId": null, "verification": "人民日报官方账号", "ipLocation": null, "live": false, "series": 0, "coverUrl": "https://p3-pc-sign.douyinpic.com/obj/douyin-user-image-file/a0fed342d45f11ee57830326fa8bb1b1?lk3s=93de098e&x-expires=1795971600&x-signature=BQcW6nFUv7nzrCmTA6wyIHE29%2BM%3D&from=2480802190" } }}