SocialToAIStart freeConsole
POST/v1/call/douyin.account_historyPreview

Douyin creator engagement and follower trends API

Only on Douyin.

The Douyin creator engagement and follower trends API returns how a Douyin account's numbers moved over the last 7 or 30 days, by its numeric ID, from the platform's own index tool. One call costs 2 credits ($0.004 to $0.0067 depending on the pack); failed calls are free. Call it over HTTP or from your AI client over MCP. Last tested 2026-10-17.

100 credits on sign-up, no card needed
2 creditsper call
One objectreturned per call
2026-10-17last tested
1000 Bsample response, 1 item

Last updated:

Preview: this interface is not marked stable yet, so its parameters and fields may still change. It is charged like any other call, and a failed call is not charged.

Request and response

curl https://api.socialtoai.com/v1/call/douyin.account_history \  -H "Authorization: Bearer $SOCIALTOAI_KEY" \  -H "Content-Type: application/json" \  -d '{    "id": "66598046050"  }'
import osimport requestsresponse = requests.post(    "https://api.socialtoai.com/v1/call/douyin.account_history",    headers={"Authorization": f"Bearer {os.environ['SOCIALTOAI_KEY']}"},    json={        "id": "66598046050",    },)print(response.json())
# Connected over MCP? Ask in plain words.Use the Douyin creator engagement and follower trends interface (douyin.account_history) with id: 66598046050.# Your AI calls the call tool with:{  "id": "66598046050"}
Change the requestThe code above follows.
window
Sign in to run2 creditsOpens in the Playground with these parameters after you sign in. It never runs by itself.
200 OK1000 B2 credits
{  "op": "douyin.account_history",  "platform": "douyin",  "status": "ok",  "items": [    {      "platform": "douyin",      "id": "…",      "ref": "…",      "approx": [],      "type": "entry",      "entry_type": "account_history",      "title": "…",      "url": "https://example.com/…",      "rank": null,      "heat": null,      "fields": {        "days": 30,        "gained": {          "followers": 661489,          "likes": 255080710,          "comments": 48099,          "shares": 38207194,          "posts": 437        },        "change": {          "followers": 0.7285514941831903,          "likes": 0.2256968601585644,          "comments": -0.12905153369789593,          "shares": 0.04085150466802108,          "posts": -0.126        },        "totals": {          "followers": 203357430,          "likes": 19128275335,          "posts": 12381        }      }    }  ],  "unavailable": [],  "cost_credits": 2}
entry_type
account_history
days
30

Names and text were removed from the sample; the numbers are as recorded.

Sample dataFull response

2 parameters.
1 required.

Send them as a JSON body with POST. Your key goes in the Authorization header, never in the URL.

NameTypeRequiredDefaultDescription
idstringRequired—The account's numeric Douyin ID (uid), a string of digits; not the token starting with MS4w that the profile endpoint takes
windowstringOptional"7d"How many of the most recent days to count: 7 or 30
"7d""30d"

Where to get what you send.

id

The account's numeric Douyin ID (uid), a string of digits; not the token starting with MS4w that the profile endpoint takes (e.g. 66598046050)

No other interface of the platform returns it: take it from the web page or link as described above.

The fields of each item.
What Douyin cannot give is marked.

FieldTypeMeaning
items[].titlestringThe entry's title or name.
items[].urlstringA link that opens it; null where the platform's list has none.
items[].rankintegerPosition on a board, from 1.
items[].heatintegerThe platform's heat score.
items[].fields.daysintegerHow many of the most recent days the figures cover.
items[].fields.gained.followersintegerNet new followers; negative when followers were lost.
items[].fields.gained.likesintegerNew likes.
items[].fields.gained.commentsintegerNew comments.
items[].fields.gained.sharesintegerNew shares.
items[].fields.gained.postsintegerPosts published.
items[].fields.change.followersnumberNet new followers compared with the period before, as a ratio.
items[].fields.change.likesnumberNew likes compared with the period before, as a ratio.
items[].fields.change.commentsnumberNew comments compared with the period before, as a ratio.
items[].fields.change.sharesnumberNew shares compared with the period before, as a ratio.
items[].fields.change.postsnumberPosts published compared with the period before, as a ratio.
items[].fields.totals.followersintegerFollowers now.
items[].fields.totals.likesintegerLikes received in total.
items[].fields.totals.postsintegerPosts published in total.
nullFields Douyin cannot give

Douyin gives every field of this call. Where one item lacks a value, that field is null.

Every item also has platform, id, ref, approx and type; the response around the items is the same on every call. Response format

What to expect.

One call returns one object, with no pages, for 2 credits.

1 call per second per key, 5 after a purchase; going over is not charged. Rate limits

A failed call costs 0 credits and is never retried on its own. Error codes

Once connected over MCP, these questions use it.

  1. Get how a Douyin account's numbers moved over the last 7 or 30 days, by its numeric ID, from the platform's own index tool: 66598046050.
    call {"op":"douyin.account_history","id":"66598046050"}
    2 credits
  2. Get how a Douyin account's numbers moved over the last 7 or 30 days, by its numeric ID, from the platform's own index tool: 66598046050, with window set to 30d.
    call {"op":"douyin.account_history","id":"66598046050","window":"30d"}
    2 credits

Questions.
Short answers.

Everything on Douyin
Do I need a Douyin account or Douyin's own API access?
No. You only need a SocialToAI key. The call returns content and account information publicly visible on Douyin; you never sign in to Douyin or apply for anything there.
What does “Preview” mean here?
Preview: this interface is not marked stable yet, so its parameters and fields may still change. It is charged like any other call, and a failed call is not charged.

Your AI is one URL away
from all of social media.

100 credits on sign-up, no card needed