Temporarily unavailable

We are restoring this capability. Until then calls usually fail or return no results; failed calls and empty results are not charged.

POST

API health

24h health
Temporarily unavailable
  • Healthy / normal
  • Available
  • Limited
  • Mostly down
Temporarily unavailable

Last 24 hours

Last 30 days

Get a quick read on one Douyin account from its secUid in user_id (a MS4w string) or a https://www.douyin.com/user/<secUid> link; nicknames, Douyin IDs and short links are not accepted. You get one object: the profile fields (nickname, Douyin ID, bio, follower, following, like and video counts, verification, avatar) and statistics over the account's recent posts: recent_post_count (about 20, pinned posts included), recent_media_types, recent_stats (average, median and maximum of likes, comments, shares and saves), posts_per_week, newest_post_at, oldest_post_at, top_posts by likes and the recent_posts themselves. The statistics cover the posts on the first page of the profile, so posts from about the last 7 days are not included; newest_post_at shows the newest post covered.

Send POST https://api.everyinfra.com/api/v1/social with platform set to douyin and action set to user_overview. Price $1.6 per 1,000 requests ($0.001597 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

#
Please help me write a data collection script with the EveryInfra Douyin Account overview endpoint (douyin/user_overview).

How the endpoint works:
- 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 user_overview, and put the parameters inside params.
- Required parameters:
  - user_id: The account to summarize: its secUid (starting MS4w) or a profile link https://www.douyin.com/user/<secUid>. Nicknames, Douyin IDs and short links are not accepted.
- 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…), is_verified, avatar_url, recent_post_count (How many recent posts the statistics us…); 19 fields in total, full list at https://api.everyinfra.com/api/v1/social/catalog?platform=douyin.
- Example request body:
{
  "platform": "douyin",
  "action": "user_overview",
  "params": {
    "user_id": "https://www.douyin.com/user/MS4wLjABAAAAk1tZ-L085zZf2yW_H5dnVFZWyk8Rt8v4RAvf9KhTyPoVdMDxTs7Q_rvgTJGWXezS"
  }
}
- Price: $1.6 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.
actionbodystringYesuser_overviewCapability identifier, fixed value.
user_idbody.paramsstringYes-The account to summarize: its secUid (starting MS4w) or a profile link https://www.douyin.com/user/<secUid>. Nicknames, Douyin IDs and short links are not accepted.

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": "user_overview",
  "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

#
No sample response is available for these parameters yet. This preview shows the response shape and fields from the API definition, with … as placeholders; it is not the result of a live call.
json
{  "id": "req_…",  "platform": "douyin",  "action": "user_overview",  "results": {    "user_id": …,    "douyin_id": …,    "nickname": …,    "bio": …,    "url": …,    "follower_count": …,    "following_count": …,    "like_count": …,    "video_count": …,    "is_verified": …,    "avatar_url": …,    "platform": …,    "recent_post_count": …,    "recent_media_types": …,    "recent_stats": …,    "posts_per_week": …,    "newest_post_at": …,    "oldest_post_at": …,    "top_posts": …,    "recent_posts": …  },  "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, profiles_batch, user_overview and billboard_account_search, videos related to the entry on trending.
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.
platformSource platform identifier, the same as platform in the request (for example xiaohongshu, tiktok).
recent_post_countHow many recent posts the statistics use (user_overview), about 20, pinned posts included.
recent_media_typesCount of recent posts by type (user_overview), such as {"video": 22}.
recent_statsEngagement of the recent posts (user_overview): like_count, comment_count, share_count and collect_count, each as {avg (average), median, max}.
posts_per_weekAverage number of posts per week in the recent sample (user_overview).
newest_post_atPublish time of the newest post in the sample (user_overview, ISO 8601, UTC); posts from about the last 7 days are not in the sample.
oldest_post_atPublish time of the oldest post in the sample (user_overview, ISO 8601, UTC).
top_postsThe most-liked recent posts (user_overview): [{id, title, like_count, url}].
recent_postsThe recent posts (user_overview); each has the same fields as a user_posts row.

Errors and billing

#
401
Missing or invalid key.
402
Insufficient balance. Top up first.
422
Invalid parameter name or value. Fix it using the suggestions in the error. No charge.
429
Per-minute request limit reached. Wait for Retry-After, then try again.
503
Could not complete. The held charge is returned to your balance. If the outcome is unknown, verify it before you retry.
200 empty
No data. No charge.

Errors

Google Analytics needs consent. Privacy