Skip to Content

Profile

An account with its followers, likes and post count.

GET
/v1/douyin/profile

Authorization

apiKey
headerAuthorizationBearer <token>

An API key from the dashboard: Authorization: Bearer sapi_….

Query Parameters

secUid?string

The account's sec_uid (MS4wLjABAAAA…), as its page's link ends.

url?string

Its page (https://www.douyin.com/user/MS4w…) or a share link (https://v.douyin.com/…), instead of secUid.

maxAge?integer

How old a cached answer may be, in seconds; 0 always fetches. Default and most: the endpoint's cache lifetime.

Formatint64
Range0 <= value

Response Body

The answer.

application/json
  1. response

One item, as every single-item endpoint answers: { "data": … }.

data*

A Douyin account.

Example Request
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"    }  }}