Ad Library · Guide

How to get Ad Library tiktok ad details

TL;DR
To get Ad Library tiktok ad details, sign up for a free Captapi key, then send one GET request to /v1/ad-library/tiktok/ad-details with your input. You get clean JSON back in seconds for 17 credits per call — no OAuth, scraping or platform SDKs. Get a TikTok Ad Library ad — creative, advertiser, and delivery fields as structured JSON.

How to get Ad Library tiktok ad details (step by step)

  1. 1

    Get a free API key

    Create a free Captapi account (100 credits, no card) and generate an API key from the dashboard.

  2. 2

    Call the TikTok Ad Details API

    Send an authenticated GET request to /v1/ad-library/tiktok/ad-details with your input. No OAuth, no scraping setup.

  3. 3

    Read the JSON response

    Parse the clean JSON response. Pass cache=true for a free 24h cache hit; default is always fresh.

Code example

curl "https://api.captapi.com/v1/ad-library/tiktok/ad-details?url=https%3A%2F%2Flibrary.tiktok.com%2Fads%2Fdetail%2F%3Fad_id%3D1872034324356433" \
  -H "Authorization: Bearer capt_live_..."
# or: -H "x-api-key: capt_live_..."

What the response looks like

{
  "success": true,
  "data": {
    "platform": "tiktok_ad_library",
    "id": "1872034324356433",
    "url": "https://library.tiktok.com/ads/detail/?ad_id=1872034324356433",
    "text": "#gandurilemele #foryoupage❤️❤️ Buna dimineața tuturor!Zi binecuvântata tuturor!🙏🙏🙏",
    "adFormat": "video",
    "firstShown": "07/29/2026",
    "lastShown": "07/29/2026",
    "advertiser": {
      "name": "alyalina535"
    },
    "media": [
      "https://library.tiktok.com/api/v1/cdn/1785356384/video/aHR0cHM6Ly92NzcudGlrdG9rY2RuLmNvbS8zYTU3ZmRiZjYzZGIzYjY5Nzc1NzA5ZjQ0ZTMwOGZkNC82YTZhYjUwZS92aWRlby90b3MvdXNlYXN0MmEvdG9zLXVzZWFzdDJhLXZlLTAwNjgtZXV0dHAvbzRJMXRCVHdBNUVFNlEzMW01emlpY1NNSUE0ZjlLQW53b0JMQ2sv/7467d396-0387-4b9f-90c7-2d2cd26db171?a=475769&bt=1049&btag=e00090000&bti=PDU2NmYwMy86&ft=.NpOcInz7ThRcbuGXq8Zmo&l=20260730041944142876664F10EA1EB193&mime_type=video_mp4&rc=NWZoZWU8ZDM6NDU3OGk6ZEBpM3Q0aHM5cjxsPDMzZjczNUA2YWM2MF9eXmExMWBeYDFgYSNnMjNmMmRzcGdhLS1kMTNzcw%3D%3D&signature=Qzo7c7UEa5N40yYL1KKsuy%2BR%2BCnqSwFptCMo9QOZPtQ%3D&vvpl=1"
    ]
  }
}

Billing metadata (credits charged, cache hit/miss) is returned in the X-Captapi-Credits and X-Captapi-Cache response headers.

Request parameters

NameTypeRequiredDescription
urlstring YesTikTok Ad Library URL or ad ID. The URL platform must match this endpoint's platform. Do not pass cross-platform URLs, e.g. YouTube to TikTok, Instagram to Facebook, LinkedIn to X/Twitter, or Pinterest to Rumble.
countrystringNoTwo-letter ISO country code. Default DE.
cachebooleanNoSet true to serve from the 24h response cache. Default false — always fetch fresh data.

Frequently asked questions

What does the TikTok Ad Details API do?

The TikTok Ad Details API lets you fetch full metadata and key stats from a public Ad Library ad using one GET request to /v1/ad-library/tiktok/ad-details. It returns clean JSON — no OAuth or infrastructure setup required.

How many credits does the TikTok Ad Details API cost?

Each successful call costs 17 credits. Pass cache=true to serve from the 24h shared cache (0 credits on hit); default is always fresh. Failed or empty results are never charged.

Do I need a Ad Library API key or OAuth?

No. A single Captapi key works across every platform Captapi supports — YouTube, TikTok, Instagram, Facebook, Twitter/X, Reddit, Threads, Bluesky, Pinterest, LinkedIn, Rumble, Spotify, Kwai, and more. We handle proxies, rate limits, retries, and authentication for you.

Is the TikTok Ad Details API suitable for production use?

Yes. It is a stable REST endpoint with predictable JSON and automatic retries. Pass cache=true to serve from the 24h shared cache (0 credits on hit); default is always fresh. Use it for analytics, monitoring, and content automation.

Ready to get Ad Library tiktok ad details?

Start free with 100 credits — no credit card required.

Get your free API key