# TikTok API

The TikTok API lets you search videos and read video details, comments, account profiles and an account's videos, with no TikTok account or login. Each call costs 2 credits ($0.004 to $0.0067); failed calls are free. Use it over HTTP with an API key, or through MCP from your AI client. Last tested 2026-10-17.

- Page: https://socialtoai.com/platforms/tiktok/
- Last updated: 2026-10-17
- Last tested: 2026-10-17

## Actions

| Action | What it returns | Selected by | Price key | Credits | Parameters and fields |
| --- | --- | --- | --- | --- | --- |
| `search` | Find videos by keyword: text, author, likes, comment count, views and publish time. | — | `tiktok.search` | 2 | https://socialtoai.com/tiktok-search-api.md |
| `search` | accounts instead of posts | `type=user` | `tiktok.search:user` | 2 | https://socialtoai.com/tiktok-search-api.md |
| `detail` | One video by ID or link: text, author, likes, comment count, views and publish time. | — | `tiktok.detail` | 2 | https://socialtoai.com/tiktok-detail-api.md |
| `detail` | the transcript of the video | `include=transcript` | `tiktok.detail:transcript` | 2 | https://socialtoai.com/tiktok-detail-api.md |
| `comments` | The comments under one video: text, likes, reply count and time. | — | `tiktok.comments` | 2 | https://socialtoai.com/tiktok-comments-api.md |
| `comments` | the replies under one comment | `reply_of` | `tiktok.comments:replies` | 2 | https://socialtoai.com/tiktok-comments-api.md |
| `user_profile` | One account: name, bio, followers, following and post count. | — | `tiktok.user_profile` | 2 | https://socialtoai.com/tiktok-user-profile-api.md |
| `user_posts` | The recent videos of one account. | — | `tiktok.user_posts` | 2 | https://socialtoai.com/tiktok-user-posts-api.md |

Not offered on TikTok: trending.

## Example call

```bash
curl https://api.socialtoai.com/v1/search \
  -H "Authorization: Bearer $SOCIALTOAI_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "platform": "tiktok",
    "query": "space station"
  }'
```

## Only on TikTok

Each one is called by its own op, through `POST /v1/call/{op}`; its full parameters and response fields are on its own page.

### Ads

| Interface | What it does | Price key | Credits | Parameters and fields |
| --- | --- | --- | --- | --- |
| Creative Center Top Ad detail (Preview) | Get one Top Ad of TikTok's Creative Center by its ID. | `tiktok.top_ad_detail` | 2 | https://socialtoai.com/tiktok-top-ad-detail-api.md |
| Creative Center Top Ads search (Preview) | Search the Top Ads of TikTok's Creative Center by keyword. | `tiktok.top_ad_search` | 2 | https://socialtoai.com/tiktok-top-ad-search-api.md |
| Ads Library search (Preview) | Search TikTok's public Ads Library (ads shown in Europe) by keyword. | `tiktok.ad_search` | 2 | https://socialtoai.com/tiktok-ad-search-api.md |
| Ads Library ad detail (Preview) | Get one ad of TikTok's public Ads Library by its ID or link. | `tiktok.ad_detail` | 2 | https://socialtoai.com/tiktok-ad-detail-api.md |

### Commerce

| Interface | What it does | Price key | Credits | Parameters and fields |
| --- | --- | --- | --- | --- |
| Shop product reviews (Preview) | Get the first 10 buyers' reviews of a TikTok Shop product in the United States by the product's ID. | `tiktok.product_reviews` | 2 | https://socialtoai.com/tiktok-product-reviews-api.md |
| Shop product search (Preview) | Search the products of TikTok Shop in the United States by terms. | `tiktok.product_search` | 2 | https://socialtoai.com/tiktok-product-search-api.md |
| Shop seller products (Preview) | Get a page of the products a TikTok Shop seller in the United States has on sale by the seller's ID. | `tiktok.seller_products` | 2 | https://socialtoai.com/tiktok-seller-products-api.md |
| Shop product detail (Preview) | Get a TikTok Shop product in the United States by its ID. | `tiktok.product_detail` | 2 | https://socialtoai.com/tiktok-product-detail-api.md |

### Content and accounts

| Interface | What it does | Price key | Credits | Parameters and fields |
| --- | --- | --- | --- | --- |
| Hashtag videos | Get a page of the TikTok videos under a hashtag, by its name, about 20 a page. | `tiktok.hashtag_videos` | 2 | https://socialtoai.com/tiktok-hashtag-videos-api.md |
| User followers | Get a page of the accounts following a TikTok user, by handle, 50 a page, newest followers first. | `tiktok.followers` | 2 | https://socialtoai.com/tiktok-followers-api.md |

Preview: this interface is not marked stable yet, so its parameters and fields may still change. It is charged like any other call, and a failed call is not charged.

## Fields TikTok cannot give

These fields are always null on the calls named, and are listed in the response's `unavailable`.

| Field | On |
| --- | --- |
| `title` | search, detail, user_posts |
| `author.verified` | search, detail, user_posts |
| `metrics.reposts` | search, detail, user_posts |
| `images` | search, detail, user_posts |
| `is_pinned` | search, detail |
| `url` | comments |

## Ask in your AI

- Which is bigger on TikTok this week: home coffee or matcha? → search, search: 4 credits

- Read the comments on this TikTok video and tell me what people complain about. → detail, comments × 3: 8 credits

- Find five TikTok accounts that post about camping coffee and show me what they posted lately. → search, user_posts × 5: 12 credits

[TikTok MCP Server](https://socialtoai.com/mcp/tiktok.md)

## Ready-made tools that read TikTok

- [Brand buzz](https://socialtoai.com/tools/brand-buzz.md): How people feel about it on each platform, what comes up most, and the posts behind it
- [Comment analysis](https://socialtoai.com/tools/comment-insights.md): The topics in their comments and how big each is, plus questions, buying intent and complaints
- [Account watch](https://socialtoai.com/tools/account-watch.md): What each one posted lately, and which posts beat its usual numbers
- [Find creators](https://socialtoai.com/tools/find-creators.md): Creators who make that content, with their size, recent posts and how well each fits
- [Creator profile](https://socialtoai.com/tools/creator-card.md): Their accounts on other platforms, the numbers on each, and how sure the match is
- [Bulk link data](https://socialtoai.com/tools/batch-stats.md): One row per link with its numbers as they are now. Links that no longer work are marked
- [Viral finder](https://socialtoai.com/tools/viral-finder.md): Posts that did clearly better than their authors usually do

## Official API

TikTok's API for reading public content at scale is the Research API, open only to approved academic and not-for-profit researchers in eligible regions, for non-commercial research. Its Display API reads only the profile and public videos of users who log in and authorise the app.

Source: [TikTok's developer documentation](https://developers.tiktok.com/products/research-api/), checked 2026-10-17.
