Xiaohongshu Get Topic Info
Retrieve details for a Xiaohongshu topic. Inputs: - page_id (required): Topic page ID, for example "5c1cc866febed9000184b7c1". - source (optional): Source context; defaults to "normal". - note_id (optional): Source note ID when navigating from a note to the topic; defaults to an empty string. Returns: Topic details in data, including page_info with the topic name, view count, and discussion count, plus tabs and share_info. Use a valid topic page ID. An incorrect or nonexistent ID may return a service error in data even if the request returns normally; a normal response alone does not mean topic details were retrieved.
Pricing
| Condition | Charge |
|---|---|
| Each call | 20.65 credits/call |
20.65 credits/call Charges are per query. A successful query is billed even if it returns no results.
Use a valid topic page ID. If the ID is invalid or does not exist, a normally returned response may contain only a service error; a normal response does not guarantee that topic details were retrieved.
Parameters
Optional parameters use the platform defaults when omitted.
| Parameter | Type | Required | Description | Default |
|---|---|---|---|---|
source | string | No | 来源/Source | normal |
note_id | string | No | 来源笔记ID,从笔记跳转到话题时传入/Source note ID, pass when jumping from note to topic | "" |
page_id | string | Yes | 话题页面ID/Topic page ID | — |
Invocation example
Parameter templateGenerated from the parameter configuration. Replace the sample values before use.
/agent-api/v1/tool/executeX-Api-Keycurl --request POST \
--url 'https://agentearth.ai/agent-api/v1/tool/execute?tool_name=ae_xiaohongshu_get_topic_info' \
--header "X-Api-Key: $AGENTEARTH_API_KEY" \
--header 'Content-Type: application/json' \
--data-raw '{
"params": {
"page_id": "xxx"
}
}'No response example available yet.

