<p class="crumbs"><a href="/apis/">Data APIs</a> / <a href="/apis/douyin/">Douyin</a></p>

# Douyin account to Xingtu ID API

Look up a Douyin account's Xingtu creator ID by its sec_user_id or profile link; every Xingtu endpoint takes that ID.

| Item | Value |
| --- | --- |
| Endpoint | `GET https://api.feedmcp.com/v1/douyin/xingtu/creators/lookup` |
| ID | `douyin.xingtu.creators.lookup` |
| Price | **$0.002** / call |
| Returns | One Creator object |
| Auth | `Authorization: Bearer $FEEDMCP_API_KEY` |

> The Xingtu ID is not the Douyin sec_user_id. Accounts not on Xingtu return not found, free of charge.

## Parameters

| Name | Type | Required | Description |
| --- | --- | --- | --- |
| `id` | string | yes | The Douyin sec_user_id, or the profile link |

Every endpoint also takes `view=full` to include the platform's raw data as `raw`, at the same price.

## Returned fields

`data.item` is one Creator object, with the same fields on every platform:

| Field | Type | Description |
| --- | --- | --- |
| `id` | string | The creator's ID on the marketing platform: the Xingtu ID on Douyin, the user ID on Xiaohongshu; every creator endpoint of that platform takes it |
| `platform` | string | Platform: douyin or xiaohongshu |
| `name` | string \| null | Name |
| `avatar` | string \| null | Avatar |
| `gender` | 'male' \| 'female' \| null | Gender |
| `location` | string \| null | Location |
| `account_id` | string \| null | The linked account ID (Douyin sec_user_id or Xiaohongshu user ID) for the account endpoints |
| `handle` | string \| null | Douyin handle or RED ID |
| `url` | string \| null | Creator page on Xingtu or PGY |
| `mcn` | string \| null | Agency (PGY profiles only) |
| `uid` | string \| null | Numeric Douyin uid (Xingtu only; the Ocean Engine creator endpoints take it) |
| `tags` | string[] | Content tags |
| `followers` | number \| null | Followers |
| `prices` | {type, price}[] | Rates in CNY: 21–60s and 60s+ videos on Xingtu (search results only; use the rates endpoint for all), picture and video notes on PGY |
| `metrics.expected_views` | number \| null | Expected views per video |
| `metrics.views_median_30d` | number \| null | Median views, last 30 days |
| `metrics.interaction_rate_30d` | number \| null | Interaction rate, last 30 days, 0–1 |
| `metrics.completion_rate_30d` | number \| null | Completion rate, last 30 days, 0–1 |
| `metrics.cpm_21_60s` | number \| null | Expected CPM for 21–60s videos (CNY) |
| `metrics.star_index` | number \| null | Xingtu star index |
| `metrics.read_median` | number \| null | PGY: median reads |
| `metrics.engagement_median` | number \| null | PGY: median engagements |
| `metrics.picture_read_cost` | number \| null | PGY: cost per read, picture notes (CNY) |

## When you are charged

$0.002 per call that returns data. Not found, no data, bad parameters, platform errors and timeouts are free.

Each answer carries `meta.billing`: what this call cost and the balance left.

## Request

### cURL

```bash
curl "https://api.feedmcp.com/v1/douyin/xingtu/creators/lookup?id=MS4wLjABAAAAT2fGXAGTL9txwjo9cQYd8sraQxCp3GHXgd1vJcl71X_avUlCqtRe1hciRrmuRYH3" \
  -H "Authorization: Bearer $FEEDMCP_API_KEY"
```

### Python

```python
import os, requests

r = requests.get(
    "https://api.feedmcp.com/v1/douyin/xingtu/creators/lookup",
    params={"id": "MS4wLjABAAAAT2fGXAGTL9txwjo9cQYd8sraQxCp3GHXgd1vJcl71X_avUlCqtRe1hciRrmuRYH3"},
    headers={"Authorization": f"Bearer {os.environ['FEEDMCP_API_KEY']}"},
    timeout=30,
)
print(r.json())
```

### JavaScript

```js
const res = await fetch("https://api.feedmcp.com/v1/douyin/xingtu/creators/lookup?id=MS4wLjABAAAAT2fGXAGTL9txwjo9cQYd8sraQxCp3GHXgd1vJcl71X_avUlCqtRe1hciRrmuRYH3", {
  headers: { Authorization: `Bearer ${process.env.FEEDMCP_API_KEY}` },
});
console.log(await res.json());
```

### MCP

From an AI with FeedMCP installed, the `call` tool:

```json
{
  "endpoint": "douyin.xingtu.creators.lookup",
  "params": {
    "id": "MS4wLjABAAAAT2fGXAGTL9txwjo9cQYd8sraQxCp3GHXgd1vJcl71X_avUlCqtRe1hciRrmuRYH3"
  },
  "max_price": "0.002"
}
```

