Douyin Fetch Music Aweme
Retrieve music-related video data from Douyin. Inputs: - count (required integer): Number of items per page. For example, use 16; this parameter must be supplied explicitly. - refresh_index (optional integer): Paging index, defaulting to 1. - cookie (optional string): Your Douyin Cookie. Using your own Cookie is recommended, as paging may otherwise return duplicate data. Returns a response containing music-related video data in data, which may be null. Individual video fields are not specified in the documented response schema. No music ID or search query input is exposed, so this tool does not provide explicit selection of a particular track.
Pricing
| Condition | Charge |
|---|---|
| Each call | 2.07 credits/call |
2.07 credits/call Charges are per query. A successful query is billed even if it returns no results.
Parameters
Optional parameters use the platform defaults when omitted.
| Parameter | Type | Required | Description | Default |
|---|---|---|---|---|
count | integer | Yes | 每页数量/Number per page | — |
cookie | string | No | 用户自行提供的Cookie/User provided Cookie | — |
refresh_index | integer | No | 翻页索引/Paging index | 1 |
Invocation example
Parameter templateGenerated from the parameter configuration. Replace the sample values before use.
/agent-api/v1/tool/executeX-Api-Keycurl --request POST \
--url 'https://agentearth.ai/agent-api/v1/tool/execute?tool_name=ae_douyin_fetch_music_aweme' \
--header "X-Api-Key: $AGENTEARTH_API_KEY" \
--header 'Content-Type: application/json' \
--data-raw '{
"params": {
"count": 1
}
}'No response example available yet.

