Choose the collection that contains your recipes
A large saved library can make weekend cooking harder rather than easier. Begin with the specific recipe collection you want to review. This request takes collects_id, which identifies a collection rather than an account nickname. Confirm that target before reading several pages, or travel and decorating clips may obscure the practical cooking decision.
Watch before writing a shopping list
Use max_cursor and counts for the retrieval workflow, then manually note ingredients, equipment, and important steps while reviewing candidate videos. The response supplies post data; it does not interpret quantities spoken in a clip or guarantee a complete recipe. In a hypothetical rice recipe with no stated water quantity, write “confirm water quantity” instead of inventing a measurement to make your notes look finished.
Commit to two manageable dishes
Your planning sheet might contain source links, an intended cooking date, ingredients to buy, and unfamiliar techniques. Combining a familiar staple with one new dish makes a more practical plan than copying an entire collection. Saving a video does not prove that its owner cooked or endorsed the dish. Mark inaccessible items for alternative sourcing, and do not read an empty result as proof that no collection exists. Access to this operation is not a guarantee of access to private saved material.
Request URL and parameters
GET https://api.trmesh.com/openapi/api/v1/douyin/web/fetch_user_collects_videos
| Parameter | Type | Required | Meaning |
|---|---|---|---|
collects_id |
string | Yes | Collection id |
max_cursor |
integer | No | Maximum cursor |
counts |
integer | No | Number per page |
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_user_collects_videos"
params = {
"collects_id": "YOUR_COLLECTS_ID"
}
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.
