# Douyin Profile Scraper (`automly/douyin-profile-scraper`) Actor

Scrape Douyin (抖音) creator profiles from links without login: name, Douyin ID, bio, exact followers, following and likes, video count, IP location and verification, plus each creator's newest videos with their counts.

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

## Pricing

from $1.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.
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

## Douyin Profile Scraper

### What is Douyin Profile Scraper?

**Douyin Profile Scraper** lets you **scrape Douyin (抖音) creator profiles** (博主主页) with their newest videos: name, 抖音号, bio, exact followers, following and total likes, video count, IP location (IP属地) and verification, plus each newest video's caption, likes, comments, shares, saves, hashtags, sound, length and video link. Paste profile links, click **Start**, and download the data as Excel, CSV or JSON.

- ⚡ **Fast:** a profile and its newest videos in a few seconds (our tests)
- 👤 **Exact counts:** followers, following, total likes and video count as numbers, not rounded
- 🎬 **Newest videos:** up to about 40 per creator, pinned ones marked, with video links without watermark
- 🔓 **No login:** no Douyin account, cookies or API key needed

### What can Douyin Profile Scraper do?

- Scrape **public Douyin profiles** from profile links, share links or the sec_uid
- Get each creator's **newest videos and image posts** (图文) with full stats, or the profile alone
- Read many creators in one run; a missing profile never stops the others
- Export to Excel, CSV, JSON, HTML or XML, or send the data to Google Sheets, Make, Zapier and more

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

| | | |
|---|---|---|
| 👤 Name and 抖音号 | 📝 Bio | 🖼️ Profile picture |
| 👥 Followers and following | ❤️ Total likes received | 🎬 Video count |
| 📍 IP location (IP属地) | ✅ Verification | 🔴 Live now |
| 📝 Video caption and hashtags | 💬 Likes, comments, shares, saves | 🎵 Sound, length and video link |

### How to scrape Douyin profiles

