# AnyAPI TikTok Ad Library Search

> AnyAPI TikTok Ad Library Search is a paid API for AI agents from api.getanyapi.com, paid per call via x402, $0.002/call, status unknown (last checked 2026-09-16).

Searches TikTok's ad library to retrieve ad creatives, advertisers, and campaign data matching given search criteria

## Facts

- Endpoint: POST https://api.getanyapi.com/v1/run/tiktok.ad_library_search
- Price: $0.002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-16
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/anyapi-tiktok-ad-library-search-ac3714fe
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_4SvV-5deN4H8t6QklkURy

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability anyapi-tiktok-ad-library-search-ac3714fe -d '<json body>'
```

Example prompt: Search the TikTok ad library for ads from Nike running in the United States and show me what creatives and formats they're currently using.

## When to prefer this

Use this endpoint when you need to programmatically search TikTok's ad library for competitive research, brand monitoring, or ad intelligence — particularly when you want pay-per-request access without a monthly subscription to a dedicated ad intelligence tool.

## Known failure modes

- Invalid or missing search keyword returns empty results or error
- Unsupported country/region code causes 400 error
- TikTok ad library rate limiting results in 429 or timeout
- Ad library data unavailable for certain regions or ad categories
- Malformed request body causes 400 validation error

## How this service works

1,200+ scraping and data APIs behind one key. Pay per request in real dollars. No subscriptions, nothing monthly, nothing to cancel.

## Output

Returns a JSON response containing TikTok ad library entries matching the search query, including ad creatives, advertiser names, ad formats, regions targeted, and campaign metadata such as impression counts and date ranges.

## Response schema (JSON Schema)

```json
{
 "type": "json"
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/anyapi-tiktok-ad-library-search-ac3714fe/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.getanyapi.com](https://www.zero.xyz/host/api.getanyapi.com/llms.txt)
