Search advertisers
Find advertisers by name and return their business IDs for pinned ad searches and reports.
/v1/tiktok/ad-library/advertisers/searchx-api-keyHeaders
Get your API keyYour ScrapeAtlas customer key. Create one on /account/ and set SCRAPEATLAS_API_KEY.
Advertiser name or part of it.
min 1 chars · max 200 chars
gymsharkRandom request correlation ID.
Upstream attempts, decoded response bytes and elapsed time.
Always included.
≥ 0
Always included.
≥ 0
Always included.
≥ 0
Whether usable public data was retrieved.
success, partial, failed or challenged.
one of: success, partial
Fixed-origin public source URL.
absolute HTTPS URL
UTC retrieval timestamp.
Complete refers to the fields this route reads; warnings name every omitted part.
Always included.
Always included.
Always included.
Advertiser name or part of it.
Matching advertisers as name and ids (business IDs, comma-separated when there are several; at most 10, so each match can be passed back as adv_biz_ids).
Always included.
Always included.
No fields match.
HTTP 200 returns the success variant. Check status: partial means usable data with warnings, and failed or challenged requests carry a failure object described in Errors & responses.
| HTTP | failure.code | Meaning |
|---|---|---|
| 400 | invalid_request | Invalid, duplicate, unknown or conflicting inputs, or a cursor the source rejected. |
| 401 | unauthorized | Missing or incorrect service key. |
| 404 | not_found | Missing ad or route. |
| 429 | upstream_rate_limited | Source throttling. |
| 502 | upstream_challenged unsupported_page | Refused request or unsupported response structure. |
| 502 | upstream_error unsafe_redirect response_too_large request_limit | Bounded source failure. |
| 503 | busy | Worker capacity reached. |
| 504 | timeout | Request deadline elapsed. |
| 200 | partial | Skipped cards, unknown totals, unreachable next pages, an advertiser name without an exact match or without any match, truncated advertiser IDs or nested data, unavailable analytics, similar ads, summaries or report series, truncated report rows, or a board with more ads than one request returns. |