API · Douyin
GET /douyin/post
One Douyin video: title, author, plays, likes, media.
| Request | GET /v1/douyin/post |
| Operation id | douyin.post.get |
| Cost | 2 credits, refunded if the call fails |
| Auth | API key: Authorization: Bearer <key> or x-api-key. |
One Douyin video: title, author, plays, likes, media.
Query parameters
| Name | Type | Required | Description |
|---|---|---|---|
url | string | yes | A video URL or id. Example: https://www.douyin.com/video/7695208374396276006. |
Responses
| Status | Meaning | Schema |
|---|---|---|
200 | The video. | DouyinVideo |
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 |
DouyinVideo fields
| Field | Type | Description |
|---|---|---|
gid | string | The video id (aweme id). |
title | string | |
abstract | string | |
publish_time | number | Unix seconds. |
play_count | number | string | |
digg_count | number | string | Likes. |
cover_image_url | string | |
media_user | object | |
video_model | string | Douyin’s player model (JSON string with stream URLs). |
url | string |
Errors use one shape everywhere; see Errors for every code and what to do.