Identify the collection rather than its owner

After finding the intended collection in the directory, use cid for its details. The response includes collection information and videos with details such as titles, covers, duration, and play counts. Confirm the group you want, perhaps travel-route references, rather than supplying the owner’s user ID. Identical collection names should still be distinguished through their identifiers.

Treat ordering as a reading choice

A tab_code of zero selects default ordering, one selects hottest, and two selects newest. Newest may help locate recent additions; hottest may highlight attention, but it does not establish accuracy. Continue using next_cursor and has_more, passing the cursor into the next request. A change in ordering changes how the sample should be understood and should not be silently treated as one continuous sequence.

Fit the selection to a viewing budget

With a hypothetical half-hour available, choose relevant works using their actual durations and note the question each should help answer. Duration supports planning, not completeness, and a cover cannot verify route conditions. Mark unavailable items separately instead of equating a directory count with usable material. The outcome is a task-focused viewing schedule, not a wholesale copy of the collection or an assumption of redistribution permission.

Request URL and parameters

GET https://api.trmesh.com/openapi/api/v1/weibo/web_v2/fetch_user_video_collection_detail

Parameter Type Required Meaning
cid string Yes Collection ID
cursor string No Pagination cursor
tab_code integer No Sort type: 0=default, 1=hottest, 2=latest

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/weibo/web_v2/fetch_user_video_collection_detail"
params = {
    "cid": "4883992307236954",
    "tab_code": "0"
}
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.