How to fetch Douyin hot item trends by aweme ID
Fetch a Douyin post's hot-item trend data by aweme ID, choosing hourly or daily points and likes, shares, or comments
On this page
You have five Douyin aweme IDs from a campaign and need to know which posts carry trend data you can act on before choosing the ones to promote. The tool tikhub.douyin.billboard.fetch_hot_item_trends_list takes one aweme ID per call and returns the supplier's own JSON, so the job is five calls and five row decisions
The worksheet below is the deliverable. Values in it are placeholders showing the shape, not measurements from your campaign
The worksheet for five posts
One row per post, holding the settings you sent, the two returned fields and your call on the row
| requested_aweme_id | date_window | option | data.code | data.message | Decision |
|---|---|---|---|---|---|
| 7707309687762406699 (example) | 1 | 7 | (integer or empty) | (string or empty) | keep, rerun or drop |
| (next campaign ID) | 1 | 7 | (integer or empty) | (string or empty) | keep, rerun or drop |
A row that returns a code and a message but no trend payload is not evidence for a promotion decision, which is the case the recorded call below shows. Fill the decision column with keep, rerun or drop
The inputs for one trend check
The catalog contract documents three query fields
query.aweme_id: the Douyin work ID, sent as a string. It defaults to an empty stringquery.date_window: 1 gives hourly points, 2 gives daily points. Default 1query.option: 7 is likes, 8 is shares, 9 is comments. Default 7
The campaign check in this guide sends date_window 1 and option 7, so each row describes a likes trend at hourly resolution. No field in the contract is marked required, and each of the three carries a default, including the empty string for aweme_id
That default is the limit to watch at this step: aweme_id falls back to an empty string, and invalid parameters can return a supplier error response instead of trend data. Send the ID and both settings explicitly on each call, then read the response before you record a row
What one real call returned
One call was made on 2026-11-13 with the input {"query": {"aweme_id": "7707309687762406699", "date_window": 1, "option": 7}}. Billing status was SETTLED, with 0.001 USD charged against a ceiling of 0.001 USD. The top-level keys under data were code and message, holding 5 and 参数不合法
The output is the supplier's raw JSON with no fixed schema, and the field names in the contract output were observed on this single run. Tell the agent to read the keys from the first response before it writes a table
Reading the fields that drive the decision
query.aweme_id is your own column: the ID you sent, copied into the row so a result cannot be matched to the wrong post. The returned fields are data.code and data.message
The contract lists no code table beyond the run above, so read the pair together. Code 5 with the message 参数不合法 means the parameters were refused, so that row holds no trend evidence and your options are to correct the input and rerun or to drop the post from this pass
- keep: the response carried the trend points you asked for
- rerun: the response is an error you can fix by changing the input
- drop: the post still errors after the fix
The agent prompt
Set up https://purrkey.app/SKILL.md, then use Purrkey to fetch Douyin hot item
trend data for five aweme IDs. Check the current inputs and price of
tikhub.douyin.billboard.fetch_hot_item_trends_list before running anything.
Call the tool once per aweme ID with date_window 1 and option 7. The output is
the supplier's raw JSON with no fixed schema, so read the field names from the
first response. Return a table with requested_aweme_id, data.code,
data.message and a decision column (keep, rerun or drop). Copy the ID you sent
into each row, leave a cell empty when the response has no such field, and do
not invent trend values.
Aweme IDs:
7707309687762406699Replace the single example ID with your five campaign IDs before the run. Keeping the first pass at one call shows you the shape of the response before you pay for five
Estimated tool cost
Prices from the Purrkey catalog, read November 13, 2026. The listing gives a fixed per-call price of $0.001 with the rule "successful empty results are charged", so an empty response still costs a call. Model fees for the agent are not counted
| Step | Formula | Unit price | Planned quantity | Total |
|---|---|---|---|---|
| One trend check | calls x price | $0.001 per call | 1 | $0.001 |
| Three metrics, one aweme | calls x price | $0.001 per call | 3 | $0.003 |
| Five posts, likes hourly | calls x price | $0.001 per call | 5 | $0.005 |
The five-post check with one metric each is the plan for the campaign list; pulling likes, shares and comments for a single post is three calls at $0.003. The recorded run settled at 0.001 USD against a ceiling of 0.001 USD, so the totals above are ceilings as well
Where to run the first check
Open the Douyin tool listing and send one ID before you commit five calls; the tool is called through POST /v1/runs with toolId tikhub.douyin.billboard.fetch_hot_item_trends_list and the page shows the current price. For the hot search side of Douyin, the companion guide is How to fetch the Douyin hot search list
Get started by giving this to your agent
- Claude Code
- Codex
- Gemini CLI
- Cursor
- GitHub Copilot
Set up https://purrkey.app/SKILL.md, then use Purrkey to show me what I can do with Douyin.FAQ
How do I fetch Douyin hot item trends for a post?
Call tikhub.douyin.billboard.fetch_hot_item_trends_list once per aweme ID with the ID in query.aweme_id, then read data.code and data.message from the supplier JSON.
What do the option values 7, 8 and 9 mean?
7 is likes, 8 is shares and 9 is comments, and query.option defaults to 7.
What does date_window 1 return?
query.date_window 1 gives hourly points and 2 gives daily points, and the field defaults to 1.
Why did a call return code 5 with the message 参数不合法?
The recorded call on 2026-11-13 sent aweme_id 7707309687762406699 with date_window 1 and option 7, and data.code came back as 5 with data.message 参数不合法. Invalid parameters can return a supplier error response instead of trend data.
Do I have to send aweme_id if it has a default?
query.aweme_id defaults to an empty string, so send the work ID explicitly on each call; no field in the contract is marked required.
How much does it cost to check five Douyin posts?
At $0.001 per call, five calls with one metric each is $0.005, and three metrics for one post is $0.003 for three calls. Successful empty results are charged.
What does the tool return?
The supplier's raw JSON with no fixed schema. On the one recorded run the top-level keys under data were code and message.
Next step
Try this with Douyin
The tool directory lists every endpoint with its current price. Inspect the inputs there, then let your agent run a small batch before scaling up.