Douyin Details API

POST

API health

24h health
Normal
24h average time
—
  • Healthy / normal
  • Available
  • Limited
  • Mostly down
Normal

Look up a Douyin account by secUid for its nickname, handle, bio, follower, like and video counts, IP location, verification and shop status. Pass the secUid (often starting MS4w) in user_id, not a nickname or short ID; videos come from user_posts.

Douyin Details reads one account's public profile, given its user_id: nickname, Douyin ID, bio, avatar, follower and following counts, the like total, number of videos, gender, IP location and verification status. It answers who an account is and how large it is at the moment you ask, for vetting creators, tracking competitor accounts and keeping a creator database current.

user_id takes the secUid, which normally begins with MS4w. Every count is a snapshot of the moment you call, so store it with a date if you want to follow an account over time, and read null as not disclosed rather than zero. ip_location is the region Douyin itself displays on the profile, not something the owner types, and is_verified is null when verification cannot be determined.

Price $0.56 per 1,000 requests ($0.000556 per call). Failed calls and empty results are not charged. Synchronous. For slow jobs add "mode": "async" to the body, take the job_id and poll.

AI prompt

Paste this into your AI assistant. It already holds this endpoint's parameters, response fields and an example request, so the assistant can ask what you need and then write the scraper.

Please help me write a data collection script with the EveryInfra Douyin Details endpoint (douyin/profile).

Endpoint contract:
- Request: POST https://api.everyinfra.com/api/v1/social with the header Authorization: Bearer <API key>. Read the key from the EVERYINFRA_API_KEY environment variable and never hard-code it.
- In the request body, set platform to douyin and action to profile, and put the parameters inside params.
- Required parameters:
  - user_id: The Douyin user's secUid string (typically starting with MS4w), not a nickname or short numerical Douyin ID. Used to identify accounts for profile and user_posts actions.
- Returns one object. Main fields: user_id, douyin_id (Douyin ID: the searchable ID the accoun…), nickname (Display name of the account), bio, url, follower_count, following_count, like_count, video_count (Video count: the account's videos on pr…), gender (Gender as shown on the account), ip_location (IP region Douyin displays (set by the p…), is_verified; 21 fields in total, full list at https://api.everyinfra.com/api/v1/social/catalog?platform=douyin.
- Example request body:
{
  "platform": "douyin",
  "action": "profile",
  "params": {
    "user_id": "https://www.douyin.com/user/MS4wLjABAAAAk1tZ-L085zZf2yW_H5dnVFZWyk8Rt8v4RAvf9KhTyPoVdMDxTs7Q_rvgTJGWXezS"
  }
}
- Price: $0.56 per 1,000 requests; failed and empty results are not charged.
- For dozens or hundreds of targets, add "mode": "async" to the body: you get a job_id at once and poll GET https://api.everyinfra.com/api/v1/jobs/{job_id} for the result.
- On 422, fix the request using the suggested parameter names and allowed values in the error; on 429 or 503, wait for Retry-After and try again.

Before writing code, ask me which targets I need, how many, which fields, and what output format I want; then confirm the plan and the rough cost with me.

Request parameters

NameInTypeRequiredDefaultDescription
AuthorizationheaderstringYes-Bearer followed by your API key. Create it in the console; never put it in a URL or a code repository.
platformbodystringYesdouyinPlatform identifier, fixed value.
actionbodystringYesprofileCapability identifier, fixed value.
user_idbody.paramsNot declaredYes-The Douyin user's secUid string (typically starting with MS4w), not a nickname or short numerical Douyin ID. Used to identify accounts for profile and user_posts actions; can be obtained from an author_id field in search results or a user profile URL.

Code samples

bash
curl -X POST 'https://api.everyinfra.com/api/v1/social' \
  -H "Authorization: Bearer $EVERYINFRA_API_KEY" \
  -H 'Content-Type: application/json' \
  --data-raw '{
  "platform": "douyin",
  "action": "profile",
  "params": {
    "user_id": "https://www.douyin.com/user/MS4wLjABAAAAk1tZ-L085zZf2yW_H5dnVFZWyk8Rt8v4RAvf9KhTyPoVdMDxTs7Q_rvgTJGWXezS"
  }
}'

[OpenAPI definition (JSON)]Samples read the key from the EVERYINFRA_API_KEY environment variable; copied code never contains your key.

Response example

Real response

Captured September 26, 2026 at 08:56 (UTC) by calling this API with the parameters in the code sample above. results and count are that call's real response with personal information (names, handles, avatars, profile links, contact details) removed. id, billing and quota differ on every call, so only their shape is shown.

