TikTok Search Ad Library
1.8 credits per billable call
ae_tiktok_search_ad_library
Search TikTok ads library
1.8 credits per billable call
Pricing
1.8 credits per billable call. Some calls are free.
1.8 credits per billable call
Free calls are charged 0 credits.
Parameters
Optional parameters use the platform defaults when omitted.
| Parameter | Type | Required | Description | Default |
|---|---|---|---|---|
request_body | object | Yes | No parameter description. | — |
request_body.days | integer | No | Number of days of library history to search, from 1 to 365. | — |
request_body.query | string | Conditional | Keyword to search ad titles and content (e.g. spotify). Provide query or advertiserName, never both. | — |
request_body.cursor | string | No | Opaque cursor from a previous response's nextCursor. Omit it for the first page. | — |
request_body.region | string | No | Two-letter region code for TikTok's Commercial Content Library, such as DE, FR, GB or IT. Each region holds a different set of ads. Omit it to take the library's own default region, DE. Coverage is the EU and EEA; a non-EU code such as US is not served. | — |
request_body.advertiserName | string | Conditional | Advertiser name to list ads for (e.g. Spotify). Provide advertiserName or query, never both. | — |
Invocation example
Parameter templateGenerated from the parameter configuration. Replace the sample values before use.
POST
/agent-api/v2/tool/executeX-Api-KeyRequest coderequest.sh
curl --request POST \
--url 'https://agentearth.ai/agent-api/v2/tool/execute?tool_name=ae_tiktok_search_ad_library' \
--header "X-Api-Key: $AGENTEARTH_API_KEY" \
--header 'Content-Type: application/json' \
--data-raw '{
"params": {
"request_body": {
"query": "spotify"
}
}
}'No response example available yet.

