SocialPipe docs

Douyin Web Fetch Video High Quality Play Url

GET/v1/douyin/web/fetch_video_high_quality_play_url

Returns no personal data. See our terms for what you may do with it.

Costs 5 credits. A cache hit costs nothing, and an answer that contains no data is never charged.

curl "https://api.socialpipe.dev/v1/douyin/web/fetch_video_high_quality_play_url" \  -H "Authorization: Bearer $SOCIALPIPE_KEY"
AuthorizationBearer <token>

Your SocialPipe API key, as Authorization: Bearer sp_live_…. Create one in the dashboard.

In: header

Query Parameters

aweme_id?|

id/Video id

share_url?|

Optional, share link

region?|

(ISO CN/US/HK) CN CDN / Optional, ISO country code (e.g. CN/US/HK). Pass CN to get China-region CDN URLs for faster download in mainland China.

cache_ttl?|

Max acceptable age of a cached result, in seconds. A lower value demands fresher data; it does not shorten what is stored.

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

application/json

application/json

application/json

curl -X GET "https://example.com/v1/douyin/web/fetch_video_high_quality_play_url"
{  "cache_age": 0,  "cached": false,  "credits_remaining": 0,  "credits_used": 0,  "data": {},  "schema_version": "2",  "success": true,  "took_ms": 0}