# TikTok Scraper API — Videos, Comments, Followers, Downloads (`pro100chok/tiktok-mobile-api-scraper`) Actor

TikTok scraper and unofficial TikTok API on the mobile app: videos, no-watermark MP4 downloads, comments with replies, followers, profiles with bio emails, hashtags, sounds, search, LIVE and transcripts. Downloads, WhatsApp shares, AI labels, creator country. JSON/CSV/Excel. From $0.20/1k.

- **URL**: https://apify.com/pro100chok/tiktok-mobile-api-scraper.md
- **Developed by:** [Raven](https://apify.com/pro100chok) (community)
- **Features:** Limited permissions, Single-tenant, Server interface
- **Stats:** 1 total users, 0 monthly users, 0.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $0.18 / 1,000 video / posts

This Actor is paid per event and usage. You are charged both the fixed price for specific events and for Apify platform usage.
Since this Actor supports Apify Store discounts, the price gets lower the higher subscription plan you have.

Learn more: https://docs.apify.com/actors/running/actors-in-store.md#pay-per-event

## What's an Apify Actor?

An Actor is a serverless cloud program that runs on the Apify platform. It has two run modes.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.

Apify vocabulary and the platform model are defined once, in the agent quickstart at https://apify.com/agents.md.

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For examples already wired to this Actor's own input schema, see the [API](#api) section below.

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).

# README

## TikTok Scraper — Videos, Profiles, Comments, Followers, Search & No-Watermark Downloads (Mobile API) 🥇

**The all-in-one TikTok scraper on TikTok's mobile app API.** Extract TikTok **videos, creator profiles, comments & replies, followers, following, hashtags, sounds, places, playlists, LIVE rooms, search results, transcripts and the trending feed** — from a single Actor, with one dropdown and one input list. No code, no API key, no TikTok account, proxies included. Pay only for the results you get — **$0.20 per 1,000 videos, $0.15 per 1,000 comments, $0.20 per 1,000 followers and $0.30 per 1,000 creators from search**. Export to **JSON, CSV, Excel, HTML or the API**.

> Stop juggling ten TikTok scrapers. This one TikTok data extractor replaces video scrapers, profile scrapers, comment scrapers, follower scrapers, hashtag & sound scrapers, search scrapers, transcript extractors and a no-watermark downloader — with fields web scrapers can't see: **downloads & WhatsApp shares, AI-generated and paid-partnership labels, creator country, linked Instagram / YouTube, every video bitrate and official subtitles**.

***

