# 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/market/apis/tiktok/tiktok-ad/?offering=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. Price update time: not supplied.
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
}
```

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

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

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