GroundsocialDocs

API · Douyin

GET /douyin/post

One Douyin video: title, author, plays, likes, media.

RequestGET /v1/douyin/post
Operation iddouyin.post.get
Cost2 credits, refunded if the call fails
AuthAPI key: Authorization: Bearer <key> or x-api-key.

One Douyin video: title, author, plays, likes, media.

Query parameters

NameTypeRequiredDescription
urlstringyesA video URL or id. Example: https://www.douyin.com/video/7695208374396276006.

Responses

StatusMeaningSchema
200The video.DouyinVideo
400Invalid input. Nothing was charged.Error
401Missing or invalid API key.Error
402Not enough credits, a spend cap was reached, or payment is required.Error
403The target is private, or the account is suspended.Error
404The video or creator does not exist.Error
429Too many requests. Wait for Retry-After seconds.Error
503Douyin is temporarily unavailable. Retryable; nothing was charged.Error

DouyinVideo fields

FieldTypeDescription
gidstringThe video id (aweme id).
titlestring
abstractstring
publish_timenumberUnix seconds.
play_countnumber | string
digg_countnumber | stringLikes.
cover_image_urlstring
media_userobject
video_modelstringDouyin’s player model (JSON string with stream URLs).
urlstring

Errors use one shape everywhere; see Errors for every code and what to do.