API · Douyin
GET /douyin/user
A Douyin creator page: name, bio, video count.
| Request | GET /v1/douyin/user |
| Operation id | douyin.user.get |
| Cost | 2 credits, refunded if the call fails |
| Auth | API key: Authorization: Bearer <key> or x-api-key. |
A Douyin creator page: name, bio, video count.
Query parameters
| Name | Type | Required | Description |
|---|---|---|---|
id | string | no | The creator’s Douyin Select id (media_user.id of any of their videos). |
url | string | no | A Douyin Select creator URL (jingxuan.douyin.com/m/user/<id>), or a video URL: its creator is used. |
Responses
| Status | Meaning | Schema |
|---|---|---|
200 | The creator. | DouyinUser |
400 | Invalid input. Nothing was charged. | Error |
401 | Missing or invalid API key. | Error |
402 | Not enough credits, a spend cap was reached, or payment is required. | Error |
403 | The target is private, or the account is suspended. | Error |
404 | The video or creator does not exist. | Error |
429 | Too many requests. Wait for Retry-After seconds. | Error |
503 | Douyin is temporarily unavailable. Retryable; nothing was charged. | Error |
DouyinUser fields
| Field | Type | Description |
|---|---|---|
id | string | The creator’s Douyin Select id (a video’s media_user.id). |
name | string | |
description | string | |
avatarUrl | string | |
verifiedContent | string | |
videoTotalCount | number | |
url | string |
Errors use one shape everywhere; see Errors for every code and what to do.