Your balcony tomatoes have yellowing leaves. Some notes recommend more water and others less, so collecting more tips is making the decision harder. Start by describing your own conditions.
Record the balcony before searching
Note season, orientation, sunlight, pot size and care you actually provided. Search separately for light, soil and watering questions, preserving the documented search settings. Retrieval provides leads, not a diagnosis of the plant.
Attach conditions to each reference
Use the appropriate image or video detail endpoint and check whether the author states climate, indoor or outdoor conditions and growth stage. Leave absent details unknown. A photograph does not establish exact watering quantities, and another crop's method may not apply.
Order reading around your current decision
A worksheet can include source, question, conditions, advice, differences from home and verification needs. Prioritize useful observation methods over poorly qualified conclusions. AI may organize the notes but must preserve differences rather than invent a universal care plan.
Add your own observations separately
Confirm suitability before making an adjustment, then record what you actually changed and observed. Do not invent results or immediately attribute a short-term change to one action. Preserve earlier records during weekly updates. The API does not monitor plants, diagnose disease or schedule watering. The result is a focused reference and observation plan that makes conflicting advice easier to assess.
Requests used in this project
- Search notes:https://api.trmesh.com/openapi/api/v1/xiaohongshu/app_v2/search_notes · Documentation
- Get image note detail:https://api.trmesh.com/openapi/api/v1/xiaohongshu/app_v2/get_image_note_detail · Documentation
- Get video note detail:https://api.trmesh.com/openapi/api/v1/xiaohongshu/app_v2/get_video_note_detail · Documentation
Request URL and parameters
GET https://api.trmesh.com/openapi/api/v1/xiaohongshu/app_v2/search_notes
| Parameter | Type | Required | Meaning |
|---|---|---|---|
keyword |
string | Yes | Search keyword |
page |
integer | No | Page number, start from 1 |
sort_type |
string | No | Sort type |
note_type |
string | No | Note type: 不限, 视频笔记, 普通笔记, 直播笔记 |
time_filter |
string | No | Time filter: 不限, 一天内, 一周内, 半年内 |
search_id |
string | No | Search ID for pagination |
search_session_id |
string | No | Search session ID for pagination |
source |
string | No | Source |
ai_mode |
integer | No | AI mode: 0=off, 1=on |
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/search_notes"
params = {
"keyword": "美食推荐",
"page": "1",
"sort_type": "general",
"note_type": "不限",
"time_filter": "不限",
"source": "explore_feed",
"ai_mode": "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.

