You are organizing Douyin footage you are authorized to use, but a copy shared in chat looks blurry. The highest-quality playback capability can help inspect the original upload quality. It cannot restore detail that never existed in the source.

Confirm the work and its permitted use

Identify the video by its work ID or share URL; the ID takes precedence when supplied. Check that it is the intended version before incorporating it into editing. Access to a playback link does not grant copyright permission. This workflow assumes your own footage or material with appropriate authorization.

Check playback in the relevant environment

The contract explains that request region affects the returned CDN domain. Choose a region appropriate to the access environment. The result includes an original-quality address and video metadata, with available duration or size information useful for inspection. Playback trouble alone does not establish file corruption or guarantee compatibility with every device.

Record the quality decision

Retain the work identity, retrieval date, observed properties, and editing suitability. Distinguish a blurry original from degradation introduced by shared copies. Output aspect ratio, frame rate, and other production needs still require review. Select confirmed material that serves the project rather than assuming the word highest guarantees losslessness, permanent availability, or unrestricted encoding compatibility.

Request URL and parameters

GET https://api.trmesh.com/openapi/api/v1/douyin/web/fetch_video_high_quality_play_url

Parameter Type Required Meaning
aweme_id string No Video id
share_url string No Optional, share link
region string No Optional, ISO country code (e.g. CN/US/HK). Pass CN to get China-region CDN URLs for faster download in mainland China.

Run the Python example

Install requests and set TRMESH_API_TOKEN in your environment. Replace the sample identifiers with the public object you intend to inspect. Example IDs may no longer be available.

import os
import requests

# Read your own developer key from the server environment.
url = "https://api.trmesh.com/openapi/api/v1/douyin/web/fetch_video_high_quality_play_url"
params = {
    "aweme_id": "7512756548356492544",
    "share_url": "https://www.douyin.com/video/7512756548356492544",
    "region": "CN"
}
response = requests.get(
    url, params=params, timeout=30,
    headers={"Authorization": f"Bearer {os.environ['TRMESH_API_TOKEN']}"},
)
response.raise_for_status()
payload = response.json()
print(payload)  # Inspect the actual response before mapping fields

Endpoint documentation · Free profile tool

API calls use your TRMesh account allowance. Check the endpoint price before running a script.