## Response

The data below is made up; the shape is the real one.

```json
{
  "code": "ok",
  "request_id": "req_7Qm2kXb9TzLp",
  "data": {
    "item": {
      "id": "7439277672863105076",
      "platform": "douyin",
      "name": "山野纪录",
      "avatar": "https://p11.douyinpic.com/a.jpeg",
      "gender": null,
      "location": null,
      "account_id": "MS4wLjABAAAAT2fGXAGTL9txwjo9cQYd8sraQxCp3GHXgd1vJcl71X_avUlCqtRe1hciRrmuRYH3",
      "handle": null,
      "url": "https://www.xingtu.cn/ad/creator/author-homepage/douyin-video/7439277672863105076",
      "uid": "4317100619601754",
      "tags": [],
      "followers": null,
      "prices": [],
      "metrics": {
        "completion_rate": 0.54
      }
    }
  },
  "page": null,
  "warnings": [],
  "meta": {
    "endpoint": "douyin.xingtu.creators.lookup",
    "platform": "douyin",
    "fetched_at": "2026-11-19T08:00:00.000Z",
    "source": "FeedMCP",
    "catalog_revision": "d09a736bd39e8b3f",
    "billing": {
      "charged": true,
      "amount": "0.002",
      "currency": "USD",
      "balance": "9.98"
    }
  }
}
```

Errors are described in [Errors](/docs/errors/): each says whether you were charged (`charged`) and whether to retry (`retry`).

## Other Douyin endpoints

- [Douyin video](/apis/douyin/videos/get/)：$0.002
- [Douyin video comments](/apis/douyin/videos/comments/list/)：$0.002
- [Douyin account](/apis/douyin/users/get/)：$0.002
- [Douyin account videos](/apis/douyin/users/videos/list/)：$0.002
- [Douyin trending list](/apis/douyin/trends/list/)：$0.002
- [Douyin video search](/apis/douyin/videos/search/)：$0.02
- [Douyin comment replies](/apis/douyin/videos/comments/replies/list/)：$0.002
- [Douyin account search](/apis/douyin/users/search/)：$0.002
- [Xingtu creator search](/apis/douyin/xingtu/creators/search/)：$0.004
- [Xingtu creator profile](/apis/douyin/xingtu/creators/get/)：$0.004
- [Xingtu creator rates](/apis/douyin/xingtu/creators/rates/get/)：$0.04
- [Xingtu creator follower profile](/apis/douyin/xingtu/creators/followers/get/)：$0.004
- [Xingtu creator viewer profile](/apis/douyin/xingtu/creators/audience/get/)：$0.004
- [Xingtu creator performance](/apis/douyin/xingtu/creators/metrics/)：$0.004
- [Xingtu creator cost estimate](/apis/douyin/xingtu/creators/costs/get/)：$0.006
- [Xingtu creator content mix](/apis/douyin/xingtu/creators/content_mix/get/)：$0.004
- [Xingtu creator videos](/apis/douyin/xingtu/creators/videos/list/)：$0.004
- [Xingtu similar creators](/apis/douyin/xingtu/creators/similar/list/)：$0.002
- [Xingtu video report](/apis/douyin/xingtu/videos/report/get/)：$0.004
- [Douyin keyword index](/apis/douyin/index/keywords/history/)：$0.006
- [Douyin related keywords](/apis/douyin/index/keywords/related/)：$0.002
- [Douyin keyword audience](/apis/douyin/index/keywords/audience/get/)：$0.002
- [Douyin live topics](/apis/douyin/index/trends/list/)：$0.002
- [Douyin high-index videos](/apis/douyin/index/videos/search/)：$0.002
- [Douyin creator core figures](/apis/douyin/index/creators/metrics/)：$0.002
- [Douyin creator audience (Ocean Engine)](/apis/douyin/index/creators/audience/get/)：$0.002
- [Douyin creator top videos](/apis/douyin/index/creators/videos/list/)：$0.002
- [Douyin account daily figures](/apis/douyin/users/history/)：$0.002

## Questions

### How much does the Douyin account to Xingtu ID endpoint cost?

$0.002 per call that returns data. Not found, no data, bad parameters, platform errors and timeouts are free.

### Do I need a platform account?

No. Only public data is read.

### Where do I find the ID or link?

A video ID is the number after /video/; an account is the sec_user_id after /user/, not the Douyin handle.

### How do I use it from an AI?

Install the [MCP server](/mcp/) and ask; your AI calls `douyin.xingtu.creators.lookup`.

---

HTML version: https://feedmcp.com/apis/douyin/xingtu/creators/lookup/
