FeedMCP

Data APIs / TikTok

TikTok ad API

One ad in the TikTok Ads Library: advertiser, video, cover, countries, first and last shown and reach range.

Item Value
Endpoint GET https://api.feedmcp.com/v1/tiktok/ads/get
ID tiktok.ads.get
Price $0.002 / call
Returns One Ad object
Auth Authorization: Bearer $FEEDMCP_API_KEY

impressions is the reach range TikTok publishes, such as 0–1K.

Parameters

Name Type Required Description
id string one of Ad ID (the number after ad_id= in the link)
url string one of Ad link (library.tiktok.com/ads/detail/?ad_id=…)

Every endpoint also takes view=full to include the platform's raw data as raw, at the same price.

Returned fields

data.item is one Ad object, with the same fields on every platform:

Field Type Description
id string Ad ID, which the library's ad endpoint takes: the library ID on Meta, "AR…/CR…" on Google, a number on LinkedIn and TikTok
platform string Library: meta, google, linkedin or tiktok
url string | null Link to the ad in the library
advertiser.id string | null Advertiser ID: the Facebook page ID on Meta, the AR… ID on Google; pass it to that library's advertiser ads
advertiser.name string | null Advertiser name
format string | null Format, such as image, video, text, dpa (dynamic product ads) or Carousel Ad
headline string | null Headline
text string | null Body copy
cta string | null Call-to-action text, such as Shop now
landing_url string | null Landing page
images string[] Image URLs
videos string[] Video URLs
first_shown string | null First shown, ISO 8601, UTC
last_shown string | null Last shown (today for ads still running)
active boolean | null Still running (Meta only)
placements string[] Placements (Meta only): facebook, instagram, messenger, threads or audience_network
countries string[] Countries shown in, two-letter codes (when the library publishes them)
impressions {min, max} | null Impression range (when the library publishes it; reach range on TikTok)
paid_by string | null Who paid (LinkedIn, and political ads on Meta)

When you are charged

$0.002 per call that returns data. Not found, no data, bad parameters, platform errors and timeouts are free.

Each answer carries meta.billing: what this call cost and the balance left.

Request

cURL

curl "https://api.feedmcp.com/v1/tiktok/ads/get?id=1881016343088210" \
  -H "Authorization: Bearer $FEEDMCP_API_KEY"

Python

import os, requests

r = requests.get(
    "https://api.feedmcp.com/v1/tiktok/ads/get",
    params={"id": "1881016343088210"},
    headers={"Authorization": f"Bearer {os.environ['FEEDMCP_API_KEY']}"},
    timeout=30,
)
print(r.json())

JavaScript

const res = await fetch("https://api.feedmcp.com/v1/tiktok/ads/get?id=1881016343088210", {
  headers: { Authorization: `Bearer ${process.env.FEEDMCP_API_KEY}` },
});
console.log(await res.json());

MCP

From an AI with FeedMCP installed, the call tool:

{
  "endpoint": "tiktok.ads.get",
  "params": {
    "id": "1881016343088210"
  },
  "max_price": "0.002"
}

Response

The data below is made up; the shape is the real one.

{
  "code": "ok",
  "request_id": "req_7Qm2kXb9TzLp",
  "data": {
    "item": {
      "id": "1881016343088211",
      "platform": "tiktok",
      "url": "https://library.tiktok.com/ads/detail/?ad_id=1881016343088211",
      "advertiser": {
        "id": "7703409552334815250",
        "name": "Trail Outfitters GmbH"
      },
      "format": "video",
      "headline": null,
      "text": null,
      "cta": null,
      "landing_url": null,
      "images": [
        "https://p16-common-sign.tiktokcdn.com/cover.jpeg"
      ],
      "videos": [
        "https://library.tiktok.com/api/v1/cdn/mock/video"
      ],
      "first_shown": "2026-11-05T00:00:00.000Z",
      "last_shown": "2026-11-06T00:00:00.000Z",
      "active": null,
      "placements": [],
      "countries": [
        "DE",
        "FR"
      ],
      "impressions": {
        "min": 10000,
        "max": 100000
      },
      "paid_by": null
    }
  },
  "page": null,
  "warnings": [],
  "meta": {
    "endpoint": "tiktok.ads.get",
    "platform": "tiktok",
    "fetched_at": "2026-11-19T08:00:00.000Z",
    "source": "FeedMCP",
    "catalog_revision": "d09a736bd39e8b3f",
    "billing": {
      "charged": true,
      "amount": "0.002",
      "currency": "USD",
      "balance": "9.98"
    }
  }
}

Errors are described in Errors: each says whether you were charged (charged) and whether to retry (retry).

Other TikTok endpoints

Questions

How much does the TikTok ad endpoint cost?

$0.002 per call that returns data. Not found, no data, bad parameters, platform errors and timeouts are free.

Do I need a platform account?

No. Only public data is read.

A video ID is the number after /video/ in a video link; an account is the username after @ (without the @); a TikTok Shop product is the number after /pdp/, a shop is shop.id in a product.

How do I use it from an AI?

Install the MCP server and ask; your AI calls tiktok.ads.get.