TikTok Search Ad Library

1.8 credits per billable call
ae_tiktok_search_ad_library

Search TikTok ads library

Social
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.

ParameterTypeRequiredDescriptionDefault
request_bodyobjectYesNo parameter description.—
request_body.daysintegerNoNumber of days of library history to search, from 1 to 365.—
request_body.querystringConditionalKeyword to search ad titles and content (e.g. spotify). Provide query or advertiserName, never both.—
request_body.cursorstringNoOpaque cursor from a previous response's nextCursor. Omit it for the first page.—
request_body.regionstringNoTwo-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.advertiserNamestringConditionalAdvertiser name to list ads for (e.g. Spotify). Provide advertiserName or query, never both.—

Invocation example

Parameter template

Generated from the parameter configuration. Replace the sample values before use.

POST/agent-api/v2/tool/executeX-Api-Key
Request 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.