Give the collection a concrete travel purpose

Imagine planning a city visit with older relatives. Your saved notes may mix walking routes with late-night restaurants, so filter them against this trip’s needs rather than treating their collection order as an itinerary. The request supports user_id and share_text for a Xiaohongshu share link. Confirm the intended account; the operation is not a promise of access to arbitrary private collections.

Continue from the last note identifier

Leave cursor empty on the first request. For another page, supply the note_id of the previous page’s final note. It is not a page number, and a pagination value copied from another platform will not serve the same purpose. Keep a record of note identifiers already reviewed so changes in the collection do not confuse your reading.

Annotate the conditions behind each suggestion

Create an itinerary worksheet containing the source, idea you might use, weather considerations, and opening hours still to verify. These are your planning columns, not promised response fields. The lookup returns basic note information and pagination; walking difficulty and accessibility still require reading and confirmation. Check current venue information before relying on old opening hours. A photogenic route may be unsuitable for your companions. Finish with a small set of workable alternatives rather than equating a large saved library with a finished travel plan.

Request URL and parameters

GET https://api.trmesh.com/openapi/api/v1/xiaohongshu/app_v2/get_user_faved_notes

Parameter Type Required Meaning
user_id string No User ID
share_text string No xhslink.com/xhslink.cn/Share link, supports xiaohongshu.com, xhslink.com, xhslink.cn
cursor string No Pagination cursor, leave empty for first request, pass last note_id from previous page for next 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/xiaohongshu/app_v2/get_user_faved_notes"
params = {
    "user_id": "5a8cf39111be10466d285d6b",
    "share_text": "https://xhslink.com/a/EZ4M9TwMA6c3"
}
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.