![TikTok Scraper on Apify — every video every creator as structured JSON](https://raw.githubusercontent.com/PRO100CHOK/apify-readme-assets/main/tiktok-mobile-api-scraper/hero.png)

<table>
<tr>
<td colspan="4" style="padding:10px 14px;background:#111111;border:none;border-radius:4px 4px 0 0">
<span style="color:#FFFFFF;font-size:14px;font-weight:700;letter-spacing:0.5px">Raven &middot; Social-media suite</span>
<span style="color:#B5F5F2;font-size:13px">&nbsp;&nbsp;&bull;&nbsp;&nbsp;TikTok, Instagram, YouTube, Reddit, Threads</span>
</td>
</tr>
<tr>
<td style="background:#D9FBF9;padding:10px 12px;border:1px solid #E4E4E7;border-right:none;border-top:none;vertical-align:top;width:25%">
<span style="white-space:nowrap">🎵 &nbsp;<a href="https://apify.com/pro100chok/tiktok-mobile-api-scraper" style="color:#0E7C78;text-decoration:none;font-weight:700;font-size:13px">TikTok&nbsp;All-in-One</a></span><br>
<span style="color:#0E7C78;font-size:11px;font-weight:600">&#10148; You are here</span>
</td>
<td style="background:#F1FDFC;padding:10px 12px;border:1px solid #E4E4E7;border-right:none;border-top:none;vertical-align:top;width:25%">
<span style="white-space:nowrap"><img src="https://apify-image-uploads-prod.s3.us-east-1.amazonaws.com/2nh2cdeW87EFLjZmA-actor-FzXXmis0AF2EYyyii-53r5wDrRmH-5ed275b8-951f-4995-a100-189ea3a131d0.png" width="20" height="20" style="vertical-align:middle;border-radius:4px"> &nbsp;<a href="https://apify.com/pro100chok/tiktok-shop-scraper-usage" style="color:#18181B;text-decoration:none;font-weight:700;font-size:13px">TikTok&nbsp;Shop</a></span><br>
<span style="color:#71717A;font-size:11px">Products, stores, creators</span>
</td>
<td style="background:#F1FDFC;padding:10px 12px;border:1px solid #E4E4E7;border-right:none;border-top:none;vertical-align:top;width:25%">
<span style="white-space:nowrap"><img src="https://apify-image-uploads-prod.s3.us-east-1.amazonaws.com/2nh2cdeW87EFLjZmA-actor-7fyOP12UzHR5Zlnc5-j1W3HZr7l6-cba15940-85de-4f61-b150-a2401b420876.png" width="20" height="20" style="vertical-align:middle;border-radius:4px"> &nbsp;<a href="https://apify.com/pro100chok/instagram-scraper-all-in-one" style="color:#18181B;text-decoration:none;font-weight:700;font-size:13px">Instagram&nbsp;Scraper</a></span><br>
<span style="color:#71717A;font-size:11px">Posts, followers, comments</span>
</td>
<td style="background:#F1FDFC;padding:10px 12px;border:1px solid #E4E4E7;border-top:none;vertical-align:top;width:25%">
<span style="white-space:nowrap"><img src="https://apify-image-uploads-prod.s3.us-east-1.amazonaws.com/2nh2cdeW87EFLjZmA-actor-ZgqqqOMdHEIwgTqnj-lmCG4i7xP0-76e561e2-9f4d-44a2-aa6d-922b86e2833f.png" width="20" height="20" style="vertical-align:middle;border-radius:4px"> &nbsp;<a href="https://apify.com/pro100chok/youtube-scraper-all-in-one" style="color:#18181B;text-decoration:none;font-weight:700;font-size:13px">YouTube&nbsp;Scraper</a></span><br>
<span style="color:#71717A;font-size:11px">Videos, comments, transcripts</span>
</td>
</tr>
</table>

#### Copy to your AI assistant

```text
Apify Actor: pro100chok/tiktok-mobile-api-scraper
What it does: scrapes TikTok via the mobile app API — videos (no-watermark links, all
bitrates, subtitles), creator profiles (country, IG/YT/Twitter, bio emails, engagement),
comments + replies, followers/following, hashtags, sounds, places, playlists, LIVE,
search (videos/creators/sounds/hashtags/LIVE) and the trending feed. Optional MP4 downloads.

Run it from Python:
    from apify_client import ApifyClient
    client = ApifyClient("<YOUR_APIFY_TOKEN>")
    run = client.actor("pro100chok/tiktok-mobile-api-scraper").call(run_input={
        "scrapeType": "profiles",
        "inputs": ["@nike", "@adidas"],
        "resultsPerPage": 50
    })
    for item in client.dataset(run["defaultDatasetId"]).iterate_items():
        print(item)

Key inputs: scrapeType (profiles | videos | comments | followers | following |
search_videos | search_users | hashtags | sounds | places | playlists | live |
search_sounds | search_hashtags | search_live | transcripts | trending | mixed),
inputs (profiles / links / keywords, one per line), resultsPerPage (0 = all).
Input schema: https://api.apify.com/v2/acts/pro100chok~tiktok-mobile-api-scraper/builds/default
Get a token: https://console.apify.com/settings/integrations
```

***

### What does this TikTok Scraper do?

TikTok's official **Research API** is limited to approved academics and the **Display API** only shows users who log in to your app — neither can read arbitrary public creators, hashtags or comments. This Actor is a practical **unofficial TikTok API**: it reads the same **mobile app API** the TikTok app uses and returns clean, structured rows. Results stream into the dataset **as they arrive**, page by page, and every list is followed **to its real end** when you set the limit to 0.

Pick one option in *🎯 What do you want to scrape?*, paste your input, and run:

| # | Option | Give it | Returns | Charged as |
|---|--------|---------|---------|------------|
| 👤 | **Profiles → profile info + their videos** | `@nike` / profile URL | profile row (followers, bio, emails from bio, Instagram/YouTube, engagement rate) + every video; optionally reposts, liked videos, playlists | profile + video |
| 🎬 | **Video links → full video data** | video URL, `vm.tiktok.com` short link or ID | 60+ fields per video incl. no-watermark links & all bitrates | video |
| 💬 | **Video links → comments (+ replies)** | video URL | every comment, replies linked by `repliesToId` | comment |
| 👥 | **Profiles → followers / following** | `@nike` | each account with followers, videos, bio, country, linked socials | follower |
| 🔍 | **Keywords → videos / creators / sounds / hashtags / LIVE** | `skincare routine` | TikTok search results, with sorting, date and follower filters | video / profile / entity |
| #️⃣ | **Hashtags → hashtag info + videos** | `#skincare` / tag URL | hashtag stats + its videos | entity + video |
| 🎶 | **Sounds → sound info + videos** | `/music/` URL or ID | sound stats + videos using it | entity + video |
| 📍 | **Places → place info + videos** | `/place/` URL | address, coordinates, category + videos tagged there | entity + video |
| 📂 | **Playlist links → playlist + videos** | `/playlist/` URL | playlist info + its videos | entity + video |
| 🔴 | **Creators → LIVE stream** | `@creator` / LIVE URL | viewers, likes, FLV/HLS stream URLs | entity |
| 📝 | **Video links → transcripts** | video URL | official TikTok subtitles: VTT, plain text, timestamped segments | transcript |
| 🔥 | **Trending For You feed** | — (leave empty) | the trending feed of any country | video |
| 🔗 | **Mixed links** | anything above | type detected for each line | per type |

Every record carries a `type` field (`post`, `user`, `comment`, `follower`, `following`, `hashtag`, `music`, `place`, `playlist`, `live`, `transcript`) and an `input` field — the line from your list that produced it — so results always join back to their input. The Output tab opens on **All data**, every field of every record.

***

### Why use this TikTok Scraper?

- ✅ **13 scrapers in one** — switch data type from a single dropdown instead of installing a different Actor for every job.
- ✅ **Mobile-API-only fields** — `downloadCount`, `whatsappShareCount`, `isAiGenerated`, `isPaidPartnership`, creator `region` and `language`, `instagramId`, `youtubeChannelId`, `twitterName`, every **bitrate & codec** of the video, official **subtitle tracks**.
- ✅ **No-watermark video links** in every record, plus optional **MP4 downloads** (540p to 1080p) saved to your storage.
- ✅ **Full pagination, streamed** — set any limit to 0 and the Actor follows every list to its end (a creator's 1,300+ videos, thousands of comments, hundreds of search results), writing rows to the dataset as each page arrives.
- ✅ **Contacts from bios** — emails, phones and links pulled from the bio and bio link, free.
- ✅ **Ready-made metrics** — engagement rate on every video; average views, likes and posting frequency on every profile.
- ✅ **Free filters** — dates, min/max views & likes, skip pinned, only videos or only slideshows, skip ads, one video per creator. You only pay for videos that pass.
- ✅ **Fast** — several inputs and per-video add-ons run in parallel; ~300 videos from three creators in about 15 seconds.
- ✅ **No account, no proxies to buy** — TikTok sessions and proxies are handled by the Actor.
- ✅ **Drop-in compatible output** — field names (`authorMeta`, `videoMeta`, `musicMeta`, `diggCount`, `playCount`, `webVideoUrl`…) match the most popular TikTok scrapers.

#### How it compares

| | TikTok Research API (official) | Web-based TikTok scrapers | **This Actor** |
|---|---|---|---|
| Access | approved academics only | anyone | anyone |
| Data types | videos, users, comments | usually one per Actor | **13 options in one** |
| Downloads & WhatsApp shares, AI-generated / paid-partnership labels | ❌ | ❌ | ✅ |
| Creator country, linked Instagram / YouTube / Twitter | ❌ | partly | ✅ |
| All video bitrates, official subtitles | ❌ | partly | ✅ |
| No-watermark MP4 downloads | ❌ | add-on | ✅ 540p–1080p |
| Price per 1,000 videos | free but restricted | $0.25–$3.70 | **$0.20** |
| Price per 1,000 comments | — | $0.20–$1.25 | **$0.15** |

***

### What data can you extract from TikTok?

| Record | Fields (highlights) |
|--------|---------------------|
| **🎬 Video (`post`)** | id, caption, language, created time, URL & share URL, country of upload, views, likes, comments, shares, saves, reposts, **downloads, WhatsApp shares**, engagement rates, pinned / ad / **paid partnership** / **AI-generated** / duet / stitch flags, comment & download permissions, hashtags, mentions, effects, anchors, polls, **no-watermark URL, all bitrates (h264/h265, 540p–1080p) with sizes**, covers (static, dynamic, animated), **subtitle tracks (language, auto/creator)**, slideshow photos, music (title, author, original?, commercial?, duration, MP3 URL), place (name, address, lat/lng), playlist, author block |
| **👤 Profile (`user`)** | id, secUid, username, nickname, bio, bio link, **bio emails / phones / links**, verified, private, followers, following, likes, videos, **country & language**, account type & category, **Instagram / YouTube / Twitter**, commerce flags, LIVE status, avatars in 4 sizes, **avg views / likes / comments, engagement rate, posting frequency, last post date** |
| **💬 Comment (`comment`)** | id, text, time, likes, reply count, reply-to ids (rebuild threads), level, liked / pinned by author, language, images & stickers, mentions, commenter (username, country, language, verified, followers) |
| **👥 Follower / following** | everything in the profile block for each account in the list, plus who it's connected to |
| **#️⃣ Hashtag · 🎶 Sound · 📍 Place · 📂 Playlist · 🔴 LIVE** | names, ids, view & video counts, covers, owner, addresses & coordinates, stream URLs, viewer & like counts |
| **📝 Transcript** | language, source (TikTok ASR / creator), full VTT, plain text, timestamped segments |

Empty values are dropped instead of written as `null`, so a row never carries columns TikTok did not send.

***

### How to scrape TikTok step by step

1. **Create a free Apify account** — it includes **$5 of free credits every month** (≈ 25,000 videos with this actor).
2. **Open [TikTok Scraper All-in-One](https://apify.com/pro100chok/tiktok-mobile-api-scraper)** in Apify Console.
3. **Choose "What do you want to scrape?"** — every option says what you paste and what you get, e.g. *👤 Profiles → profile info + their videos* or *💬 Video links → comments (+ replies)*.
4. **Paste the profiles, video links or keywords** — one per line.
5. **Set "Max results per input"** (0 = everything) and optional free filters.
6. **Click Start** — results appear in the dataset while the run is going.
7. **Export** to JSON, CSV, Excel or via API.

***

***

### How do the results look?

Results are written to the dataset **as soon as they're scraped**. Where an item has a natural parent, the parent row carries its items:

| You scrape | Rows | Items inside |
|---|---|---|
| Profiles | one row per profile | `videos` (and `reposts`, `liked`, `playlists` if selected); each video carries its `comments` with their `replies` when you collect comments |
| Hashtags / sounds / places / playlists | one row per hashtag / sound / place / playlist | `videos` |
| Video links with comments | one row per video | `comments`, each with its `replies` |
| Comments, followers / following, search results, trending | one row per comment / account / result / video | — (every row is the same kind) |

A parent row is written every **100 items**: a profile with 350 videos arrives as 4 rows of the same profile (`part` 1–4, each with the full profile fields and its share of `videos`), so results show up while the run goes. Each list has a count (`videosCount`, `commentsCount`…). If a run is aborted or times out, everything collected so far is saved. Prefer one row per item everywhere (for Excel or Google Sheets)? Set **Output layout → One row per item**.

### How do limits work?

- **Max results per input** — per line of your input: videos per profile / hashtag / sound / place / keyword, comments per video, followers per profile, creators per keyword. **0 = everything available.**
- **Max results in total** — a hard cap for the whole run, all inputs together.
- **Max cost per run** (Apify's run option) — the Actor stops cleanly when it is reached; you never pay more than you set.
- Results are written to the dataset **as they arrive**, so you can watch, export or stop a run at any time.
- TikTok's own limits still apply: search lists end after a few hundred results per keyword, TikTok lists at most the **latest 5,000 followers** of another account, and a video's comment counter also counts deleted and filtered comments. The Actor collects everything TikTok returns and says in the run log and status when TikTok's limit was the reason a list ended.

***

### How to scrape TikTok comments

- Choose **💬 Video links → comments (+ replies)** and paste video links. **Max results per input** = comments per video (0 = all). Replies are included by default (**Include replies**, all of them unless you set **Max replies per comment**); each reply is a separate row and `repliesToId` links it to its parent.
- Or choose any option that returns videos (profiles, search, hashtags…) and set **Comments per video** — you get each video **and** its comments in one run (e.g. the last 20 videos of a creator with 100 comments each).

### How to scrape TikTok followers

Choose **👥 Profiles → their followers** (or **→ accounts they follow**), paste profiles and set **Max results per input** = followers per profile (0 = all). Each follower row includes their followers, videos, bio, country and linked Instagram/YouTube — handy for audience analysis and lead lists.

### How to download TikTok videos without watermark

Every video record already contains `videoMeta.noWatermarkUrl` and all `videoMeta.bitrates[].url`. Links from TikTok's CDN expire after a few hours, so turn on **Download videos (no watermark)** to save MP4s to the run's key-value store — each record then gets a permanent `downloadedVideoUrl`. Choose **540p** (default, ~1.8 MB, standard price), **720p**, **1080p**, **best** or **H.264** (HD price per started 5 MB) or the **smallest file**. Covers, slideshow photos, avatars and sound MP3s can be saved the same way.

### How to get TikTok transcripts

Set **Subtitles / transcript → Download official TikTok subtitles** to attach `transcript` + timestamped `segments` to every video, or choose **📝 Video links → subtitles / transcripts** to get just the transcripts of the links you paste. Pick languages with **Subtitle languages** (`en`, `es`, …).

***

***

### Input parameters

**What to scrape** — `scrapeType` + `inputs` (one line per profile / link / keyword):

| `scrapeType` | Paste into `inputs` | You get (row `type`) |
|---|---|---|
| `profiles` (default) | `@nike` or profile URL | 1 profile row (`user`) + its videos (`post`); pick tabs in `profileContent` |
| `videos` | video URL, short link or video ID | full video data (`post`) |
| `comments` | video URL | comments + replies (`comment`) |
| `followers` / `following` | `@nike` | followers / followed accounts (`follower` / `following`) |
| `search_videos` | keyword | videos (`post`) |
| `search_users` | keyword | creators (`user`) |
| `search_sounds` / `search_hashtags` / `search_live` | keyword | sounds (`music`) / hashtags (`hashtag`) / LIVE streams (`live`) |
| `hashtags` | `#skincare` or tag URL | hashtag row + its videos |
| `sounds` | sound URL or ID | sound row + videos using it |
| `places` | place URL | place row + videos tagged there |
| `playlists` | playlist URL | playlist row + its videos |
| `live` | `@creator` or LIVE URL | LIVE room (`live`) if the creator is live now |
| `transcripts` | video URL | subtitles / transcript (`transcript`) |
| `trending` | — (leave empty) | trending For You videos (`post`) |
| `mixed` | any of the above | type detected for each line |

**Other options**

| Parameter | Default | Description |
|-----------|---------|-------------|
| `region` | `us` | Country the app pretends to be in (search & trending) |
| `resultsPerPage` | `0` | Max results per input line: videos per profile/hashtag/keyword, comments per video, followers per profile, creators per keyword (0 = everything) |
| `maxItems` | `0` | Max results in total (0 = no limit; the run still stops at your max cost) |
| `profileContent` | `["videos"]` | For `profiles`: `videos`, `reposts`, `liked`, `playlists`; empty = profile row only |
| `profileSorting` | `latest` | `latest`, `popular`, `oldest` |
| `videoSearchSorting` / `videoSearchDateFilter` | `relevance` / `all` | For `search_videos` |
| `creatorVerifiedOnly`, `creatorMinFollowers`, `creatorMaxFollowers` | — | For `search_users` |
| `scrapeRelatedSearchWords` | `false` | Search suggestions row for each keyword |
| `includeReplies` / `maxRepliesPerComment` | `true` / `0` | Collect replies under comments; 0 = all replies |
| `commentsPerPost` | `0` | Also collect comments of every returned video |
| `oldestPostDate` / `newestPostDate` | — | Date or relative (`7 days`) |
| `minPlays`, `maxPlays`, `minLikes`, `maxLikes`, `minComments`, `minShares` | — | Engagement filters |
| `excludePinnedPosts`, `onlyVideos`, `onlySlideshows`, `excludeAds`, `onlyAds`, `uniqueAuthors` | `false` | Content filters |
| `onlyNewSinceLastRun` + `monitoringStateName` | `false` | Skip results returned by earlier runs |
| `scrapeAuthorProfile` | `false` | Attach the full creator profile to each video |
| `subtitles` / `subtitleLanguages` | `none` | Download official subtitles / transcript |
| `downloadVideos` + `videoQuality` | `false` / `540p` | Save MP4s without watermark: `540p`, `720p`, `1080p`, `best`, `h264`, `lowest` |
| `downloadCovers`, `downloadSlideshowImages`, `downloadAvatars`, `downloadMusic` | `false` | Save images / audio |
| `scrapeRelatedVideos` / `maxRelatedVideos` | `false` / `5` | Related videos for each video |
| `extractContacts` | `true` | Emails, phones & links from bios |
| `outputFormat` | `normalized` | `normalized`, `raw`, `both` |
| `fields` | — | Keep only these top-level fields |
| `language` | `auto` | App language (`en`, `es`, `de`, `ja`, …); `auto` = main language of the country |

Older inputs (`startUrls`, `searchQueries` + `searchSection`, `mode`, `profileSections`, `maxFollowersPerProfile` …) still work unchanged via the API.

***

***

### Ready-to-paste input recipes

**1. Profiles of several creators with their last 100 videos**

```json
{ "scrapeType": "profiles", "inputs": ["@nike", "@adidas", "@puma"], "resultsPerPage": 100 }
```

**2. Viral videos for a keyword this month, one per creator (influencer discovery)**

```json
{
  "scrapeType": "search_videos",
  "inputs": ["home workout"],
  "videoSearchSorting": "most_liked",
  "videoSearchDateFilter": "month",
  "uniqueAuthors": true,
  "scrapeAuthorProfile": true,
  "resultsPerPage": 200
}
```

**3. Micro-influencers by niche**

```json
{
  "scrapeType": "search_users",
  "inputs": ["vegan recipes", "plant based"],
  "creatorMinFollowers": 10000,
  "creatorMaxFollowers": 100000,
  "resultsPerPage": 100
}
```

**4. All comments with replies of a video**

```json
{
  "scrapeType": "comments",
  "inputs": ["https://www.tiktok.com/@nike/video/7706959871941430542"],
  "resultsPerPage": 0,
  "maxRepliesPerComment": 20
}
```

**5. Followers of a competitor**

```json
{ "scrapeType": "followers", "inputs": ["@gymshark"], "resultsPerPage": 2000 }
```

**6. Hashtag monitoring every day — only new videos**

```json
{
  "scrapeType": "hashtags",
  "inputs": ["#skincare", "#skincareroutine"],
  "resultsPerPage": 100,
  "onlyNewSinceLastRun": true,
  "monitoringStateName": "skincare-daily"
}
```

**7. Download a creator's videos in 1080p**

```json
{ "scrapeType": "profiles", "inputs": ["@khaby.lame"], "resultsPerPage": 30, "downloadVideos": true, "videoQuality": "h264_1080" }
```

**8. Profile info only (works for private accounts)**

```json
{ "scrapeType": "profiles", "inputs": ["@nike", "@some.private.user"], "profileContent": [] }
```

**9. Trending feed in Japan**

```json
{ "scrapeType": "trending", "region": "jp", "resultsPerPage": 50 }
```

***

***

### Output examples

#### Video (shortened)

```json
{
  "type": "post",
  "id": "7706959871941430542",
  "text": "From one pro to another.",
  "createTimeISO": "2026-11-11T17:00:40Z",
  "webVideoUrl": "https://www.tiktok.com/@nike/video/7706959871941430542",
  "locationCreated": "US",
  "isSponsored": true,
  "isPaidPartnership": false,
  "isAiGenerated": false,
  "playCount": 7784,
  "diggCount": 220,
  "commentCount": 18,
  "shareCount": 1,
  "collectCount": 9,
  "downloadCount": 0,
  "whatsappShareCount": 0,
  "engagementRate": 0.03186,
  "authorMeta": {
    "id": "208464585232822272",
    "name": "nike",
    "nickName": "Nike",
    "verified": true,
    "signature": "Just Do It.",
    "fans": 9379868,
    "heart": 50795540,
    "video": 1139,
    "language": "en",
    "instagramId": "nike"
  },
  "videoMeta": {
    "width": 720,
    "height": 1280,
    "duration": 53.03,
    "codec": "h265",
    "coverUrl": "https://p16-common-sign.tiktokcdn.com/...",
    "noWatermarkUrl": "https://v77.tiktokcdn.com/...",
    "fileSize": 6470496,
    "bitrates": [
      { "gearName": "adapt_lowest_1080_1", "codec": "h265", "width": 1080, "height": 1920, "bitRate": 965803, "dataSize": 6402675, "url": "https://v77.tiktokcdn.com/..." },
      { "gearName": "adapt_lower_720_2", "codec": "h265", "width": 720, "height": 1280, "bitRate": 524910, "dataSize": 3479828, "url": "https://v77.tiktokcdn.com/..." }
    ],
    "subtitleLinks": [
      { "language": "eng-US", "languageCode": "en", "format": "webvtt", "isAutoGenerated": true, "source": "tiktok_asr", "url": "https://v16-cla.tiktokcdn.com/..." }
    ],
    "downloadedVideoUrl": null
  },
  "musicMeta": {
    "musicId": "7706959907571927838",
    "musicName": "original sound - nike",
    "musicAuthor": "Nike",
    "musicOriginal": true,
    "isCommercialMusic": true,
    "musicDuration": 53,
    "playUrl": "https://sf16-ies-music-va.tiktokcdn.com/obj/ies-music-ttp-dup-us/7706959909086120717.mp3"
  },
  "hashtags": []
}
```

#### Comment

```json
{
  "type": "comment",
  "cid": "7707011031663526689",
  "text": "nike have tiktok?",
  "createTimeISO": "2026-11-11T20:19:22Z",
  "diggCount": 0,
  "replyCommentTotal": 0,
  "repliesToId": null,
  "likedByAuthor": false,
  "pinnedByAuthor": false,
  "commentLanguage": "en",
  "level": 1,
  "videoId": "7706959871941430542",
  "videoWebUrl": "https://www.tiktok.com/@nike/video/7706959871941430542",
  "user": {
    "uid": "7604147889690772513",
    "uniqueId": "itzzhiori",
    "nickname": "Hiori",
    "region": "BE",
    "language": "en"
  }
}
```

Choose **Output format → Raw TikTok app JSON** (or **Both**) if you need the untouched mobile API objects.

***

***

### How much does it cost to scrape TikTok?

This Actor uses **pay-per-result** billing and **each result type is priced separately** — comments, followers and creators from search cost far less than full profiles. Proxies, retries, filters and contact extraction are included, and the price drops automatically on higher Apify subscription plans.

| Result type | Free | Starter | Scale | Business+ | Covers |
|-------------|:---:|:---:|:---:|:---:|--------|
| 🎬 Video / post | $0.20 | $0.20 | $0.19 | $0.18 | videos from profiles, hashtags, sounds, places, playlists, search, trending, video links |
| 💬 Comment or reply | $0.15 | $0.15 | $0.15 | $0.15 | comments, replies |
| 👥 Follower / following | $0.20 | $0.20 | $0.20 | $0.20 | followers, following |
| 🔍 Creator from search | $0.30 | $0.30 | $0.30 | $0.29 | creators found by keyword |
| 👤 Full profile | $2.25 | $2.25 | $2.25 | $2.25 | profile with engagement rate, average views and posting frequency |
| #️⃣ Hashtag / 🎶 sound / 📍 place / 📂 playlist / 🔴 LIVE | $2.00 | $1.80 | $1.60 | $1.40 | one per hashtag, sound, place, playlist or LIVE room |
| 📝 Transcript | $0.70 | $0.59 | $0.47 | $0.35 | transcript option |
| ➕ Creator profile attached to videos | $0.65 | $0.52 | $0.38 | $0.24 | once per unique creator |
| ⬇️ Video download, 540p | $0.95 | $0.94 | $0.92 | $0.90 | one MP4 without watermark |
| ⬇️ HD video download (720p / 1080p / best / H.264) | $3.00 | $3.00 | $3.00 | $3.00 | per started 5 MB of the file |
| 🖼️ Cover / avatar / slideshow photo / MP3 | $0.50 | $0.45 | $0.40 | $0.35 | image or audio saved to storage |
| 🚀 Actor start | $0.002 | $0.00192 | $0.00184 | $0.00175 | once per run (per GB of memory) |

Prices are per 1,000 results (Actor start: per run); the column is your Apify subscription plan. You pay per item whichever output layout you choose.

#### Worked examples

| You scrape | Cost (Free plan) | Cost (Business plan) |
|------------|:---:|:---:|
| 1,000 videos from creators, hashtags or search | $0.20 | $0.18 |
| 10,000 videos | $2.00 | $1.80 |
| All comments + replies of a video (1,000) | $0.15 | $0.15 |
| 5,000 followers of a profile | $1.00 | $1.00 |
| 1,000 creators from a keyword search | $0.30 | $0.29 |
| 100 full creator profiles with metrics and contacts | $0.23 | $0.23 |
| 100 videos downloaded as 540p MP4 | $0.12 | $0.11 |

**Free-plan translation:** Apify's Free plan includes **$5 of usage credits every month** — roughly **25,000 TikTok videos**, **33,000 comments**, **25,000 followers** or **16,000 creators from search** at no cost. Errors and filtered-out videos are never charged.

***

### Real-time API (Standby mode)

Call the actor like a regular REST API and get JSON back in seconds:

```text
GET https://pro100chok--tiktok-mobile-api-scraper.apify.actor/profile?username=nike&resultsPerPage=20&token=<TOKEN>
GET https://pro100chok--tiktok-mobile-api-scraper.apify.actor/post?url=https://www.tiktok.com/@nike/video/7706959871941430542&token=<TOKEN>
GET https://pro100chok--tiktok-mobile-api-scraper.apify.actor/comments?url=<VIDEO_URL>&commentsPerPost=100&token=<TOKEN>
GET https://pro100chok--tiktok-mobile-api-scraper.apify.actor/followers?username=nike&maxFollowersPerProfile=200&token=<TOKEN>
GET https://pro100chok--tiktok-mobile-api-scraper.apify.actor/search?q=skincare&searchSection=video&resultsPerPage=30&token=<TOKEN>
GET https://pro100chok--tiktok-mobile-api-scraper.apify.actor/hashtag?q=skincare&token=<TOKEN>
GET https://pro100chok--tiktok-mobile-api-scraper.apify.actor/trending?region=jp&token=<TOKEN>
```

Also available: `/music`, `/place`, `/playlist`, `/live`, `/following`, `/transcript`. `POST` with the same JSON as the normal input works on every route.

***

***

### Troubleshooting

- **"Profile not found"** — check the username; banned or renamed accounts return an `error` row (free).
- **Private account** — you get the profile (followers, bio, links, metrics) but not the videos; that's all TikTok shows.
- **Fewer videos than requested** — filters removed the rest, the creator has fewer videos, or your *Max cost per run* was reached (see the run log).
- **Fewer followers than the profile shows** — TikTok's app lists only part of another account's followers (often about half of the visible total); the actor collects every follower TikTok returns.
- **Search stops at a few hundred results** — TikTok ends search lists itself (videos ~300, creators ~400 per keyword). Add more keywords to get more.
- **Video URL stopped working** — TikTok CDN links expire after a few hours; use **Download videos** for permanent files.
- **"All TikTok sessions are busy"** — the run waits up to a minute for a free session; if it still fails, start it again a bit later. Only the start is charged.

***

***

### Integrations

- **Make, Zapier, n8n** — trigger runs and route results into 5,000+ apps.
- **Google Sheets, Airtable** — send datasets straight to a spreadsheet.
- **Webhooks, Slack, email** — get notified when a run finishes.
- **API clients** — [JavaScript](https://docs.apify.com/api/client/js/) and [Python](https://docs.apify.com/api/client/python/), REST API, Apify CLI.
- **Schedules** — hourly / daily / weekly monitoring with *Only new results since the last run*.

### Use with AI agents (MCP)

Works with the [Apify MCP server](https://mcp.apify.com), so Claude, ChatGPT, Cursor and other MCP clients can call it as a tool:

> "Find 50 fitness creators in the US with 10k–100k followers, get their emails and average views."

### Popular use cases

- **Influencer discovery & vetting** — follower counts, real engagement, country, contacts and linked socials in one row.
- **Trend & content research** — what's growing in a hashtag, sound or keyword, by country.
- **Competitor tracking** — scheduled scrapes of competitor accounts with only-new results.
- **Audience analysis** — followers and commenters with country and language.
- **Social listening** — comments with language and replies for sentiment analysis.
- **Video archiving & AI datasets** — MP4s without watermark plus transcripts.

### Is it legal to scrape TikTok?

The actor only collects **publicly available** data — what anyone can see in the TikTok app without logging in to a specific person's account. Personal data is protected by GDPR and similar laws, so only collect what you have a legitimate reason to process and consult a lawyer if unsure. See Apify's blog on [the legality of web scraping](https://blog.apify.com/is-web-scraping-legal/).

***

***

### FAQ

#### Does TikTok have a public API, and why use this scraper instead?

TikTok's Research API is only for approved academic researchers and the Display API only returns data of users who log in to your app. This Actor reads TikTok's mobile app API, so it works for any public creator, video, hashtag, sound or keyword — no application, no OAuth.

#### Do I need a TikTok account, API key or proxies?

No. TikTok sessions and proxies are handled by the Actor — you never log in or share an account.

#### How is this different from web-based TikTok scrapers?

Web pages hide many fields. The mobile API exposes downloads and WhatsApp shares, AI-generated and paid-partnership labels, creator country, linked Instagram/YouTube/Twitter, all video bitrates and subtitle tracks.

#### Can I scrape all videos of a profile?

Yes — choose **👤 Profiles → profile info + their videos** and set **Max results per input** to `0`. Sorting by newest, most popular or oldest is supported.

#### Can I scrape TikTok comments and replies?

Yes — choose **💬 Video links → comments (+ replies)** and set **Max results per input** to `0`: you get every comment and every reply TikTok lists. Replies carry `repliesToId` so threads can be rebuilt.

#### Why do I get fewer comments than the video's comment counter?

TikTok's counter also includes deleted, hidden and filtered comments, which TikTok doesn't show to anyone — not even in its own app. The Actor returns every comment and reply TikTok lists; typically that's 60–90% of the counter.

#### Can I scrape TikTok followers?

Yes — **👥 Profiles → their followers** or **accounts they follow**. TikTok shows only part of another account's follower list; the Actor returns every follower TikTok lists.

#### Can I get TikTok videos without watermark?

Yes. Every record has `noWatermarkUrl` and all bitrates; turn on **Download videos** for permanent MP4 files (540p by default, up to 1080p).

#### Can I get TikTok transcripts and subtitles?

Yes — official TikTok subtitles (auto-generated or creator-uploaded) as VTT, plain text and timestamped segments, in any available language.

#### Can I extract emails from TikTok bios?

Yes, for free: `bioEmail`, `bioPhone` and `bioLinks` are filled from the bio and bio link of every profile, follower and creator.

#### Can I scrape private accounts?

You get the profile (followers, bio, links, metrics); videos of private accounts are not public.

#### Can I filter by date, views or likes?

Yes, for free — dates (absolute or relative), min/max views and likes, min comments and shares, skip pinned, only videos or slideshows, skip ads, one video per creator.

#### Can I scrape TikTok from a specific country or language?

Yes — set **Country** and **App language**; search results and the trending feed follow them.

#### Can I scrape multiple profiles, hashtags or keywords at once?

Yes — add one per line. Several inputs are scraped in parallel, and each row carries the `input` it came from.

#### Why did I get fewer results than expected?

Filters removed the rest, the creator has fewer videos, TikTok ended the list (search lists stop after a few hundred results), or your *Max cost per run* was reached — the run log says which.

#### Will I be charged for inputs that return nothing?

Only the Actor start. Errors and filtered-out videos are free.

#### How fast is it?

About 300 videos from three creators in ~15 seconds, comments ~10 per second, followers ~15 per second.

#### Can I export to CSV, Excel or Google Sheets?

Yes — from the Storage tab or via API, in JSON, CSV, Excel, XML or HTML, or straight to Google Sheets with an integration.

#### I'm switching from another TikTok scraper — do the field names match?

Yes. `authorMeta`, `videoMeta`, `musicMeta`, `diggCount`, `playCount`, `shareCount`, `commentCount`, `webVideoUrl` and friends follow the most popular TikTok scraper's naming, so existing pipelines keep working.

#### Can I automate or schedule this scraper?

Yes — use Apify Schedules with **Only new results since the last run** for daily monitoring of creators, hashtags or keywords, or call it from Make, Zapier, n8n or the API.

***

### Feedback & support

Found a bug or need a field? Open an issue on the **Issues tab** — issues are answered within a day. Include the run URL so it can be reproduced quickly.

### More scrapers by this developer

| Actor | What it does |
|-------|--------------|
| [TikTok Shop Scraper](https://apify.com/pro100chok/tiktok-shop-scraper-usage) | TikTok Shop products, stores, reviews and creators |
| [TikTok Profile Scraper](https://apify.com/pro100chok/tiktok-profile-pro) | Profiles, full video catalogs, bio contacts & engagement analytics |
| [Instagram Scraper All-in-One](https://apify.com/pro100chok/instagram-scraper-all-in-one) | Profiles, posts, reels, followers, hashtags & bio contacts |
| [Ultimate YouTube Scraper](https://apify.com/pro100chok/youtube-scraper-all-in-one) | Videos, transcripts, comments & channel emails |
| [Reddit Scraper All-in-One](https://apify.com/pro100chok/reddit-scraper-all-in-one) | Posts, comments, users, subreddits & email finder |
| [RedNote (Xiaohongshu) Scraper](https://apify.com/pro100chok/rednote-xiaohongshu-scraper) | Notes, creators, comments & keywords |

***

**Tags:** tiktok scraper, tiktok api, tiktok mobile api, tiktok video scraper, tiktok profile scraper, tiktok comments scraper, tiktok followers scraper, tiktok hashtag scraper, tiktok sound scraper, tiktok search scraper, tiktok downloader without watermark, tiktok transcript, tiktok influencer finder, tiktok email scraper, tiktok trending, tiktok live scraper, tiktok data export csv, tiktok MCP

# Changelog

This Actor's version history is a separate document: https://apify.com/pro100chok/tiktok-mobile-api-scraper/changelog.md

# Actor input Schema

## `scrapeType` (type: `string`):

Pick one. The left side is what you paste below, the right side is what you get in the results. Every result row has a `type` field: `post`, `user`, `comment`, `follower`, `following`, `hashtag`, `music`, `place`, `playlist`, `live` or `transcript`.

## `inputs` (type: `array`):

What to paste depends on your choice above:<br>• <b>Profiles / Followers / Following / LIVE</b> — `@nike` or `https://www.tiktok.com/@nike`<br>• <b>Video links / Comments / Transcripts</b> — `https://www.tiktok.com/@nike/video/7301234567890123456`, `https://vm.tiktok.com/…` or a video ID<br>• <b>Keywords</b> (all search options) — `skincare routine`<br>• <b>Hashtags</b> — `#skincare`, `skincare` or `https://www.tiktok.com/tag/skincare`<br>• <b>Sounds</b> — `https://www.tiktok.com/music/…-7361234567890123456` or a sound ID<br>• <b>Places</b> — `https://www.tiktok.com/place/…-22535865200906035`<br>• <b>Playlists</b> — `https://www.tiktok.com/@creator/playlist/Name-7424884757439056648`<br>• <b>Mixed links</b> — anything above, the type is detected per line<br>• <b>Trending</b> — leave empty

## `region` (type: `string`):

TikTok is scraped as a user from this country sees it — changes search results and the trending feed. Free.

## `resultsPerPage` (type: `integer`):

Per line of input: videos per profile / hashtag / sound / place / playlist / keyword, comments per video, followers per profile, creators per keyword. 0 = everything available.

## `maxItems` (type: `integer`):

Limit for the whole run, all inputs together. 0 = no limit (the run still stops at your 'Max cost per run').

## `profileContent` (type: `array`):

Untick everything to get only the profile row (works for private accounts too).

## `profileSorting` (type: `string`):

Order in which profile videos are collected.

## `videoSearchSorting` (type: `string`):

For '🔍 Keywords → videos from search'.

## `videoSearchDateFilter` (type: `string`):

For '🔍 Keywords → videos from search'.

## `creatorVerifiedOnly` (type: `boolean`):

For '🔍 Keywords → creators from search': only accounts with the blue check.

## `creatorMinFollowers` (type: `integer`):

For '🔍 Keywords → creators from search'. Empty = no limit.

## `creatorMaxFollowers` (type: `integer`):

For '🔍 Keywords → creators from search', e.g. 100000 to find micro-influencers. Empty = no limit.

## `scrapeRelatedSearchWords` (type: `boolean`):

Adds one row per keyword with TikTok's autocomplete and related keywords.

## `includeReplies` (type: `boolean`):

Also collect the replies under every comment. Replies are separate rows with `repliesToId` = parent comment.

## `maxRepliesPerComment` (type: `integer`):

0 = all replies TikTok lists (default). Used when 'Include replies' is on.

## `commentsPerPost` (type: `integer`):

Also collect this many comments of every video you get from profiles, search, hashtags, sounds… (0 = none). With '💬 Video links → comments' use 'Max results per input' instead.

## `oldestPostDate` (type: `string`):

Absolute date (2026-01-01) or relative (e.g. 7 days).

## `newestPostDate` (type: `string`):

Absolute date or relative (e.g. 1 day).

## `minPlays` (type: `integer`):

Skip videos with fewer views.

## `maxPlays` (type: `integer`):

Skip videos with more views.

## `minLikes` (type: `integer`):

Skip videos with fewer likes.

## `maxLikes` (type: `integer`):

Skip videos with more likes.

## `minComments` (type: `integer`):

Skip videos with fewer comments.

## `minShares` (type: `integer`):

Skip videos with fewer shares.

## `excludePinnedPosts` (type: `boolean`):

Ignore videos pinned to the top of a profile.

## `onlyVideos` (type: `boolean`):

Return only regular videos.

## `onlySlideshows` (type: `boolean`):

Return only photo-mode posts.

## `excludeAds` (type: `boolean`):

Ignore paid partnership / ad posts.

## `onlyAds` (type: `boolean`):

Return only paid partnership / ad posts.

## `uniqueAuthors` (type: `boolean`):

Great for finding influencers from search results.

## `onlyNewSinceLastRun` (type: `boolean`):

For scheduled monitoring: skips items already returned by previous runs that used the same state name.

## `monitoringStateName` (type: `string`):

Use a different name per monitoring task.

## `scrapeAuthorProfile` (type: `boolean`):

Followers, bio, email/phone from bio, Instagram/YouTube links, engagement rate. Charged once per unique creator.

## `subtitles` (type: `string`):

Adds `transcript` and timestamped `segments` to each video that has captions.

## `subtitleLanguages` (type: `array`):

Optional language codes, e.g. `en`, `es`. Empty = original language.

## `downloadVideos` (type: `boolean`):

Saves MP4 files to the run's key-value store and adds `downloadedVideoUrl`.

## `videoQuality` (type: `string`):

Most TikTok videos are H.265 (HEVC), which plays on all modern phones, Macs and browsers. 540p and 'Smallest' are one standard download each; HD options are charged per started 5 MB of the file (see Pricing).

## `downloadCovers` (type: `boolean`):

Saves cover images to the key-value store.

## `downloadSlideshowImages` (type: `boolean`):

Saves all slideshow photos to the key-value store.

## `downloadAvatars` (type: `boolean`):

Saves creator avatars to the key-value store.

## `downloadMusic` (type: `boolean`):

Saves the sound's audio file to the key-value store.

## `scrapeRelatedVideos` (type: `boolean`):

Related videos are returned as normal video results.

## `maxRelatedVideos` (type: `integer`):

Related videos per video

## `outputLayout` (type: `string`):

Nested: a profile row carries its `videos`, a hashtag or sound its `videos`, a video its `comments` (each with its `replies`). Comments, followers, search results and the trending feed are one row each either way. Rows are written as results arrive (a parent row every 100 items, with a `part` number). You pay the same either way — per item.

## `extractContacts` (type: `boolean`):

Adds bioEmail, bioPhone and bioLinks fields (free).

## `outputFormat` (type: `string`):

Shape of each dataset item.

## `fields` (type: `array`):

Optional. Top-level field names to keep, e.g. `id`, `text`, `playCount`, `authorMeta`.

## `language` (type: `string`):

Language of the TikTok app (affects search, trending and translated texts). 'Default' uses the main language of the selected country.

## Actor input object example

```json
{
  "scrapeType": "profiles",
  "inputs": [
    "@nike"
  ],
  "region": "us",
  "resultsPerPage": 0,
  "maxItems": 0,
  "profileContent": [
    "videos"
  ],
  "profileSorting": "latest",
  "videoSearchSorting": "relevance",
  "videoSearchDateFilter": "all",
  "creatorVerifiedOnly": false,
  "scrapeRelatedSearchWords": false,
  "includeReplies": true,
  "maxRepliesPerComment": 0,
  "commentsPerPost": 0,
  "excludePinnedPosts": false,
  "onlyVideos": false,
  "onlySlideshows": false,
  "excludeAds": false,
  "onlyAds": false,
  "uniqueAuthors": false,
  "onlyNewSinceLastRun": false,
  "monitoringStateName": "tiktok-mobile-monitoring-state",
  "scrapeAuthorProfile": false,
  "subtitles": "none",
  "downloadVideos": false,
  "videoQuality": "540p",
  "downloadCovers": false,
  "downloadSlideshowImages": false,
  "downloadAvatars": false,
  "downloadMusic": false,
  "scrapeRelatedVideos": false,
  "maxRelatedVideos": 5,
  "outputLayout": "nested",
  "extractContacts": true,
  "outputFormat": "normalized",
  "language": "auto"
}
```

# Actor output Schema

## `all` (type: `string`):

No description

## `overview` (type: `string`):

No description

## `posts` (type: `string`):

No description

## `authors` (type: `string`):

No description

## `video` (type: `string`):

No description

## `music` (type: `string`):

No description

## `comments` (type: `string`):

No description

## `users` (type: `string`):

No description

## `live` (type: `string`):

No description

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {
    "scrapeType": "profiles",
    "inputs": [
        "@nike"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("pro100chok/tiktok-mobile-api-scraper").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = {
    "scrapeType": "profiles",
    "inputs": ["@nike"],
}

# Run the Actor and wait for it to finish
run = client.actor("pro100chok/tiktok-mobile-api-scraper").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
for item in client.dataset(run.default_dataset_id).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "scrapeType": "profiles",
  "inputs": [
    "@nike"
  ]
}' |
apify call pro100chok/tiktok-mobile-api-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,pro100chok/tiktok-mobile-api-scraper"
        }
    }
}
```

The hosted server signs you in with OAuth on first connect, so no API token belongs in this config. Clients without OAuth support can send an `Authorization: Bearer <APIFY_API_TOKEN>` header instead, using a token from API & Integrations in Apify Console (https://console.apify.com/settings/integrations).

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/uxHXedcIyTabeXEbM/builds/wqCroQhFOb7MITzdc/openapi.json
