100 free credits. No credit card required.Start building
Logo
Back to blog

TikTok Metadata API: AI Label, Places and Linked Accounts

·10 min read

TikTok video rows carry TikTok's AI-made label, the tagged place, caption files and the creator's linked Instagram, at the same price. Exact counts cost less.

TikTok Metadata API: AI Label, Places and Linked Accounts

TikTok metadata from SocialCrawl used to stop at a video's caption, counts, author and sound. Now each video row also says whether TikTok labelled the video as AI-made (post.ext.created_by_ai), whether it ran as an ad, its language, region and caption files. On video lists it also carries the place the video was tagged at, the creator's linked Instagram, YouTube and X accounts, and the collaborators. None of it costs a credit more, and the two opt-ins that look up exact counts and account dates dropped from 2 extra credits to 1.

TikTok callBeforeAfter
TikTok's AI-made label on a videoNot returnedpost.ext.created_by_ai on every video endpoint
Ad flag, language and regionOnly when one source served the rowFilled whichever source answers
Tagged placeNot returnedpost.ext.place with name, category, address and coordinates
Caption filesNot returnedpost.ext.captions: language, auto-generated flag, format, link and expiry
include=exact_counts on tiktok/post+2 credits+1, and 0 on a row that already arrived exact
include=account on tiktok/profile+2 credits+1
tiktok/search with limit of 30 or less10 credits1 credit
tiktok/song, uncachedAbout 4.4 secondsAbout 1.5 seconds

The rest of the release is in everything we shipped in November 2026. For a walkthrough of profiles, videos and search from the start, read how to scrape TikTok in 2026.

What TikTok metadata does a video row carry now?

Here is one row from a tiktok/search call, trimmed to the November fields:

bash
curl -s "https://www.socialcrawl.dev/v1/tiktok/search?query=ai%20generated%20video" \
  -H "x-api-key: $SOCIALCRAWL_API_KEY"
json
{
  "post": {
    "id": "<video_id>",
    "engagement": { "views": 4417504, "likes": 132587, "comments": 3942, "shares": 35532, "saves": 31539 },
    "ext": {
      "created_by_ai": true,
      "ran_as_ad": false,
      "content_language": "en",
      "region": "DE",
      "counts_approximate": false,
      "media_type": "video",
      "place": {
        "id": "<location_id>",
        "name": "Billie Jean",
        "category": "Bars and Clubs",
        "address": "Rue St Jean en Isle 20, 4000 Liège, Belgium",
        "latitude": 50.64179,
        "longitude": 5.569,
        "video_count": 681
      },
      "captions": [
        { "language": "en", "auto_generated": true, "format": "webvtt", "url": "https://...", "expires_at": "..." }
      ]
    }
  }
}
  • created_by_ai is TikTok's own AI-generated content label: true on a labelled video, false when the label block carries no AI label, null when the source sends no label block.
  • ran_as_ad says the video was promoted as an ad. region is the country TikTok registers the video to, normally the creator's account country when they posted, and content_language is the language TikTok detected.
  • counts_approximate is false when the counts on the row are exact and true when they are TikTok's rounded display figures (2.1M rather than 2,100,267).
  • place is the place the creator tagged, null when untagged.
  • captions lists the caption files TikTok publishes for the video, with links that expire. [] means the caption block holds no file.
  • media_type tells a video from a photo carousel, and a carousel's slides arrive in post.ext.media. Mentioned accounts are in mentioned_user_ids.

The call above cost 1 credit for its page of rows.

How do you read TikTok's AI-generated content label in bulk?

The label is a column you can filter on. On a search for "ai generated video", 37 of 41 rows came back with created_by_ai: true. It shows up in three places:

  • Any video endpoint. Filter post.ext.created_by_ai yourself on tiktok/search, profile/videos or tiktok/post.
  • Discover. prism/discover takes ai_labelled=keep, exclude or only, so a research run can leave AI-labelled videos out or keep only them.
  • Creator search. prism/creators and Discover account rows carry ai_labelled_share, the share of a creator's labelled posts that TikTok marks AI-made.

Which accounts and places come with a video now?

On video lists such as profile/videos and search, rows carry the creator's linked accounts and the video's collaborators:

json
{
  "post": {
    "ext": {
      "author_instagram_handle": "<instagram_handle>",
      "author_youtube_channel_id": null,
      "author_twitter_handle": null,
      "collaborators": [
        { "id": "<user_id>", "username": "<handle>", "display_name": "..." },
        { "id": "<user_id>", "username": "olympics", "display_name": "Olympics™" }
      ]
    }
  }
}

On one creator's latest page, all 10 rows carried the linked Instagram handle. The X handle stays null until TikTok sends one. Send the Instagram handle to instagram/profile to get the same creator on Instagram without matching names by hand.

Places. post.ext.place gives each tagged video its place id, name, category, address, city code, coordinates and video count. To start from a place, tiktok/search/locations?query= finds places by name with the location_id other calls take, for 1 credit. tiktok/location/posts also takes query=seoul directly: it picks the place with that exact name (or the first whose name or address holds every word), names it and its location_id in data._warnings, and returns the videos. A name that matches no place is a free 400.