1. [Create a free Apify account](https://console.apify.com/sign-up) (no credit card needed).
2. Open **Douyin Profile Scraper**.
3. Paste **Profile links** or v.douyin.com share links of profiles, one per line.
4. Set **Videos per profile** (0 for the profile only). Click **Start**.
5. When the run finishes, download your data as Excel, CSV, JSON, HTML or XML.

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

You pay only for the results you get: per profile and per video. Higher Apify plans pay less:

| Apify plan | Per 1,000 profiles | Per 1,000 videos |
|---|---|---|
| Free | $3.49 | $3.49 |
| Starter (Bronze) | $2.99 | $2.99 |
| Scale (Silver) | $2.79 | $2.79 |
| Business (Gold) and higher | $1.99 | $1.99 |

Platform usage is included in these prices, so you pay nothing else for the run. There is no start fee. Example: 100 creators with 10 videos each (100 profiles and 1,000 videos) cost $3.84 on the Free plan and $2.19 on Business. Every Apify account gets **$5 of free usage each month**.

### ⬇️ Input

| Setting | What it does |
|---|---|
| Profile links | Douyin profile links, share links of profiles or sec_uids, one per line |
| Videos per profile | How many of each profile's newest videos to save; 0 for the profile only |

```json
{
  "profileUrls": ["https://www.douyin.com/user/MS4wLjABAAAAPUG08xj-oo8FJcryGOGHXb18vGmgnqyyJIctPvhN-iI"],
  "maxPostsPerProfile": 10
}
```

### ⬆️ Output

Every row has a `type`: **profile** or **video** (image posts too, with `postType` set to `images`). A profile:

```json
{
  "type": "profile",
  "secUid": "MS4wLjABAAAAPUG08xj-oo8FJcryGOGHXb18vGmgnqyyJIctPvhN-iI",
  "url": "https://www.douyin.com/user/MS4wLjABAAAAPUG08xj-oo8FJcryGOGHXb18vGmgnqyyJIctPvhN-iI",
  "nickname": "好奇罗盘",
  "douyinId": "haoqiluopan369",
  "id": "796500026463575",
  "bio": "用 最生动的动画 还原 最真实的案例",
  "avatarUrl": "https://p3-pc.douyinpic.com/aweme/1080x1080/aweme-avatar/tos-cn-i-0813_o4D1IzQAMfALcIf5...",
  "followers": 3936416,
  "following": 71,
  "likes": 33261746,
  "videos": 139,
  "collections": 3,
  "verified": null,
  "ipLocation": "河南",
  "privateAccount": false,
  "liveNow": false,
  "source": "https://www.douyin.com/user/MS4wLjABAAAAPUG08xj-oo8FJcryGOGHXb18vGmgnqyyJIctPvhN-iI",
  "scrapedAt": "2026-11-15T16:50:33Z"
}
```

One of its videos:

```json
{
  "type": "video",
  "id": "7677904074527771947",
  "url": "https://www.douyin.com/video/7677904074527771947",
  "postType": "video",
  "title": "甘肃马拉松惨剧：172名参赛者21人遇难，中国越野跑最大事故",
  "text": "甘肃马拉松惨剧：172名参赛者21人遇难，中国越野跑最大事故 #甘肃马拉松 #越野跑 #户外",
  "createdAt": "2026-08-25T09:49:14Z",
  "authorNickname": "好奇罗盘",
  "authorSecUid": "MS4wLjABAAAAPUG08xj-oo8FJcryGOGHXb18vGmgnqyyJIctPvhN-iI",
  "likes": 845416,
  "comments": 28416,
  "shares": 183389,
  "saves": 106839,
  "recommends": 26382,
  "hashtags": ["甘肃马拉松", "越野跑", "户外"],
  "categories": ["时政社会", "社会新闻", "民生"],
  "durationSeconds": 852,
  "coverUrl": "https://p3-pc-sign.douyinpic.com/tos-cn-i-dy/155414ceeb5d49c59789eda6d4247475...",
  "videoUrl": "https://v3-dy-o.zjcdn.com/a93eeffcc7c46e0f828f9ef8f677620b/6afa105c/video/tos/cn/...",
  "soundTitle": "@好奇罗盘创作的原声",
  "collection": "户外探险事件",
  "isPinned": true,
  "isAd": false,
  "isAiGenerated": false,
  "source": "https://www.douyin.com/user/MS4wLjABAAAAPUG08xj-oo8FJcryGOGHXb18vGmgnqyyJIctPvhN-iI",
  "scrapedAt": "2026-11-15T16:50:34Z"
}
```

Video rows have more fields than shown here (sound link and author, size, image-post photos and more); see the **Output** tab. Dates are UTC (ISO 8601).

### How can I use Douyin profile data?

- **Influencer research:** compare creators by exact followers, total likes and how their newest videos perform
- **Lead lists:** collect creators in your niche with their bio, verification and location
- **Tracking:** run the same profiles every week and see how their followers and likes grow
- **Content research:** see what creators posted lately and which videos did best

### ❓FAQ

#### How many videos can I get from a Douyin profile?

Up to about 40 of the creator's newest videos, pinned videos first. That is all Douyin shows to visitors who are not logged in, so older videos cannot be reached from the profile. The profile row still has the exact total number of videos the creator posted.

#### Can I use profile links with a user name or 抖音号?

Douyin profiles are opened by the long ID in the profile link (`www.douyin.com/user/MS4wLjABAAAA...`). Copy the link from the profile page or the share link from the app; a 抖音号 alone cannot be opened without a search.

#### Do the video links have a watermark?

No. The `videoUrl` link is the video without the Douyin watermark. The link works for a few hours after the run, so download the files soon.

#### Do I need a Douyin account?

No. You don't need a Douyin account, cookies, an API key or a Chinese phone number.

#### What happens with a private account or a wrong link?

A private account gives its profile row only. A profile that does not exist is listed as not found in the run report (`report-summary`) and the run still succeeds. A video link given here is listed as the wrong kind of link; use **Douyin Scraper** for videos by link.

#### Can I get the comments too?

Use **Douyin Comments Scraper** with the video links, or **Douyin Scraper** for profiles, videos and comments in one run.

#### Can I use it with AI agents (MCP)?

Yes. Ask your agent, for example, "Get the followers and the 10 newest videos of this Douyin creator", and it can run this scraper with:

```json
{"profileUrls": ["https://www.douyin.com/user/MS4wLjABAAAAPUG08xj-oo8FJcryGOGHXb18vGmgnqyyJIctPvhN-iI"], "maxPostsPerProfile": 10}
```

#### Is it legal to scrape Douyin profiles?

This scraper only collects data that people chose to publish publicly. Public profiles can still contain personal data, which may be protected by laws such as GDPR or China's PIPL, so only scrape it for a legitimate reason and ask a lawyer if you are unsure. You can read more in [Is web scraping legal?](https://blog.apify.com/is-web-scraping-legal/)

Douyin Profile Scraper is an independent tool. It is not affiliated with, endorsed by or sponsored by Douyin or ByteDance.

#### Something isn't working?

Open the **Issues** tab and tell us the link and what you expected. We usually reply within a day.

# Actor input Schema

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

Douyin profile links, one per line, e.g. https://www.douyin.com/user/MS4wLjABAAAA... or a v.douyin.com share link of a profile (the whole share text copied from the app works too). The sec_uid alone (MS4wLjABAAAA...) works as well.

## `maxPostsPerProfile` (type: `integer`):

How many of each profile's newest videos and image posts to save, e.g. 20. Douyin shows visitors up to about 40 of a creator's newest posts (pinned ones first). Set 0 for the profile row only.

## `proxyConfiguration` (type: `object`):

Leave the default.

## Actor input object example

```json
{
  "profileUrls": [
    "https://www.douyin.com/user/MS4wLjABAAAAPUG08xj-oo8FJcryGOGHXb18vGmgnqyyJIctPvhN-iI"
  ],
  "maxPostsPerProfile": 10,
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}
```

# Actor output Schema

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

No description

## `videos` (type: `string`):

No description

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

No description

## `report` (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 = {
    "profileUrls": [
        "https://www.douyin.com/user/MS4wLjABAAAAPUG08xj-oo8FJcryGOGHXb18vGmgnqyyJIctPvhN-iI"
    ],
    "maxPostsPerProfile": 10,
    "proxyConfiguration": {
        "useApifyProxy": true
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("automly/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/MS4wLjABAAAAPUG08xj-oo8FJcryGOGHXb18vGmgnqyyJIctPvhN-iI"],
    "maxPostsPerProfile": 10,
    "proxyConfiguration": { "useApifyProxy": True },
}

# Run the Actor and wait for it to finish
run = client.actor("automly/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/MS4wLjABAAAAPUG08xj-oo8FJcryGOGHXb18vGmgnqyyJIctPvhN-iI"
  ],
  "maxPostsPerProfile": 10,
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}' |
apify call automly/douyin-profile-scraper --silent --output-dataset

```

## MCP server setup

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