# TikTok Ad Library — Ad Library Search

Get TikTok AD data via REST or OpenAny MCP—with pay-per-use pricing, no subscription, and no cookies required. Powered by ScrapeCreators, pass parameters such as query, region, and retrieve structured data including pagination cursor, continuation flag, identifier, name, and returned audit status field for content research and account lookup, and integration reference.

Documentation: https://openany.si/tiktok/tiktok-ad/0b243c2f-276a-430a-abec-fa9ed386b216/
API ID: 0b243c2f-276a-430a-abec-fa9ed386b216
Provider: scrapecreators
Contract revision: 7
Method: GET
Endpoint: https://api.openany.si/v1/agent-apis/scrapecreators/v1/tiktok/ad-library/search
Page update time: 2026-12-03T02:53:41.835Z
Access: OpenAny REST
OpenAny MCP: availability is not supplied by this REST contract. Check get_api on the configured OpenAny MCP server before execution.
Request content type: none
Execution mode: sync
Authentication: Authorization: Bearer $OPENANY_API_KEY

## Billing
Price: $0.00188 / call
API-key calls use your shared balance. Review the published billing rules before making a paid request.
Price source: OpenAny public API contract.
Contract update time: 2026-12-03T02:53:33.330Z. This is not a price-change timestamp.
```json
{
  "currency": "USD",
  "mode": "fixed",
  "priceMicroUsd": "1880",
  "rounding": null,
  "unit": "call",
  "unitQuantity": null
}
```

## Usage and limits
## TikTok Ad Library — Ad Library Search API

Search for TikTok's public Ads Library using either query for a general search or advertiser\_name for advertiser-specific results. Review the optional inputs supported by the selected implementation. Read the response using the field paths below, preserving identifiers and the declared value types when mapping results.

## What You Can Build

- **Content research and account lookup**: Keep source records connected to their content and account identifiers.
- **Integration reference**: Use the selected request format and keep source identifiers with the returned result.

## Documented Response Fields

| Field | Meaning |
| --- | --- |
| `cursor` | Pagination cursor |
| `has_more` | Continuation flag |
| `ads[].id` | Identifier |
| `ads[].name` | Name |
| `ads[].adv_biz_ids` | Returned adv biz ids field |
| `ads[].audit_status` | Returned audit status field |
| `ads[].estimated_audience` | Returned estimated audience field |
| `ads[].first_shown_date` | Returned first shown date field |

## Request parameters
```json
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "TikTok Ad Library — Ad Library Search request inputs",
  "$comment": "Declared input types grouped by HTTP location. Path, query and header values describe decoded inputs and are serialized as text on the wire; body is the payload. This is not an exhaustive provider contract or a schema for the raw HTTP request.",
  "type": "object",
  "properties": {
    "path": {
      "type": "object",
      "properties": {}
    },
    "query": {
      "type": "object",
      "properties": {
        "query": {
          "type": "string",
          "description": "General ad search. Provide either query or advertiser_name, not both."
        },
        "advertiser_name": {
          "type": "string",
          "description": "Advertiser name to resolve through TikTok's typeahead and search by advertiser entity. Falls back to TikTok's name search when no entity matches. Provide either advertiser_name or query, not both."
        },
        "adv_biz_ids": {
          "type": "string",
          "description": "TikTok advertiser business ID from a See all ads link. Use it with advertiser_name to pin the exact advertiser. Required companion: advertiser_name; ID-only searches return 400 because TikTok ignores the ID without the name."
        },
        "cursor": {
          "type": "string",
          "description": "Opaque cursor returned from the previous response."
        },
        "start_time": {
          "type": "integer",
          "description": "Inclusive lower bound for the ad's last shown date; end_time is the inclusive upper bound. Supply start_time and end_time together as positive base-10 safe integers, no greater than 9007199254740991, in Unix seconds (preferred) or milliseconds. Values greater than 9999999999 are interpreted as milliseconds, divided by 1000 and rounded down to seconds. start_time must be less than or equal to end_time after normalization; equal bounds are accepted. If both are omitted, the last-shown date window defaults to the rolling 30 days ending at the time of each request. A missing companion, empty value, sign, fraction, scientific notation, whitespace, date string, unsafe integer or reversed interval returns 400 bad_request."
        },
        "end_time": {
          "type": "integer",
          "description": "Inclusive upper bound for the ad's last shown date; start_time is the inclusive lower bound. Supply start_time and end_time together as positive base-10 safe integers, no greater than 9007199254740991, in Unix seconds (preferred) or milliseconds. Values greater than 9999999999 are interpreted as milliseconds, divided by 1000 and rounded down to seconds. start_time must be less than or equal to end_time after normalization; equal bounds are accepted. If both are omitted, the last-shown date window defaults to the rolling 30 days ending at the time of each request. A missing companion, empty value, sign, fraction, scientific notation, whitespace, date string, unsafe integer or reversed interval returns 400 bad_request."
        },
        "region": {
          "type": "string",
          "description": "Filter by the ad's targeting/delivery country, not the advertiser's registration country. Omitted region defaults to all supported countries, not every country worldwide. Values are case-insensitive; choose all or one of the listed country codes. US is not supported. Empty values, unsupported countries and multiple countries return 400 bad_request.",
          "enum": [
            "all",
            "AT",
            "BE",
            "BG",
            "BR",
            "CH",
            "CY",
            "CZ",
            "DE",
            "DK",
            "EE",
            "ES",
            "FI",
            "FR",
            "GB",
            "GR",
            "HR",
            "HU",
            "IE",
            "IS",
            "IT",
            "LI",
            "LT",
            "LU",
            "LV",
            "MT",
            "NL",
            "NO",
            "PL",
            "PT",
            "RO",
            "SE",
            "SI",
            "SK",
            "TR"
          ]
        }
      }
    },
    "headers": {
      "type": "object",
      "properties": {}
    }
  },
  "required": [
    "path",
    "query",
    "headers"
  ]
}
```

