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
TikTok AD API
Prepare your request, then continue with your agent.
Selected price
$0.00188 / call
- Provider
- API
- Pricing
On this page
Overview
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
- Set OPENANY_API_KEY to your OpenAny API key.
- Review the supported inputs and set any required query value shown in the template.
- Check the HTTP response and business result before reading optional fields.
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
Related APIs
Playground
Run sends a real API request. Charges follow the published API contract.
Sellers
| Seller | Pricing | Requests · 30d | Performance | Access |
|---|---|---|---|---|
| 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 / call | 0 | —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— |
- 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.
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
Input parameters
Fields in this listing; additional options and input encoding can vary by provider.
| Parameter | Location | Type | Required | Description |
|---|---|---|---|---|
ad_id | URL query parametersquery | string | Yes | 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
ad_titlestringbrand_namestringcommentintegercostintegercountry_codestring[]creative_center_urlstringcredits_chargedintegercredits_remainingintegerctrnumberdetail_analysisnullfavoritebooleanhas_summarybooleanhighlight_textstringidstringindustry_keystringinteractive_time_analysisobjectclicksobjectanalysisobject[]secondintegervaluenumber
durationintegerhighlightinteger[]metricstringpercentilenumber
conversionobjectanalysisobject[]secondintegervalueinteger
durationintegerhighlightunknown[]metricstringpercentilenumber
ctrobjectanalysisobject[]secondintegervaluenumber
durationintegerhighlightinteger[]metricstringpercentilenumber
cvrobjectanalysisobject[]secondintegervalueinteger
durationintegerhighlightunknown[]metricstringpercentilenumber
remainobjectanalysisobject[]secondintegervalueinteger
durationintegerhighlightunknown[]metricstringpercentilenumber
is_searchbooleankeyword_listnulllanding_pagestringlikeintegerobjective_keystringobjectivesobject[]labelstringvalueinteger
pattern_labelunknown[]recommended_for_youobject[]ad_titlestringbrand_namestringcostintegerctrnumberfavoritebooleanidstringindustry_keystringis_searchbooleanlikeintegerobjective_keystringvideo_infoobjectcoverstringdurationnumberheightintegervidstringvideo_urlobject720pstring
widthinteger
shareintegersourcestringsource_keyintegersuccessbooleanvideo_infoobjectcoverstringdurationnumberheightintegervidstringvideo_urlobject540pstring720pstring
widthinteger
voice_overboolean
Agent integration
Copy the resource contract without sharing an API key.
Error handling
| Status | Next step |
|---|---|
400 | Check the offering and request fields. |
401 / 403 | Verify your credentials and access permissions. |
402 | Inspect the selected access mode and returned payment requirements. |
429 | Respect the returned rate limit and retry guidance. |
5xx | Inspect 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.
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 / Linuxprintf 'OpenAny API key: ' read -r -s OPENANY_API_KEY export OPENANY_API_KEY printf '\n'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 · cURLcurl \ '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'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 }