What do TikTok profiles and comments add?

Profiles. tiktok/profile carries author.ext.sec_uid, account_type (personal, creator or business) and company_name. A brand account returns "account_type": "business" with its legal name, such as "Nike, Inc.". user_id also takes a sec_uid. The account's creation date comes from include=account, which adds author.joined_at and the country its recent videos were posted from, now for 1 extra credit, refunded when the lookup fails.

Comments. Rows on tiktok/post/comments and video/comment/replies carry the commenter's id, region and language, the comment's own language, and whether the creator liked it:

json
{
  "comment": {
    "engagement": { "likes": 5251, "replies": 13 },
    "ext": {
      "author_id": "<user_id>",
      "author_region": "NG",
      "author_language": "en",
      "creator_liked": false,
      "language": "ms"
    }
  }
}

On one large creator's video, all 49 comments on the first page carried a region, from 25 countries. Count author_region across a few pages to see where a video's commenters are, at 1 credit a page.

What got cheaper and faster on TikTok?

Exact counts. include=exact_counts on tiktok/post adds 1 credit, down from 2, kept only when the exact view, like, comment, share and save counts come back. On the eleven video lists such as profile/videos and search, it adds 1 credit per row made exact, so a page holds at most 10 extra credits where it held 20. A row that already arrives exact is marked counts_approximate: false and costs nothing extra.

Search. Since October, tiktok/search with a limit of 30 or less returns the normal page cut to limit rows for 1 credit and keeps next_cursor. It used to cost 10 credits for limit=10.

Songs and sounds. tiktok/song answers in about 1.5 seconds uncached, where it averaged 4.4, and a missing sound is a free 404 in under 3 seconds. sound= (up to 10 sound ids) keeps only videos that use those sounds on tiktok/search, search/top, search/hashtag and song/videos. data.adoption.by_country counts videos and distinct creators per country and per day across the returned rows, and tiktok/song returns matched_song_id.

Local trending and transcripts. A short tiktok/trending?feed=local page pulls again in the same call until it holds about 20 videos, at 5 credits, where some calls used to end with 3 to 16. tiktok/post/transcript with language set to zu, yo, ha, sw or pcm transcribes videos up to 10 minutes in the language spoken, for 10 credits, where live Yoruba, Hausa and isiZulu videos used to answer 404 video_gone.

Top Ads totals. tiktok/ads/top?include=total returns how many distinct ads match your keyword, country and period. For skincare in the US over 180 days that was 290 ads, where a call stopped at 100 with no count. It costs 1 credit per ad counted, between 10 and 400.

Where does TikTok metadata stop?

  • Some fields depend on the endpoint. Linked accounts, collaborators and post.ext.place arrive on video lists such as profile/videos, search and location/posts, not on tiktok/post.
  • Fields are filled only when TikTok sends them. author_twitter_handle is often null, captions is [] on videos without a caption file, and place is null on untagged videos.
  • The AI label comes from TikTok. created_by_ai reports the label TikTok attaches, and SocialCrawl runs no detection of its own. On a few videos tiktok/search and tiktok/post read the label differently, so filter on one endpoint consistently.
  • Comment region and language are null on pages a backup source serves.
  • Place search matches loosely. If the first rows of tiktok/search/locations look wrong, add the country to the name (Seoul Korea).

For credit costs on followers, comments and search, see the TikTok followers API guide, for country filters on search see TikTok video search, and for lookalike creators see similar TikTok accounts. The TikTok data API comparison puts the prices side by side.

Frequently asked questions

Can I tell if a TikTok video is AI-generated through an API?

Yes. Every TikTok video endpoint returns post.ext.created_by_ai: true when TikTok labelled the video as AI-generated, false when its label block carries no AI label, and null when no label block came back. It reports TikTok's label and does not run its own detection.

What metadata does the TikTok API return for a video?

Counts, caption, author, sound and dates as before, plus the AI label, ad flag, language, region, caption files, media type and mentioned accounts on every video endpoint. Video lists such as profile/videos and search add the tagged place, the creator's linked Instagram, YouTube and X accounts, and the collaborators.

Do the new TikTok fields cost extra credits?

No. They arrive on rows you already get at the same price. Only the opt-ins cost more: include=exact_counts and include=account each add 1 credit, kept only when the data comes back, and rows that already arrive exact cost nothing extra.

How do I get TikTok videos from a place?

Call tiktok/location/posts with query set to a place name, such as seoul, or with a location_id from tiktok/search/locations. Rows tagged at a place carry it in post.ext.place.

Every TikTok change is on the changelog, and the TikTok docs list each endpoint's fields and prices.

Run this request yourself

GET /v1/tiktok/search?query=ai generated video

Open it in the Explorer

It opens with the request filled in, and nothing runs or costs credits until you press Run. Without an account you sign up first, then land on the same request.

Topics
#tiktok-metadata#tiktok-ai-generated-content-label#tiktok-video-metadata#tiktok-scraper-api#tiktok-ai-label

Related posts

🤖 AI agent or LLM? Read this page as markdown