## Response fields
Source: Inferred from examples; not an exhaustive provider schema.
```json
{
  "type": "object",
  "properties": {
    "ads": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "adv_biz_ids": {
            "type": "string"
          },
          "audit_status": {
            "type": "string"
          },
          "estimated_audience": {
            "type": "string"
          },
          "first_shown_date": {
            "type": "integer"
          },
          "id": {
            "type": "string"
          },
          "image_urls": {
            "type": "array",
            "items": {}
          },
          "impression": {
            "type": "integer"
          },
          "last_shown_date": {
            "type": "integer"
          },
          "name": {
            "type": "string"
          },
          "rejection_info": {
            "type": "null"
          },
          "show_mode": {
            "type": "integer"
          },
          "sor_audit_status": {
            "type": "string"
          },
          "spent": {
            "type": "string"
          },
          "type": {
            "type": "string"
          },
          "url": {
            "type": "string"
          },
          "videos": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "cover_img": {
                  "type": "string"
                },
                "video_url": {
                  "type": "string"
                }
              }
            }
          }
        }
      }
    },
    "advertiser_matches": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "ids": {
            "type": "string"
          },
          "name": {
            "type": "string"
          }
        }
      }
    },
    "advertiser_name": {
      "type": "string"
    },
    "credits_charged": {
      "type": "integer"
    },
    "credits_remaining": {
      "type": "integer"
    },
    "cursor": {
      "type": "string"
    },
    "has_more": {
      "type": "boolean"
    },
    "resolved_advertiser_name": {
      "type": "string"
    },
    "source": {
      "type": "string"
    },
    "success": {
      "type": "boolean"
    },
    "total": {
      "type": "integer"
    }
  }
}
```

## Request example
Scenario: Official example
```bash
curl \
  'https://api.openany.si/v1/agent-apis/scrapecreators/v1/tiktok/ad-library/search?query=Gymshark&region=GB' \
  -X GET \
  -H "Authorization: Bearer $OPENANY_API_KEY" \
  -H 'Content-Type: application/json'
```

