PeumeAPI

Social media data · TikTok

TikTok Ad Library Search

Search TikTok's public Ads Library by keyword or advertiser (advertiser, title, audience band, run dates, library link, and video).

$0.0018 per callUsually answers in a few seconds

Call it

curl https://api.peume.com/v1/call/tiktok-ad-library-search \
  -H "Authorization: Bearer $PEUME_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "input": {
    "advertiserName": "Spotify",
    "query": "spotify",
    "region": "GB"
  }
}'

Answer: {"id": "run_…", "status": "completed", "cost_usd": …, "output": {…}}. Long jobs answer 202 with a run id to read later. From an AI agent, connect the MCP server and ask for this by name: tiktok-ad-library-search.

Parameters

fieldsstring

Comma-separated keys (dotted paths descend) to keep on each result item. Trims the response, not the charge.

max_itemsinteger

Caps the result rows returned; `_truncated` says how many were withheld. Not the charge.

summaryboolean

`true` returns only an outline: keys, item counts, per-field sizes.

jqstring

jq expression over the result envelope; its output replaces `output`. A failed expression returns the full result with `jqError`.

advertiserNamestring

Advertiser name to list ads for (e.g. Spotify). Send exactly one of advertiserName or query; both together is rejected, and so is neither.

Example: Spotify

cursorstring

Opaque cursor from a previous response's nextCursor. Omit it for the first page.

querystring

Keyword to search ad titles and content (e.g. spotify). Send exactly one of query or advertiserName; both together is rejected, and so is neither.

Example: spotify

regionstring

Two-letter region code for TikTok's Commercial Content Library, such as DE, FR, GB or IT. Omit it for the library default, DE. Coverage is the EU and EEA; a non-EU code such as US is not served.

Example: GB

Start free · $1 of calls included

Every API your business needs. One key.

7,000+ data and AI APIs behind one key, with backup sources built in.