# Douyin 抖音 Profile Scraper: Followers & Likes (`theshark/douyin-profile-scraper`) Actor

Scrape Douyin (抖音) creator profiles by link or sec_uid, no login needed. Get followers, following, total likes, post count, bio, avatar and banner, verification, IP region, shop and live flags and linked accounts. Pay only for results.

- **URL**: https://apify.com/theshark/douyin-profile-scraper.md
- **Developed by:** [TheShark](https://apify.com/theshark) (community)
- **Categories:** Social media, Lead generation, Automation
- **Features:** Limited permissions
- **Stats:** 1 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $3.99 / 1,000 profiles

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

## Douyin 抖音 Profile Scraper: Followers & Likes

Scrape public [Douyin](https://www.douyin.com) (抖音, the Chinese TikTok) creator profiles: followers, following, total likes, number of posts, bio, avatar and banner, verification, IP region, personal tags, live and shop flags, collections and series, and linked accounts on other platforms. One clean row per profile.

No Douyin account, login, cookies or proxies of your own are needed. You pay only for profiles that were collected.

### What can you do with Douyin Profile Scraper?

- **Find and vet creators:** audience size, total likes and verification before you reach out.
- **Track growth:** run the same list on a schedule and follow followers, likes and posts over time.
- **Map a niche:** compare creators, brands and media accounts side by side.
- **Spot sellers:** shop, live-commerce and new-goods flags show who sells on Douyin.
- **Use it as a Douyin API:** start runs and get results from your own code through the Apify API.

### What data can you get from Douyin profiles?

| Data | Fields |
|---|---|
| Identity | nickname, Douyin ID, short ID, uid, sec_uid, profile link, share link |
| Metrics | followers, following, total likes, posts, likes given, public saves, collections, series |
| Profile | bio, avatar, banner, personal tags, IP region, country, province, city, gender, age (when public), school |
| Verification | verification type, verified title, enterprise verification |
| Business | shop, live-commerce, new-goods and enterprise flags, commerce level, live status |
| Linked accounts | YouTube, Twitter and Instagram IDs when the creator added them, followers on other ByteDance apps |

### How to scrape Douyin profiles

1. Paste profile links (douyin.com/user/…, v.douyin.com short links from the share button) or sec_uid values (MS4wLjABAAAA…).
2. Click **Start**. A row per profile appears in the dataset.
3. Download the results as JSON, CSV, Excel or HTML, or get them through the API.

### Input

| Field | Description |
|---|---|
| Douyin profile links or IDs | Profile links, v.douyin.com short links or sec_uid values, one per line. |

```json
{
  "profileUrls": [
    "https://www.douyin.com/user/MS4wLjABAAAAgq8cb7cn9ByhZbmx-XQDdRTvFzmJeBBXOUO4QflP96M"
  ]
}
```

### Output

#### Identity

| Field | Description |
|---|---|
| `sec_uid` | Stable public user ID (used in profile URLs). |
| `input_url` | Your input exactly as given — use it to match short links to results. |
| `uid` | Numeric user ID. |
| `url` | Profile link: `https://www.douyin.com/user/<sec_uid>`. |
| `nickname` | Display name. |
| `unique_id` | The @handle (Douyin ID); empty when the user never set one. |
| `short_id` | Legacy numeric Douyin ID (empty when not set). |
| `signature` | Bio. |
| `avatar_larger` | Large avatar URL (1080×1080). |
| `avatar_thumb` | Small avatar URL (100×100). |
| `cover_url` | Profile banner image URL. |
| `share_url` | Douyin's share link for the profile (tracking query removed). |
| `signature_language` | Language Douyin detected in the bio (e.g. zh). |
| `personal_tags[]` | Badges Douyin shows on the profile, as text (e.g. IP：广东). |
| `ok` | `true` for a successful row. |

#### Metrics

| Field | Description |
|---|---|
| `follower_count` | Followers. |
| `mplatform_followers_count` | Followers across Douyin's platforms (as Douyin reports it). |
| `max_follower_count` | Douyin's "max follower" counter. |
| `following_count` | Accounts followed. |
| `total_favorited` | **Total likes received** across all posts. |
| `favoriting_count` | Likes given. |
| `aweme_count` | Posts published. |
| `dongtai_count` | Activity (动态) count. |
| `forward_count` | Reposts. |
| `mix_count` | Collections (合集). |
| `series_count` | Series (短剧). |
| `public_collects_count` | Public favourites folders. |
| `original_musician.music_count` | Original sounds the user published. |
| `original_musician.music_used_count` | Videos that use those sounds. |
| `original_musician.digg_count` | Likes on those sounds. |

#### Verification

| Field | Description |
|---|---|
| `custom_verify` | Verification text (e.g. a creator badge). |
| `enterprise_verify_reason` | Business verification text. |
| `is_star` | Douyin's "star" (celebrity/notable account) flag. |
| `is_gov_media_vip` | Government / official media account. |
| `verification_type` | Douyin's raw verification code as the profile page reports it. It can be `0` here even when the same author shows `1` on their video pages, so don't read `0` as "unverified" — check `custom_verify` / `enterprise_verify_reason` too. |

#### Region and personal info (only what the user made public)

| Field | Description |
|---|---|
| `ip_location` | Public IP region Douyin displays (e.g. `广东`), province level — not an address. |
| `country` | Country (often empty). |
| `province` | Province (often empty). |
| `city` | City (often empty). |
| `district` | District (often empty). |
| `gender` | 0 = not shown, 1 = male, 2 = female. |
| `user_age` | Age as Douyin reports it; treat 0 or negative as hidden. |
| `school_name` | School, if shown. |
| `store_region` | Douyin's region code for the account, e.g. cn-gd = Guangdong (country-province). |

#### Live, cross-platform, commerce

| Field | Description |
|---|---|
| `live_status` | 1 = live right now. |
| `room_id_str` | Live room ID when live (empty otherwise). |
| `ins_id` | Linked Instagram ID. |
| `youtube_channel_id` | Linked YouTube channel ID. |
| `youtube_channel_title` | Linked YouTube channel title. |
| `twitter_id` | Linked Twitter/X ID. |
| `twitter_name` | Linked Twitter/X name. |
| `with_fusion_shop_entry` | Profile has a shop (橱窗) entry. |
| `with_commerce_entry` | Profile has a commerce entry. |
| `with_commerce_enterprise_tab_entry` | Profile has a business (enterprise) shop tab. |
| `with_new_goods` | The shop has new products. |
| `live_commerce` | The user sells in live streams (直播带货). |
| `commerce_user_level` | Douyin's seller level code (0 = none). |
| `is_series_user` | The user publishes series (短剧). |
| `is_mix_user` | The user publishes collections (合集). |

#### Row statuses

| Row | Meaning | Charged? |
|---|---|---|
| `ok: true` | The profile was collected. | Yes |
| `ok: false` | The profile was not collected. `error` and `reason` say why: `BlockedOrGone` means the account was banned, deleted or never existed; for any other value, run it again later. | No |
| `error: "Skipped"` | The run did not get to this input. Run it again. | No |

Rows with `ok: false` carry `url` and `input_url` (your input).

### How much does it cost to scrape Douyin profiles?

The actor uses pay-per-event pricing: a flat price per collected profile and a small fee per run start. The current prices are on the **Pricing** tab.

| Event | When it is charged |
|---|---|
| Result | One profile collected (`ok: true`). |
| Actor start | Once per run. |

You pay only for what was delivered:

- Only rows with data are charged. Rows with `ok: false` are free.
- Set a maximum cost per run in Apify and the actor stops cleanly when it is reached, keeping everything collected so far.
- Nothing is charged twice in one run, even if Apify restarts or migrates the run.

### Good to know

- **Public data only.** The actor collects what anyone can see on a Douyin profile without an account. Follower and following lists are not part of it.
- **Personal details** (gender, age, region, school) appear only when the creator made them public.
- **Verification.** `verification_type` comes from the profile page. Douyin Video Scraper also reports the author's verification as shown on their videos.
- **Data is in Chinese**, exactly as Douyin shows it.

### Integrations and API

- **API:** start runs and download results with the [Apify API](https://docs.apify.com/api/v2) or the Apify clients for Python and JavaScript.
- **Schedules:** run the actor every hour, day or week and keep the numbers fresh.
- **Integrations:** send results to Google Sheets, Slack, Make, Zapier, webhooks and other tools supported by Apify.

### FAQ

**Do I need a Douyin account or proxies?**
No. The actor does not log in and uses its own proxies.

**Where do I find a profile's sec_uid?**
It is the part after /user/ in the profile link. You can also paste the whole link or a v.douyin.com short link.

**Can I get the creator's videos too?**
Use Douyin User Posts Scraper with the same profile links.

**Do I pay for profiles that were not collected?**
No. Only rows with data are charged.

# Actor input Schema

## `profileUrls` (type: `array`):

Links to Douyin creator profiles (douyin.com/user/…, v.douyin.com short links from the share button) or sec_uid values (MS4wLjABAAAA…). One per line.

## Actor input object example

```json
{
  "profileUrls": [
    "https://www.douyin.com/user/MS4wLjABAAAAgq8cb7cn9ByhZbmx-XQDdRTvFzmJeBBXOUO4QflP96M"
  ]
}
```

# Actor output Schema

## `results` (type: `string`):

One row per profile: followers, following, total likes, number of posts, bio and verification.

# 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 = {
    "profileUrls": [
        "https://www.douyin.com/user/MS4wLjABAAAAgq8cb7cn9ByhZbmx-XQDdRTvFzmJeBBXOUO4QflP96M"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("theshark/douyin-profile-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 = { "profileUrls": ["https://www.douyin.com/user/MS4wLjABAAAAgq8cb7cn9ByhZbmx-XQDdRTvFzmJeBBXOUO4QflP96M"] }

# Run the Actor and wait for it to finish
run = client.actor("theshark/douyin-profile-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 '{
  "profileUrls": [
    "https://www.douyin.com/user/MS4wLjABAAAAgq8cb7cn9ByhZbmx-XQDdRTvFzmJeBBXOUO4QflP96M"
  ]
}' |
apify call theshark/douyin-profile-scraper --silent --output-dataset

```

## MCP server setup

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