/v1/call/douyin.account_historyDouyin creator engagement and follower trends API
Only on Douyin.
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: net new followers, new likes, comments, shares and posts, each as a ratio against the period before, and the totals now. It is one period's sum, not a day-by-day series. A call to the Douyin creator engagement and follower trends API costs 2 credits ($0.004 to $0.0067 depending on the pack); failed calls are free.
Last updated:
What you get from the Douyin creator engagement and follower trends API.
From a recorded answer.
A recorded call returned the object below, field by field. Names and text are removed from the sample; the numbers are as recorded.
| Field | In the recorded answer |
|---|---|
| title | removed from the sample |
| url | removed from the sample |
| rank | null |
| heat | null |
| fields.days | 7 |
| fields.gained.followers | 25,775 |
| fields.gained.likes | 44,642,258 |
| fields.gained.comments | 9,070 |
| fields.gained.shares | 8,492,843 |
| fields.gained.posts | 113 |
| fields.change.followers | -0.683 |
| fields.change.likes | -0.002 |
| fields.change.comments | -0.019 |
| fields.change.shares | 0.132 |
| fields.change.posts | 0.087 |
| fields.totals.followers | 203,665,423 |
| fields.totals.likes | 19,308,421,610 |
| fields.totals.posts | 12,694 |
2 credits a call (≈ $0.004–$0.0067): about 1,500 calls for $10.
Douyin creator engagement and follower trends API: request and response
curl https://socialtoai.app/v1/call/douyin.account_history \ -H "Authorization: Bearer $SOCIALTOAI_API_KEY" \ -H "Idempotency-Key: $(uuidgen)" \ -H "Content-Type: application/json" \ -d '{ "id": "66598046050" }'import osimport uuidimport requestsresponse = requests.post( "https://socialtoai.app/v1/call/douyin.account_history", headers={ "Authorization": f"Bearer {os.environ['SOCIALTOAI_API_KEY']}", # A new key for each request; the same one again retries it without paying twice. "Idempotency-Key": str(uuid.uuid4()), }, 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"}window{ "op": "douyin.account_history", "platform": "douyin", "status": "ok", "items": [ { "platform": "douyin", "id": "…", "ref": "…", "approx": [], "extra": {}, "type": "entry", "entry_type": "account_history", "title": "…", "url": "https://example.com/…", "rank": null, "heat": null, "fields": { "days": 7, "gained": { "followers": 25775, "likes": 44642258, "comments": 9070, "shares": 8492843, "posts": 113 }, "change": { "followers": -0.6828902203466984, "likes": -0.002293290777394352, "comments": -0.01914134313831513, "shares": 0.1320249692562833, "posts": 0.08653846153846154 }, "totals": { "followers": 203665423, "likes": 19308421610, "posts": 12694 } } } ], "unavailable": [], "cost_credits": 2}- entry_type
- account_history
- days
- 7
Names and text were removed from the sample; the numbers are as recorded.
Douyin creator engagement and follower trends API parameters.
2 parameters, 1 required.
Send them as a JSON body with POST. Your key goes in the Authorization header, never in the URL.
| Name | Type | Required | Default | Description |
|---|---|---|---|---|
| id | string | Required | — | The account's numeric Douyin ID (uid), a string of digits; not the token starting with MS4w that the profile endpoint takes. Nor is it the Douyin handle (username, often digits too): the uid is extra.uid in what user_profile (platform=douyin) returns. Accounts with very few followers have no such data (a few hundred followers failed, over thirty thousand worked when tried), and retrying does not help |
| window | string | Optional | "7d" | How many of the most recent days to count: 7 or 30"7d""30d" |
Where to get what you send.
idThe account's numeric Douyin ID (uid), a string of digits; not the token starting with MS4w that the profile endpoint takes. Nor is it the Douyin handle (username, often digits too): the uid is extra.uid in what user_profile (platform=douyin) returns. Accounts with very few followers have no such data (a few hundred followers failed, over thirty thousand worked when tried), and retrying does not help (e.g. 66598046050)
No other interface of the platform returns it: take it from the web page or link as described above.
Douyin creator engagement and follower trends API response fields.
What Douyin cannot give is marked.
| Field | Type | Meaning |
|---|---|---|
| items[].extra | object | What the platform gives of this item beyond the fields below, under the platform's own names (an IP location, a uid, a showcase flag); the interface's extra_fields says what each is. Empty when there is nothing more. Of a comment or a review, never who wrote it. |
| items[].title | string | The entry's title or name. |
| items[].url | string | A link that opens it; null where the platform's list has none. |
| items[].rank | integer | Position on a board, from 1. |
| items[].heat | integer | The platform's heat score. |
| items[].fields.days | integer | How many of the most recent days the figures cover. |
| items[].fields.gained.followers | integer | Net new followers; negative when followers were lost. |
| items[].fields.gained.likes | integer | New likes. |
| items[].fields.gained.comments | integer | New comments. |
| items[].fields.gained.shares | integer | New shares. |
| items[].fields.gained.posts | integer | Posts published. |
| items[].fields.change.followers | number | Net new followers compared with the period before, as a ratio. |
| items[].fields.change.likes | number | New likes compared with the period before, as a ratio. |
| items[].fields.change.comments | number | New comments compared with the period before, as a ratio. |
| items[].fields.change.shares | number | New shares compared with the period before, as a ratio. |
| items[].fields.change.posts | number | Posts published compared with the period before, as a ratio. |
| items[].fields.totals.followers | integer | Followers now. |
| items[].fields.totals.likes | integer | Likes received in total. |
| items[].fields.totals.posts | integer | Posts published in total. |
nullFields Douyin cannot giveDouyin 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
Douyin creator engagement and follower trends API: paging and billing.
5 calls per second per key, 20 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
Interface last tested: 2026-10-17. Each call reads from the platform, and fetched_at in the answer is when it was read. The same request sent again with the same key within 5 minutes is a replay (replayed: true): 0 credits, and the answer as first read.
Once connected over MCP, these questions use the Douyin creator engagement and follower trends API.
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.
2 creditscall {"op":"douyin.account_history","id":"66598046050"}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.
2 creditscall {"op":"douyin.account_history","id":"66598046050","window":"30d"}
Give this to your AI.
Copy it into Claude or ChatGPT.
How to connectUse the SocialToAI MCP server (https://socialtoai.app/mcp) for this: 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 the call tool with {"op":"douyin.account_history","id":"66598046050"}. Needed: id; optional: window (7d, 30d).For several, call it once for each: 2 credits each.Before you start, work out how many credits it will take in all and ask me; call it only after I agree.What usually comes next, with the ref or username it returns: call douyin.account_top_videos (Trend-index creator top videos).If SocialToAI is not connected yet, tell me how to connect it; never ask me to paste a key into the chat.Answer with a link to every item you used, and tell me how many credits it cost.Paste it into a chat once SocialToAI is connected over MCP. There is no key in it: Claude and ChatGPT sign in, other clients send a key in a header.
Read next.
What its own API allows, who can use it and what it costs, with sources.
connect Claude to the comments under Douyin videos
connect Claude Code and Cursor to Xiaohongshu and Douyin with no QR code or cookie, and what a self-run server costs you
monitor Xiaohongshu, Douyin and Weibo from outside China with AI, in English, with original links
Let your AI read Douyin.