json
{
  "id": "req_…",
  "platform": "douyin",
  "action": "profile",
  "results": {
    "user_id": "MS4wLjABAAAAk1tZ-L085zZf2yW_H5dnVFZWyk8Rt8v4RAvf9KhTyPoVdMDxTs7Q_rvgTJGWXezS",
    "douyin_id": "(已隐去)",
    "nickname": "(已隐去)",
    "bio": "📚英语爱好者\n🧸努力学习英语中\n❤️好好吃饭💛好好睡觉💚好好生活\n🎇文本群里分享视频的文本,有需要的小伙伴可以进群",
    "url": "https://www.iesdouyin.com/xg/user/1929015166249580",
    "follower_count": 48341,
    "following_count": 21,
    "like_count": 91585,
    "video_count": 210,
    "gender": "(已隐去)",
    "ip_location": "(已隐去)",
    "is_verified": true,
    "avatar_url": "https://p26.douyinpic.com/(已隐去)",
    "platform": "douyin"
  },
  "billing": {
    "charged": …,
    "charged_usd": …,
    "balance_after_usd": …,
    …
  },
  "quota": { … }
}

Response fields

Business data is in results. The table lists the fields a record can contain; values the platform does not show are never made up.

FieldMeaning
user_idUser's unique ID on the platform.
douyin_idDouyin ID: the searchable ID the account holder chooses.
nicknameDisplay name of the account.
bioProfile bio written by the account; may contain line breaks and emoji.
urlLink to the record on the platform.
follower_countFollowers. null means not disclosed, not 0.
following_countAccounts followed. null means not disclosed, not 0.
like_countLikes. null means the platform or this capability does not disclose it; it is not 0.
video_countVideo count: the account's videos on profile, videos related to the entry on trending.
genderGender as shown on the account.
ip_locationIP region Douyin displays (set by the platform, not entered by the user).
is_verifiedWhether the platform verified the account. null means it cannot be determined.
avatar_urlAvatar image link. Some platforms return sized CDN links that can expire.
uidNumeric user ID (profile / creator_search). user_id is the secUid; both identify the same account.
background_image_urlProfile background image link.
countryCountry or region: a full name or an ISO code depending on the platform, not normalized.
languageContent language code (for example zh, en) as judged by the platform; it can be wrong.
is_liveWhether the account was live at the moment of the call; a point-in-time state.
likes_given_countThe public Likes count on the profile: how many posts the account has liked.
has_shopWhether the account has a product showcase enabled.
platformSource platform identifier, the same as platform in the request (for example xiaohongshu, tiktok).
verify_reasonVerification note as written (profile, creator_search), for business or individual verification; empty or absent for unverified accounts.

FAQ

What is the difference between user_id and douyin_id?

user_id is the secUid, a long internal ID that usually starts with MS4w; Douyin capabilities such as Posts by user and Creator audience take it. douyin_id is the shorter handle the owner picked, the ID people use to find the account in the app, and the Xingtu creator analytics and rate card capabilities take that one. Keep both in your records.

Can I pass a profile link instead of the secUid?

Yes. Copy the address of the account's profile page, https://www.douyin.com/user/ followed by the secUid, and pass it whole, as the example on this page does; the bare secUid works too. A nickname, or the handle in douyin_id, is a different kind of ID, so use the secUid form here.

How can I track an account's growth?

Call on a schedule and store follower_count with the date of each call to build your own series, since every response is a snapshot. For a ready-made follower trend, pass the same user_id to the Douyin Creator growth trend capability.

Errors and billing

401
Missing or invalid key. Authentication runs before parameter checks, so unauthenticated requests never see the parameter schema.
422
Wrong parameter name or value. The error lists the parameters and allowed values this capability accepts and the closest match; it happens before any charge.
402
Insufficient balance. Top up first.
429
The account's per-minute request limit was reached (all of its API keys count together; a key's own lower limit applies first). Wait for Retry-After and try again; a rate package in the console raises the limit.
503
Could not complete right now. Any charge for the call goes back to your balance automatically, and the billing receipt in the response states the actual outcome, including when it is not yet known. Do not resend blindly.
200 empty
The request completed without data and is not charged (billing.reason = empty_result_refunded).

Official references

Used only to check objects and terms. They do not imply authorization or endorsement of EveryInfra by the platform.

  • Douyin Open Platform: Open ID and Union ID ↗

    Douyin Open Platform defines Open ID as the user identifier within a single app, whereas Union ID operates across the developer account scope. For this page, user_id expects a secUid per the instructions above; do not supply Open Platform identifiers directly as equivalent inputs.

    Checked 2026-09-04