OpenAny
Get API keyAPI Key
APIAdvertisingData

tiktok logo
TikTok AD API

Get TikTok AD data via REST or OpenAny MCP—with pay-per-use pricing, no subscription, and no cookies required. Compare 14 implementations (anyapi, ScrapeCreators and TikHub), pass parameters such as adId, and retrieve structured data including returned ad id field, returned ad title field, returned brand name field, returned comments field, and returned cost field for content research and account lookup, and integration reference.

Selected price
$0.00188 / callPublished pricing
Sellers / APIs
3 / 14
Requests · 30d
0Selected implementation · last 30 days
Success rate · 30d
—No requests in this period
USE THIS API

TikTok AD API

Prepare your request, then continue with your agent.

Selected price

$0.00188 / call

Provider
API
Pricing
Connect your agent
On this page

Overview

Overview
TikTok AD API

TikTok Ad Library — Ad Library Ad API

Retrieve ad Library Ad Library Ad with the TikTok API. Provide ad_id in query. Read the response using the field paths below, preserving identifiers and the declared value types when mapping results.

Quick Facts

Fact Value
Access OpenAny REST
Authentication OpenAny API key in the Authorization header
Core inputs query: ad_id
Selected implementation scrapecreators · TikTok Ad Library — Ad Library Ad
Billing Follow the selected implementation pricing, billing unit, quantity and charge rules

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
id Identifier
ad_title Returned ad title field
brand_name Returned brand name field
comment Returned comment field
cost Returned cost field
country_code[] Returned country code field
creative_center_url Returned creative center url field
credits_charged Returned credits charged field

Quick Start

  1. Set OPENANY_API_KEY to your OpenAny API key.
  2. Review the supported inputs and set any required query value shown in the template.
  3. Check the HTTP response and business result before reading optional fields.
bash
curl \
  'https://api.openany.si/v1/agent-apis/scrapecreators/v1/tiktok/ad-library/ad?ad_id=1869335220395266' \
  -X GET \
  -H "Authorization: Bearer $OPENANY_API_KEY" \
  -H 'Content-Type: application/json'

Request and Response Examples

The response is a published documentation reference; its values may be historical. The request is an independent calling template. Use current returned identifiers and optional fields for your target resource.

Published TikTok Ad Library — Ad Library Ad API implementation contract.

Pricing and Billing

The pricing area reflects the selected API implementation. Review its billing unit and any request-dependent rules before calling; a source service's public availability does not determine OpenAny billing.

Frequently Asked Questions

View FAQ

Related APIs

Playground

Run sends a real API request. Charges follow the published API contract.

Request parameters
Creative Center Top Ads material ID or URL, or a public Ads Library ad ID or library.tiktok.com detail URL.

Sample response

Run a request to see the actual response. Published samples are in Examples.

Response result

Sellers

SellerPricingRequests · 30dPerformanceAccess
TikTok Ad Library Ad · POST · View API reference
$0.0012 / call—Select to load statistics
—successP50—
TikTok Ad Library Search · POST · View API reference
$0.0012 / call—Select to load statistics
—successP50—
TikTok Top Ads Search · POST · View API reference
$0.0012 / call—Select to load statistics
—successP50—
TikTok Ad Transparency Search · POST · View API reference
$0.0008 / call—Select to load statistics
—successP50—
Current
TikTok Ad Library — Ad Library Ad · GET · View API reference
$0.00188 / call0
—successP50—
TikTok Ad Library — Ad Library Search · GET · View API reference
$0.00188 / call—Select to load statistics
—successP50—
Get recommended ads · POST · View API reference
$0.001 / call—Select to load statistics
—successP50—
Get ad keyframe analysis · POST · View API reference
$0.001 / call—Select to load statistics
—successP50—
Get top ads spotlight · POST · View API reference
$0.001 / call—Select to load statistics
—successP50—
Get Top Ads filters · POST · View API reference
$0.001 / call—Select to load statistics
—successP50—
Search ads · POST · View API reference
$0.001 / call—Select to load statistics
—successP50—
Get ad interactive analysis · POST · View API reference
$0.001 / call—Select to load statistics
—successP50—
Get ad percentile data · POST · View API reference
$0.001 / call—Select to load statistics
—successP50—
Get single ad detail · POST · View API reference
$0.001 / call—Select to load statistics
—successP50—
Selected implementation traffic · 11/3/2026 – 12/3/2026 (UTC)
Selected pricing · scrapecreatorsUSD / call
Unit price
$0.00188

