# TikTok Profile Scraper by Username or User ID (`arjun_code/tiktok-profile-details-scraper`) Actor

Look up TikTok profiles by username, profile URL, or user ID. Export follower and like counts, bios, external links, and verification, plus business categories, Shop tabs, and artist details when available. Get one row per unique account for creator vetting, competitor tracking, or CRM enrichment.

- **URL**: https://apify.com/arjun_code/tiktok-profile-details-scraper.md
- **Developed by:** [ArjunAI Data](https://apify.com/arjun_code) (community)
- **Categories:** Social media
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $2.99 / 1,000 tiktok profile results

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.

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 Profile Scraper

Have a list of TikTok creators or brands to research? Look up public profile data by **username, profile URL, or user ID**. Export follower counts, likes received, bios, links, and verification in one row per unique account. No TikTok login is needed.

- **Vet creators.** Compare account size and activity, then review bios, categories, and listed websites before reaching out.
- **Track competitor profiles.** Run the same list again and compare follower and post counts by user ID and collection date.
- **Enrich a CRM or spreadsheet.** Match known accounts to stable IDs, profile URLs, and available business details without downloading videos.

### Quick start

1. Enter one account per line in **TikTok usernames, profile links, or IDs**. Try `@duolingo` first.
2. Click **Start**, then open **Profile overview** in your Dataset. Switch to **Profile details** for bios, website links, categories, and business fields.
3. Export the Dataset as JSON, CSV, or Excel.

```json
{
  "profiles": ["@duolingo", "https://www.tiktok.com/@gymshark"]
}
```

#### TikTok username and user ID lookup

| Input | Example |
| --- | --- |
| Username | `duolingo` or `@duolingo` |
| Full profile URL | `https://www.tiktok.com/@duolingo` |
| Numeric user ID | `"6917704832925746181"`, as text |
| Secure ID | The `secUid` string from a profile result |

You can mix these formats in one run, up to **30 distinct lookups**. A username and its corresponding URL count as one lookup. Different identifiers may require separate lookups, but the same resolved account is saved only once. Use `@` for an all-digit username; a bare number is treated as a user ID. Video links, short share links, and search terms are not supported.

### TikTok profile data you can export

| Data | Fields |
| --- | --- |
| Account identity | `userId`, `secUid`, `username`, `fullName`, `profileUrl` |
| Public profile | `biography`, `avatarUrl`, `externalUrl`, `socialLinks`, `isVerified`, `verificationLabel`, `isPrivate` |
| Account statistics | `followersCount`, `followingCount`, `likesCount` (likes received), `postsCount` |
| Business and creator details, when available | `accountCategory`, `profileLabels` (e.g. Artist), `businessName`, `hasShopTab`, `hasArtistPlaylist`, `musicCount`, `supportedNonprofit` |
| Lookup details | `inputValue`, `inputType`, `scrapedAt` (UTC collection time, not a join date) |

#### Sample TikTok profile result

This is an excerpt from a real `@duolingo` lookup. Counts and profile details can change between runs.

```json
{
  "recordType": "profile",
  "userId": "6917704832925746181",
  "username": "duolingo",
  "fullName": "Duolingo",
  "profileUrl": "https://www.tiktok.com/@duolingo",
  "followersCount": 18595672,
  "likesCount": 516543225,
  "postsCount": 1171,
  "isVerified": true,
  "accountCategory": "Shopping & Retail",
  "businessName": "Duolingo, Inc."
}
```

Successful results use `recordType: "profile"`. If a lookup cannot be completed, it produces a `lookupStatus` row without interrupting other valid inputs. Open **Lookup notices** for the affected input and next step. The `OUTPUT` run summary reports the saved totals.

### TikTok profile lookup pricing

| What is charged | Rate |
| --- | --- |
| Each unique profile saved | **$0.00299** ($2.99 per 1,000 profiles) |
| Actor start at the default 256 MB | **$0.00005** |

Two saved profiles at the default memory cost **$0.00603**, including the start charge. Duplicate profiles and lookup notices incur no result fee, but the start charge still applies if a run starts and saves no profiles. Higher memory allocations can increase that charge. Platform usage during the run is included. See the Actor's **Pricing** tab for current rates.

### Run profile lookups via the Apify API

Use the same `profiles` input in a script or automation. Set `APIFY_TOKEN` in your environment and pass it in the authorization header.

```bash
curl --request POST \
  --header "Authorization: Bearer $APIFY_TOKEN" \
  --header "Content-Type: application/json" \
  --data '{"profiles":["@duolingo"]}' \
  "https://api.apify.com/v2/actors/arjun_code~tiktok-profile-details-scraper/run-sync-get-dataset-items"
```

This example returns the Dataset rows as JSON. For other run options, see the [Apify Actor API reference](https://docs.apify.com/api/v2/actor-run-sync-get-dataset-items-post).

### Use TikTok profiles in AI workflows with MCP

Connect an AI assistant to Apify's hosted [Model Context Protocol (MCP) server](https://docs.apify.com/mcp). The assistant can look up known TikTok accounts and use the results for creator research, reporting, or CRM enrichment. You do not need to run a local server.

1. In your MCP client, add a **Streamable HTTP** server named **Apify TikTok Profiles**. Use this URL to load this Actor as a tool:

   ```text
   https://mcp.apify.com/?tools=arjun_code%2Ftiktok-profile-details-scraper
   ```

2. Sign in to Apify with OAuth. If your client uses an API token instead, configure `Authorization: Bearer <APIFY_TOKEN>` in the client's credential settings. Keep the token out of URLs and prompts. If the Actor is private, use an Apify account with access.

3. Confirm that `arjun_code--tiktok-profile-details-scraper` appears in the tool list. It accepts the same `profiles` input as the Console and API:

   ```json
   {
     "profiles": ["@duolingo", "@gymshark"]
   }
   ```

#### Example prompt

> Run the TikTok Profile Scraper once for @duolingo and @gymshark. Show each username, profile URL, follower count, post count, and website in a table. List lookup notices separately and leave missing values blank.

If the assistant gets a run ID instead of the rows, ask it to check the run with `get-actor-run` and read the Dataset with `get-dataset-items`. If you already use the standard Apify MCP connection, you can also run `arjun_code/tiktok-profile-details-scraper` via `call-actor`.

Connecting does not start a run. Runs started through MCP use the same **30-lookup limit and Actor pricing** as runs started in the Console or API.

### Related social media profile scrapers

Researching a TikTok creator or brand on other platforms? Use a confirmed handle or profile URL to add platform-specific details to your shortlist, spreadsheet, or CRM.

- [Instagram Profile Details Scraper](https://apify.com/arjun_code/instagram-profile-details-scraper) — add follower and post counts, bio links, and available public business contacts. Optional About fields include the reported account country and join month when available.
- [Threads Profile Scraper](https://apify.com/arjun_code/threads-profile-details-scraper) — look up Threads follower counts, bios, bio links, profile topics, and verification. [Try the Threads username example](https://apify.com/arjun_code/threads-profile-details-scraper/examples/threads-profile-lookup-by-username).
- [YouTube Channel Details Scraper](https://apify.com/arjun_code/youtube-channel-details-scraper) — add subscriber counts, channel descriptions, and available public links for a known YouTube channel.

Each Actor looks up accounts on its own platform. Use the profile URL to keep records distinct until you have confirmed that the accounts are linked.

### FAQ and support

#### Does this find creators by keyword or download TikTok videos?

No. This Actor looks up known accounts and returns profile-level data. It does not collect videos, comments, lists of followers, or private content.

#### Why are some links or business fields empty?

The Actor reports those fields only when available. Missing scalar values are `null`, and missing list values such as `socialLinks` or `profileLabels` are empty arrays. `externalUrl` is the website or link hub listed on the profile; `socialLinks` contains explicitly linked accounts. Links are not visited, and profile image URLs may expire.

#### What do TikTok Shop and artist fields mean?

`hasShopTab` indicates a reported Shop tab, not a verified seller or sales figures. `musicCount` is the reported TikTok music catalog count, not the number of unique releases.

For help, open an issue on the Actor and include the Apify run ID and an example input. Do not include credentials.

This is an independent tool and is not affiliated with TikTok.

# Actor input Schema

## `profiles` (type: `array`):

Mix inputs such as @tiktok, https://www.tiktok.com/@duolingo, a numeric account ID like 107955, or a TikTok secUid. Use @ for an all-digit username. Do not enter video links, share short links, or search terms. Up to 30 distinct lookups per run.

## Actor input object example

```json
{
  "profiles": [
    "@tiktok"
  ]
}
```

# Actor output Schema

## `profiles` (type: `string`):

No description

## `summary` (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 = {
    "profiles": [
        "@tiktok"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("arjun_code/tiktok-profile-details-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 = { "profiles": ["@tiktok"] }

# Run the Actor and wait for it to finish
run = client.actor("arjun_code/tiktok-profile-details-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 '{
  "profiles": [
    "@tiktok"
  ]
}' |
apify call arjun_code/tiktok-profile-details-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,arjun_code/tiktok-profile-details-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/N7RwJUgNu78ftcYsQ/builds/I5h6wlYWqabjZlOn9/openapi.json
