Xiaohongshu Get Note Components

0 credits/call
ae_xiaohongshu_get_note_components

Retrieve the components attached to a single Xiaohongshu note to see its search terms, brand associations, buttons, and navigation targets. Input: Provide the note ID as the required string request_body.note_id. Example: {"request_body":{"note_id":"6a20edfa0000000021020951"}}. Results: Component configuration is under data.data: - noteContent: the content/search component, with fields such as subType, searchWord, brandName, and gameAppId when present. - noteComment: the comment-area component, including componentInfo (component name/type, button and display text, and jump type/URL), brandInfo, and kolInfo. - noteBottom: the bottom component. A slot is null when that component is not attached; this is not an error. A no-result response may also contain null data. Check for null before reading component fields. Results describe component configuration, not click-through rates or performance tiers.

Social
0 credits/call

Pricing

0 credits/call
ConditionCharge
Each call0 credits/call

0 credits/call Free query.

Parameters

Optional parameters use the platform defaults when omitted.

ParameterTypeRequiredDescriptionDefault
request_bodyobjectYes用于查询单篇小红书笔记挂载组件配置的请求体对象;通过必填的字符串字段 note_id 指定目标笔记。—
request_body.note_idstringYes笔记ID/Note ID—

Invocation example

Copy the request and explore its response example.

POST/agent-api/v1/tool/executeX-Api-Key
Request coderequest.sh
curl --request POST \
  --url 'https://agentearth.ai/agent-api/v1/tool/execute?tool_name=ae_xiaohongshu_get_note_components' \
  --header "X-Api-Key: $AGENTEARTH_API_KEY" \
  --header 'Content-Type: application/json' \
  --data-raw '{
  "params": {
    "request_body": {
      "note_id": "6af17654000000003501e1a9"
    }
  }
}'
Response exampleresponse.json
JSONPartial content
{
  "code": 200,
  "data": {
    "code": 0,
    "data": {
      "noteBottom": null,
      "noteComment": null,
      "noteContent": null
    },
    "guid": null,
    "msg": "成功",
    "success": true
  },
  "docs": "https://api.tikhub.io/#/Xiaohongshu-PGY-API/get_note_components_api_v1_xiaohongshu_pgy_get_note_components_post",
  "message": "Request successful. This request will incur a charge.",
  "message_zh": "请求成功,本次请求将被计费。",
  "params": {
    "note_id": "6af17654000000003501e1a9"
  }
}

This example shows part of the response. Copied content is valid JSON.