Statistics use persisted gateway logs from the last 30 days up to now, including today.
Success rate = successful requests / all requests;
P50 = median latency of successful requests.
Prices reflect the published API contract. Contract revision: 5. Price update time: not supplied.

calls

Total $0.188

API

Method
GET
Endpoint
https://api.openany.si/v1/agent-apis/scrapecreators/v1/tiktok/ad-library/ad
Content type
application/json
Authentication
Authorization: Bearer $OPENANY_API_KEY
View request and response examples

Input parameters

Fields in this listing; additional options and input encoding can vary by provider.

ParameterLocationTypeRequiredDescription
ad_idURL query parametersquerystringYes

Creative Center Top Ads material ID or URL, or a public Ads Library ad ID or library.tiktok.com detail URL.

Required markers inside a nested object or variant apply when that object or variant is used.

Response structure

Inferred from examples
  • ad_titlestring
  • brand_namestring
  • commentinteger
  • costinteger
  • country_codestring[]
  • creative_center_urlstring
  • credits_chargedinteger
  • credits_remaininginteger
  • ctrnumber
  • detail_analysisnull
  • favoriteboolean
  • has_summaryboolean
  • highlight_textstring
  • idstring
  • industry_keystring
  • interactive_time_analysisobject
    • clicksobject
      • analysisobject[]
        • secondinteger
        • valuenumber
      • durationinteger
      • highlightinteger[]
      • metricstring
      • percentilenumber
    • conversionobject
      • analysisobject[]
        • secondinteger
        • valueinteger
      • durationinteger
      • highlightunknown[]
      • metricstring
      • percentilenumber
    • ctrobject
      • analysisobject[]
        • secondinteger
        • valuenumber
      • durationinteger
      • highlightinteger[]
      • metricstring
      • percentilenumber
    • cvrobject
      • analysisobject[]
        • secondinteger
        • valueinteger
      • durationinteger
      • highlightunknown[]
      • metricstring
      • percentilenumber
    • remainobject
      • analysisobject[]
        • secondinteger
        • valueinteger
      • durationinteger
      • highlightunknown[]
      • metricstring
      • percentilenumber
  • is_searchboolean
  • keyword_listnull
  • landing_pagestring
  • likeinteger
  • objective_keystring
  • objectivesobject[]
    • labelstring
    • valueinteger
  • pattern_labelunknown[]
  • recommended_for_youobject[]
    • ad_titlestring
    • brand_namestring
    • costinteger
    • ctrnumber
    • favoriteboolean
    • idstring
    • industry_keystring
    • is_searchboolean
    • likeinteger
    • objective_keystring
    • video_infoobject
      • coverstring
      • durationnumber
      • heightinteger
      • vidstring
      • video_urlobject
        • 720pstring
      • widthinteger
  • shareinteger
  • sourcestring
  • source_keyinteger
  • successboolean
  • video_infoobject
    • coverstring
    • durationnumber
    • heightinteger
    • vidstring
    • video_urlobject
      • 540pstring
      • 720pstring
    • widthinteger
  • voice_overboolean

Agent integration

Copy the resource contract without sharing an API key.

Download MDView API Markdown

Error handling

StatusNext step
400Check the offering and request fields.
401 / 403Verify your credentials and access permissions.
402Inspect the selected access mode and returned payment requirements.
429Respect the returned rate limit and retry guidance.
5xxInspect the error and usage record before retrying a paid operation.

Examples

Official example