## Response example
Example from the provider's documentation. Field values in your results will differ.
Sample response · Documented HTTP 200
```json
{
  "ads": [
    {
      "adv_biz_ids": "7078923208527618049",
      "audit_status": "1",
      "estimated_audience": "1K-10K",
      "first_shown_date": 1784937600000,
      "id": "1871655924410641",
      "image_urls": [],
      "impression": 0,
      "last_shown_date": 1785024000000,
      "name": "GYMSHARK LTD",
      "rejection_info": null,
      "show_mode": 1,
      "sor_audit_status": "1",
      "spent": "",
      "type": "2",
      "url": "https://library.tiktok.com/ads/detail/?ad_id=1871655924410641",
      "videos": [
        {
          "cover_img": "https://p16-common-sign.tiktokcdn.com/...",
          "video_url": "https://library.tiktok.com/api/v1/cdn/..."
        }
      ]
    }
  ],
  "advertiser_matches": [
    {
      "ids": "7078923208527618049",
      "name": "GYMSHARK LTD"
    }
  ],
  "advertiser_name": "Gymshark",
  "credits_charged": 1,
  "credits_remaining": 100,
  "cursor": "opaque cursor for the next page",
  "has_more": true,
  "resolved_advertiser_name": "GYMSHARK LTD",
  "source": "tiktok_public_ads_library",
  "success": true,
  "total": 62344
}
```

## Error handling
400: Check the request fields.
401 / 403: Verify credentials and access permissions.
402: Inspect payment requirements and balance.
429: Respect returned retry guidance.
5xx: Inspect the error and usage record before retrying a paid operation.

## Common questions
### Does this implementation require business input parameters?
No business input is marked as required by the selected schema. Review any optional filters and the documented request format before calling.

### Which pagination or result-size inputs are exposed?
cursor is string; start_time is integer. Use only the exposed inputs and the continuation metadata returned by this endpoint; a size limit is not automatically a page or cursor.

### Which values can I use for region?
The selected schema accepts all, AT, BE, BG, BR, CH, CY, CZ, DE, DK, EE, ES, FI, FR, GB, GR, HR, HU, IE, IS, IT, LI, LT, LU, LV, MT, NL, NO, PL, PT, RO, SE, SI, SK, TR. Keep the documented string type and exact spelling for this input.

### Where do URL parameters belong?
Use the documented path and query inputs. This GET implementation does not use a JSON request body; keep path values and URL query values in their declared locations.

### Which API key should I use?
Use your OpenAny API key as Bearer authentication on the documented OpenAny route.

### Where can I check the current request price?
Check the pricing area for the selected API implementation. Follow its billing unit, quantity and any request-dependent rules before sending the request.

## Available implementations
- anyapi: https://openany.si/tiktok/tiktok-ad/5a707d0d-6a2e-4d20-8d4d-3815d7aed496/
- anyapi: https://openany.si/tiktok/tiktok-ad/603f362b-02a4-4ea1-bf03-0aff79f4012b/
- anyapi: https://openany.si/tiktok/tiktok-ad/6f094d5d-3fc2-48e6-ace0-0082f93d9987/
- anyapi: https://openany.si/tiktok/tiktok-ad/8841b046-b89f-4dfb-bcd9-5cb189a1c77e/
- scrapecreators: https://openany.si/tiktok/tiktok-ad/05f2b06f-fc84-4a1d-a8a7-675ccfd4766a/
- scrapecreators: https://openany.si/tiktok/tiktok-ad/0b243c2f-276a-430a-abec-fa9ed386b216/
- tikhub: https://openany.si/tiktok/tiktok-ad/0b986dce-2b15-467d-b45d-95b4e06d6362/
- tikhub: https://openany.si/tiktok/tiktok-ad/2946c851-58ea-4912-86a9-f9cc50ca9192/
- tikhub: https://openany.si/tiktok/tiktok-ad/3c3ad071-9a32-402b-a572-ba02dabe019d/
- tikhub: https://openany.si/tiktok/tiktok-ad/42a0e4ea-41b8-43e1-864b-3b1910ad03ee/
- tikhub: https://openany.si/tiktok/tiktok-ad/462ae38d-a66d-495a-99f0-0599da0cb715/
- tikhub: https://openany.si/tiktok/tiktok-ad/9dfa7d86-8f5b-43ac-8bdc-eb7b4a0a488a/
- tikhub: https://openany.si/tiktok/tiktok-ad/b80b338c-6891-4598-adc1-9c156181a581/
- tikhub: https://openany.si/tiktok/tiktok-ad/f4f7568c-b659-4a0b-bab1-93bc374f1838/

Integration guide: https://openany.si/docs/
Agent setup: https://openany.si/SKILL.md