Example from the provider's documentation. Field values in your results will differ.

  1. Prepare your environment

    Use a terminal with cURL installed.

    Use an OpenAny API key with shared-balance access. Confirm availability and price before running; a call may charge your balance.

    Set the key in your terminal using the hidden prompt below. Keep its value out of source files and logs.

    Terminal · macOS / Linux
    printf 'OpenAny API key: '
    read -r -s OPENANY_API_KEY
    export OPENANY_API_KEY
    printf '\n'
  2. Run the request

    Paste the complete command below into your terminal.

    Values to replace before running 1

    Review these request fields before running. Keep the published provider and request method unchanged.

    ad_id
    Creative Center Top Ads material ID or URL, or a public Ads Library ad ID or library.tiktok.com detail URL.
    Terminal · cURL
    curl \
      'https://api.openany.si/v1/agent-apis/scrapecreators/v1/tiktok/ad-library/ad?ad_id=1869335220395266' \
      -X GET \
      -H "Authorization: Bearer $OPENANY_API_KEY" \
      -H 'Content-Type: application/json'
  3. Check the response

    Sample response · Documented HTTP 200

    Sample response
    {
      "ad_title": "I thought this was a gimmick until I tried it! A wrinkled shirt, one button, and a few minutes later... ready to wear. Tap the link in bio and see why everyone’s talking about Bellairon before it sells out. @Bellairon LLC ",
      "brand_name": "",
      "comment": 1,
      "cost": 1,
      "country_code": [
        "TR"
      ],
      "creative_center_url": "https://ads.tiktok.com/business/creativecenter/topads/7646829987799334920/pc/en",
      "credits_charged": 1,
      "credits_remaining": 49996315006,
      "ctr": 0.5,
      "detail_analysis": null,
      "favorite": false,
      "has_summary": false,
      "highlight_text": "",
      "id": "7646829987799334920",
      "industry_key": "label_22108000000",
      "interactive_time_analysis": {
        "clicks": {
          "analysis": [
            {
              "second": 0,
              "value": 0.2631578947368421
            }
          ],
          "duration": 91,
          "highlight": [
            1
          ],
          "metric": "click_cnt",
          "percentile": 0.99
        },
        "conversion": {
          "analysis": [
            {
              "second": 0,
              "value": 0
            }
          ],
          "duration": 91,
          "highlight": [],
          "metric": "convert_cnt",
          "percentile": 0.99
        },
        "ctr": {
          "analysis": [
            {
              "second": 0,
              "value": 0.048321828136158054
            }
          ],
          "duration": 91,
          "highlight": [
            1
          ],
          "metric": "retain_ctr",
          "percentile": 0.99
        },
        "cvr": {
          "analysis": [
            {
              "second": 0,
              "value": 0
            }
          ],
          "duration": 91,
          "highlight": [],
          "metric": "retain_cvr",
          "percentile": 0.99
        },
        "remain": {
          "analysis": [
            {
              "second": 0,
              "value": 1
            }
          ],
          "duration": 91,
          "highlight": [],
          "metric": "play_retain_cnt",
          "percentile": 0.99
        }
      },
      "is_search": false,
      "keyword_list": null,
      "landing_page": "https://www.amazon.com/dp/B0DRTC8XBW?ref=cm_sw_r_cso_wa_apin_dp_71W8F02XC4M4QZRQ5RQN&ref_=cm_sw_r_cso_wa_apin_dp_71W8F02XC4M4QZRQ5RQN&social_share=cm_sw_r_cso_wa_apin_dp_71W8F02XC4M4QZRQ5RQN&oas=true&utm_source=tiktok&utm_medium=paid&utm_id=__CAMPAIGN_ID__&utm_campaign=__CAMPAIGN_NAME__",
      "like": 92,
      "objective_key": "campaign_objective_reach",
      "objectives": [
        {
          "label": "campaign_objective_reach",
          "value": 5
        }
      ],
      "pattern_label": [],
      "recommended_for_you": [
        {
          "ad_title": "Adımlarınıza eğlence katmaya hazır mısınız? \"Hiç böyle çorap görmüş müydünüz?\" diyoruz ve iddiamızı ortaya koyuyoruz! ​Giyimkent Outlet İndirim Çadırı'nda çorap modasına yepyeni bir boyut getirdik. Sevdiğiniz popüler kültür ve kült anime karakterlerini, kolları hareket edebilen bu özel 3 boyutlu tasarım çoraplarla tarzınıza taşıyın.  İster günlük kombinlerinize eğlenceli bir dokunuş yapın, ister arkadaşlarınıza tebessüm ettirecek harika bir hediye seçin. Videomuzdaki gibi ister halay çektirin, ister horon teptirin; seçim sizin! ​Bu benzersiz ve eğlenceli tasarım çoraplarda dev fırsat: 2 Adet Sadece 100 TL! Favori karakterleriniz tükenmeden sizleri de Esenler'deki Giyimkent Outlet indirim çadırımıza bekliyoruz. Adresimiz: Oruçreis mah. Giyimkent Caddesi No:5 Esenler/İstanbul M7 Metro Hattı Giyimkent durağı önü. Hafta içi 10:00 ile 19:00 Hafta Sonu 10:00 - 20:00 Saatleri Arasında açıktır. #alışverişfestivali #kampanya #outlet #giyimkent ",
          "brand_name": "",
          "cost": 0,
          "ctr": 0.63,
          "favorite": false,
          "id": "7644102379697602567",
          "industry_key": "label_22108000000",
          "is_search": false,
          "like": 127,
          "objective_key": "campaign_objective_reach",
          "video_info": {
            "cover": "https://p16-common-sign.tiktokcdn.com/tos-alisg-p-0037/ogCtJD4GUCr8GavLIfI1jAQ9IDvNeGEAfjQgg9~tplv-noop.image?dr=18692&refresh_token=fc9b28a3&x-expires=1781231805&x-signature=zYq%2F3BQnXoM8CMFBFKDON6lhPBs%3D&t=9276707c&ps=14f1eb3e&shp=9e36835a&shcp=317596d8&idc=my&VideoID=v1c044g50000d86qrfnog65v7nuvf30g",
            "duration": 13.213,
            "height": 1024,
            "vid": "v1c044g50000d86qrfnog65v7nuvf30g",
            "video_url": {
              "720p": "https://v16m-default.tiktokcdn.com/1342656e028b133716a1e892a89e214a/6a2b70bd/video/tos/alisg/tos-alisg-pve-0037c001/os3NtUfeIHH1ALjc3Q4IWADrx9BGCBG8IEgejj/?a=0&bti=NTU4QDM1NGA%3D&&bt=837&ft=cApXJCz7ThWHanz9LGZmo0P&mime_type=video_mp4&rc=ZDY4NTppZjg4ZWY6Nzc2NEBpajZ5cXk5cml0OzMzODczNEAwYi41YWMwNWMxYGEyM2IyYSMtY3I0MmRrbzNhLS1kMWBzcw%3D%3D&vvpl=1&l=20260612043632D3452D043274878B2384&btag=e000b0000"
            },
            "width": 576
          }
        }
      ],
      "share": 1,
      "source": "Others",
      "source_key": 73,
      "success": true,
      "video_info": {
        "cover": "https://p16-common-sign.tiktokcdn.com/tos-maliva-p-0068c799-us/oIbqBdvfEAiFpgvAOgrQHCF5R0mkDDLiEfvQDS~tplv-noop.image?dr=18692&refresh_token=2cdb79e2&x-expires=1781231880&x-signature=W%2BBTq1VGRRaNnIuMGUpWWSgmOoo%3D&t=9276707c&ps=14f1eb3e&shp=9e36835a&shcp=317596d8&idc=my&VideoID=v12044gd0000d8erq07og65h1cq991gg",
        "duration": 89.767,
        "height": 1280,
        "vid": "v12044gd0000d8erq07og65h1cq991gg",
        "video_url": {
          "540p": "https://v16m-default.tiktokcdn.com/3e7ec770348dbc627fc02ea1e8417c25/6a2b7108/video/tos/maliva/tos-maliva-ve-0068c799-us/oIN2GPIRgHAUBHOeNfLk2HBSERoJeIALGC3jAE/?a=0&bti=NTU4QDM1NGA%3D&&bt=315&ft=cApXJCz7ThWHKnz9LGZmo0P&mime_type=video_mp4&rc=Omk6ZWQ7Nzc7OGY8PGVnOkBpajQ8Zms5cjN1OzMzZzczNEBgNDAzXl9hXjMxLzEvXjFiYSNkNm4uMmQ0bmJhLS1kMS9zcw%3D%3D&vvpl=1&l=20260612043631BE40574FD5FFAA863321&btag=e00090000",
          "720p": "https://v16m-default.tiktokcdn.com/9f16ea869602069b9fdad27dc113cb48/6a2b7108/video/tos/maliva/tos-maliva-ve-0068c799-us/ooEipQa9HbhJ4ChzASIngUPhBAdXiABIvxU2E/?a=0&bti=NTU4QDM1NGA%3D&&bt=877&ft=cApXJCz7ThWHKnz9LGZmo0P&mime_type=video_mp4&rc=ZTg3OTQ0NTQzZGVpNWg6NkBpajQ8Zms5cjN1OzMzZzczNEBhNC0yMDViNi8xLV9hX2AuYSNkNm4uMmQ0bmJhLS1kMS9zcw%3D%3D&vvpl=1&l=20260612043631BE40574FD5FFAA863321&btag=e00090000"
        },
        "width": 720
      },
      "voice_over": false
    }

Common questions

Which inputs identify this request?

Provide ad_id in query (string). Keep identifiers and URLs in the formats documented for this implementation.

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.

How should I map the returned fields?

Use the documented response paths with their returned types. Keep null, empty collections, false and zero distinct, and retain the identifiers needed to match results to the request.

Can I reuse request parameters from another endpoint?

Use the selected implementation schema. Similar operation names, providers or versions do not establish identical input locations, types or response fields.

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.

Use TikTok AD API with your agent

Inspect endpoint contracts and confirm availability and pricing before a paid call.