# Xiaohongshu (RedNote) Top Note Comments API

Read a limited Xiaohongshu (RedNote) comment preview to review audience reactions, recurring questions and feedback on a specific note. Provide a token-bearing noteURL or noteId with xsecToken; responses contain up to five parent comments and up to three reply previews per comment, without pagination, so this route supports a quick reaction check rather than collecting every comment.

Documentation: https://openany.si/xiaohongshu/xiaohongshu-get-note-comments/6499628e-9e03-4697-9ea0-ae93250a7933/
API ID: 6499628e-9e03-4697-9ea0-ae93250a7933
Provider: apish
Contract revision: 3
Method: GET
Endpoint: https://api.openany.si/v1/agent-apis/apish/xiaohongshu/v1/note/comments
Page update time: 2026-12-04T06:27:46.664Z
Access: OpenAny REST
OpenAny MCP: availability is not supplied by this REST contract. Check get_api on the configured OpenAny MCP server before execution.
Request content type: none
Execution mode: sync
Authentication: Authorization: Bearer $OPENANY_API_KEY

## Billing
Price: $0.002 / billing credit
API-key calls use your shared balance. Review the published billing rules before making a paid request.
Price source: OpenAny public API contract.
Contract update time: 2026-12-04T06:27:46.565Z. This is not a price-change timestamp.
```json
{
  "currency": "USD",
  "mode": "rules",
  "parameters": [],
  "policy_version": 2,
  "sale": {
    "addons": [],
    "base_price_micro_usd": "0",
    "max_cost_micro_usd": "2000",
    "quantities": [
      {
        "id": "upstream_credits",
        "label": "Actual API.SH credits used",
        "max_quantity": "1",
        "measure": "value",
        "pointer": "/credits_used",
        "price_micro_usd": "2000",
        "quantity_scale": 0,
        "source": "response",
        "unit": "credit",
        "unit_quantity": "1"
      }
    ],
    "rounding": "ceil",
    "variants": []
  }
}
```

## Usage and limits
## Read a note’s public comment preview

Inspect the discussion visible to visitors who are not signed in to Xiaohongshu (RedNote). This implementation returns top-level comments and the reply previews available with them, together with note-level comment counts. It suits a quick review of audience reactions, recurring questions and feedback on a specific post.

The response is a limited view of the discussion. It usually includes five top-level comments and up to three replies per comment. It does not provide all comments, a complete reply thread or pagination through the remaining discussion.

## Provide a token-bearing note link

Use either `url` with the full note link and its `xsec_token`, or `note_id` with the matching `xsec_token`. Keep the access token that belongs to that note. A bare ID without its matching token is insufficient. The note token is a business input, separate from your OpenAny API key.

Open this implementation’s Playground or request examples and provide your note link. The request is a GET with query parameters and no JSON body. Use the OpenAny credentials configured for your application.

```
{
  "url": "https://www.xiaohongshu.com/explore/NOTE_ID?xsec_token=NOTE_LINK_TOKEN"
}
```

This input illustration uses placeholders. Replace the whole URL with a valid note link; the Examples section contains the complete user-supplied response associated with the documented example note.

## Understand the returned comments

- `comments` contains comment text, timestamps, likes, author details, reply counts and available reply previews. Picture, mention and location fields may be empty or null.
- `total` and `top_level_total` describe the note’s comment counts; `count` describes how many top-level comments were returned.
- `has_more` says whether further comments exist. `next_cursor` is always null for this endpoint; there is no cursor input.
- `cached`, `fetched_at` and `credits_used` describe the fetch and its usage.

The supplied response reports 13 total comments, 9 top-level comments and 5 returned top-level comments. Its first comment has a reply count of 4 but includes 3 reply previews. These are sample values for one note, not guaranteed totals for other notes.

## Keep or reduce the JSON payload

Use `raw=0` to omit bulky raw source blocks, `fields` to select response fields, or `fresh=1` to bypass the documented 24-hour cache. This implementation supports JSON output; omit `output` or set it to `json`. CSV and NDJSON output are unavailable here, and `records` only applies to those source export modes.

## Pricing and usage

Check the pricing section for this implementation’s current credit rate. Settlement uses the response’s `credits_used` value, with up to one credit reserved for this endpoint. The number of returned comments does not determine the charge. A cache hit can still consume credits, and a lookup that runs but finds nothing may also consume credits. Missing usage information must not be treated as a free response.

## Request parameters
```json
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "Xiaohongshu (RedNote) Top Note Comments API request inputs",
  "$comment": "Declared input types grouped by HTTP location. Path, query and header values describe decoded inputs and are serialized as text on the wire; body is the payload. This is not an exhaustive provider contract or a schema for the raw HTTP request.",
  "type": "object",
  "properties": {
    "path": {
      "type": "object",
      "properties": {}
    },
    "query": {
      "type": "object",
      "properties": {
        "url": {
          "type": "string",
          "description": "A xiaohongshu.com note link with its xsec_token (explore/<id>?xsec_token=... or discovery/item/<id>?xsec_token=...)."
        },
        "note_id": {
          "type": "string",
          "description": "Note id (24 hex characters), with xsec_token, instead of url."
        },
        "xsec_token": {
          "type": "string",
          "description": "The note's xsec_token (from the link), with note_id."
        },
        "raw": {
          "type": "string",
          "description": "0 leaves out the bulky `raw` source blocks (often 10-30x smaller).",
          "enum": [
            "0",
            "1"
          ]
        },
        "fields": {
          "type": "string",
          "description": "Comma-separated fields to return, e.g. `posts.id,posts.title`. Call metadata is always included."
        },
        "fresh": {
          "type": "string",
          "description": "1 skips the 24-hour cache and fetches live.",
          "enum": [
            "1"
          ]
        },
        "output": {
          "type": "string",
          "description": "JSON only for this OpenAny implementation. Omit output or use json; CSV and NDJSON exports are not supported.",
          "enum": [
            "json"
          ]
        },
        "records": {
          "type": "string",
          "description": "With output=csv|ndjson: the top-level list to turn into rows (e.g. `reviews`), or `.` for the whole object as one row."
        }
      }
    },
    "headers": {
      "type": "object",
      "properties": {}
    }
  },
  "required": [
    "path",
    "query",
    "headers"
  ]
}
```

## Response fields
Source: Inferred from examples; not an exhaustive provider schema.
```json
{
  "type": "object",
  "properties": {
    "cached": {
      "type": "boolean"
    },
    "comments": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "at_users": {
            "type": "array",
            "items": {}
          },
          "content": {
            "type": "string"
          },
          "created_at": {
            "type": "string"
          },
          "id": {
            "type": "string"
          },
          "ip_location": {
            "type": "null"
          },
          "like_count_text": {
            "type": "string"
          },
          "likes": {
            "type": "integer"
          },
          "pictures": {
            "type": "array",
            "items": {}
          },
          "raw": {
            "type": "object",
            "properties": {
              "atUsers": {
                "type": "array",
                "items": {}
              },
              "commentType": {
                "type": "integer"
              },
              "content": {
                "type": "string"
              },
              "contentTranslation": {
                "type": "string"
              },
              "id": {
                "type": "string"
              },
              "likeCount": {
                "type": "integer"
              },
              "likeViewCount": {
                "type": "string"
              },
              "liked": {
                "type": "boolean"
              },
              "noteId": {
                "type": "string"
              },
              "status": {
                "type": "integer"
              },
              "subCommentCount": {
                "type": "integer"
              },
              "subComments": {
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "atUsers": {
                      "type": "array",
                      "items": {}
                    },
                    "commentType": {
                      "type": "integer"
                    },
                    "content": {
                      "type": "string"
                    },
                    "contentTranslation": {
                      "type": "string"
                    },
                    "id": {
                      "type": "string"
                    },
                    "likeCount": {
                      "type": "integer"
                    },
                    "likeViewCount": {
                      "type": "string"
                    },
                    "liked": {
                      "type": "boolean"
                    },
                    "noteId": {
                      "type": "string"
                    },
                    "status": {
                      "type": "integer"
                    },
                    "subCommentCount": {
                      "type": "integer"
                    },
                    "targetComment": {
                      "type": "object",
                      "properties": {
                        "id": {
                          "type": "string"
                        }
                      }
                    },
                    "textLanguageCode": {
                      "type": "string"
                    },
                    "time": {
                      "type": "integer"
                    },
                    "user": {
                      "type": "object",
                      "properties": {
                        "aiAgent": {
                          "type": "boolean"
                        },
                        "image": {
                          "type": "string"
                        },
                        "nickname": {
                          "type": "string"
                        },
                        "userId": {
                          "type": "string"
                        }
                      }
                    }
                  }
                }
              },
              "textLanguageCode": {
                "type": "string"
              },
              "time": {
                "type": "integer"
              },
              "user": {
                "type": "object",
                "properties": {
                  "aiAgent": {
                    "type": "boolean"
                  },
                  "image": {
                    "type": "string"
                  },
                  "nickname": {
                    "type": "string"
                  },
                  "userId": {
                    "type": "string"
                  }
                }
              }
            }
          },
          "replies": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "at_users": {
                  "type": "array",
                  "items": {}
                },
                "content": {
                  "type": "string"
                },
                "created_at": {
                  "type": "string"
                },
                "id": {
                  "type": "string"
                },
                "ip_location": {
                  "type": "null"
                },
                "like_count_text": {
                  "type": "string"
                },
                "likes": {
                  "type": "integer"
                },
                "pictures": {
                  "type": "array",
                  "items": {}
                },
                "raw": {
                  "type": "object",
                  "properties": {
                    "atUsers": {
                      "type": "array",
                      "items": {}
                    },
                    "commentType": {
                      "type": "integer"
                    },
                    "content": {
                      "type": "string"
                    },
                    "contentTranslation": {
                      "type": "string"
                    },
                    "id": {
                      "type": "string"
                    },
                    "likeCount": {
                      "type": "integer"
                    },
                    "likeViewCount": {
                      "type": "string"
                    },
                    "liked": {
                      "type": "boolean"
                    },
                    "noteId": {
                      "type": "string"
                    },
                    "status": {
                      "type": "integer"
                    },
                    "subCommentCount": {
                      "type": "integer"
                    },
                    "targetComment": {
                      "type": "object",
                      "properties": {
                        "id": {
                          "type": "string"
                        }
                      }
                    },
                    "textLanguageCode": {
                      "type": "string"
                    },
                    "time": {
                      "type": "integer"
                    },
                    "user": {
                      "type": "object",
                      "properties": {
                        "aiAgent": {
                          "type": "boolean"
                        },
                        "image": {
                          "type": "string"
                        },
                        "nickname": {
                          "type": "string"
                        },
                        "userId": {
                          "type": "string"
                        }
                      }
                    }
                  }
                },
                "reply_count": {
                  "type": "integer"
                },
                "reply_to_comment_id": {
                  "type": "string"
                },
                "user": {
                  "type": "object",
                  "properties": {
                    "avatar": {
                      "type": "string"
                    },
                    "id": {
                      "type": "string"
                    },
                    "nickname": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "reply_count": {
            "type": "integer"
          },
          "reply_to_comment_id": {
            "type": "null"
          },
          "user": {
            "type": "object",
            "properties": {
              "avatar": {
                "type": "string"
              },
              "id": {
                "type": "string"
              },
              "nickname": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "count": {
      "type": "integer"
    },
    "credits_used": {
      "type": "integer"
    },
    "fetched_at": {
      "type": "string"
    },
    "has_more": {
      "type": "boolean"
    },
    "next_cursor": {
      "type": "null"
    },
    "note_id": {
      "type": "string"
    },
    "top_level_total": {
      "type": "integer"
    },
    "total": {
      "type": "integer"
    },
    "xsec_token": {
      "type": "string"
    }
  }
}
```

## Request example
Scenario: Third-party reference · User-supplied complete Playground respon
```bash
curl \
  'https://api.openany.si/v1/agent-apis/apish/xiaohongshu/v1/note/comments?url=https%3A%2F%2Fwww.xiaohongshu.com%2Fexplore%2F64a771f3000000002b038d17%3Fxsec_token%3DABiZBO7VhFKBtbIJuwS1YLbdbiwijCFcgc10NCFU21BQk%3D%26xsec_source%3Dpc_feed' \
  -X GET \
  -H "Authorization: Bearer $OPENANY_API_KEY" \
  -H 'Content-Type: application/json'
```

## Response example
Historical third-party reference. It may differ from the current provider response; verify the original contract before use.
Third-party response reference · Documented HTTP 200
```json
{
  "cached": false,
  "comments": [
    {
      "at_users": [],
      "content": "哈咯 请问甜奶要用到这么多吗 看着只倒了一点点在吐司里的样子",
      "created_at": "2023-12-08T13:50:11.000Z",
      "id": "65731f13000000001003d6e3",
      "ip_location": null,
      "like_count_text": "0",
      "likes": 0,
      "pictures": [],
      "raw": {
        "atUsers": [],
        "commentType": 0,
        "content": "哈咯 请问甜奶要用到这么多吗 看着只倒了一点点在吐司里的样子",
        "contentTranslation": "Hello, do we really need that much sweet milk? It looks like only a little bit was poured into the toast.",
        "id": "65731f13000000001003d6e3",
        "likeCount": 0,
        "likeViewCount": "0",
        "liked": false,
        "noteId": "64a771f3000000002b038d17",
        "status": 0,
        "subCommentCount": 4,
        "subComments": [
          {
            "atUsers": [],
            "commentType": 0,
            "content": "这个是两份的量[笑哭R] 如果是一个人吃 多余的淡奶你可以冲一杯奶茶喝[笑哭R]",
            "contentTranslation": "This is the amount for two servings [笑哭R] If it's for one person to eat, you can use the extra condensed milk to make a cup of milk tea to drink [笑哭R]",
            "id": "65732fab000000003a038189",
            "likeCount": 0,
            "likeViewCount": "2",
            "liked": false,
            "noteId": "64a771f3000000002b038d17",
            "status": 0,
            "subCommentCount": 0,
            "targetComment": {
              "id": "65731f13000000001003d6e3"
            },
            "textLanguageCode": "zh_cn",
            "time": 1702047659000,
            "user": {
              "aiAgent": false,
              "image": "https://sns-avatar-qc.rednotecdn.com/avatar/61040c4d583669b65d31adaa.jpg?imageView2/2/w/120/format/jpg",
              "nickname": "NelsonHan",
              "userId": "55e34cd858944675eb95b706"
            }
          },
          {
            "atUsers": [],
            "commentType": 0,
            "content": "谢谢回复☺️",
            "contentTranslation": "Thank you for the reply ☺️",
            "id": "6573be81000000001103442d",
            "likeCount": 0,
            "likeViewCount": "0",
            "liked": false,
            "noteId": "64a771f3000000002b038d17",
            "status": 0,
            "subCommentCount": 0,
            "targetComment": {
              "id": "65732fab000000003a038189"
            },
            "textLanguageCode": "zh_cn",
            "time": 1702084225000,
            "user": {
              "aiAgent": false,
              "image": "https://sns-avatar-qc.rednotecdn.com/avatar/1040g2jo327ifjd4t6q00414kfc8f4725h2f1f28?imageView2/2/w/120/format/jpg",
              "nickname": "米吖",
              "userId": "55dd10f2a75c950b0b2f1c45"
            }
          },
          {
            "atUsers": [],
            "commentType": 0,
            "content": "就是那个English breakfast 茶包150mL开水泡开 加上淡奶就好了。多余的淡奶也可以拿来做奶冻什么的",
            "contentTranslation": "It's that English breakfast tea bag, steeped in 150mL of boiling water, and then add condensed milk. Any extra condensed milk can also be used to make milk jelly or something like that.",
            "id": "6573ccbb000000003b00f798",
            "likeCount": 0,
            "likeViewCount": "0",
            "liked": false,
            "noteId": "64a771f3000000002b038d17",
            "status": 0,
            "subCommentCount": 0,
            "targetComment": {
              "id": "6573be81000000001103442d"
            },
            "textLanguageCode": "zh_cn",
            "time": 1702087867000,
            "user": {
              "aiAgent": false,
              "image": "https://sns-avatar-qc.rednotecdn.com/avatar/61040c4d583669b65d31adaa.jpg?imageView2/2/w/120/format/jpg",
              "nickname": "NelsonHan",
              "userId": "55e34cd858944675eb95b706"
            }
          }
        ],
        "textLanguageCode": "zh_cn",
        "time": 1702043411000,
        "user": {
          "aiAgent": false,
          "image": "https://sns-avatar-qc.rednotecdn.com/avatar/1040g2jo327ifjd4t6q00414kfc8f4725h2f1f28?imageView2/2/w/120/format/jpg",
          "nickname": "米吖",
          "userId": "55dd10f2a75c950b0b2f1c45"
        }
      },
      "replies": [
        {
          "at_users": [],
          "content": "这个是两份的量[笑哭R] 如果是一个人吃 多余的淡奶你可以冲一杯奶茶喝[笑哭R]",
          "created_at": "2023-12-08T15:00:59.000Z",
          "id": "65732fab000000003a038189",
          "ip_location": null,
          "like_count_text": "2",
          "likes": 2,
          "pictures": [],
          "raw": {
            "atUsers": [],
            "commentType": 0,
            "content": "这个是两份的量[笑哭R] 如果是一个人吃 多余的淡奶你可以冲一杯奶茶喝[笑哭R]",
            "contentTranslation": "This is the amount for two servings [笑哭R] If it's for one person to eat, you can use the extra condensed milk to make a cup of milk tea to drink [笑哭R]",
            "id": "65732fab000000003a038189",
            "likeCount": 0,
            "likeViewCount": "2",
            "liked": false,
            "noteId": "64a771f3000000002b038d17",
            "status": 0,
            "subCommentCount": 0,
            "targetComment": {
              "id": "65731f13000000001003d6e3"
            },
            "textLanguageCode": "zh_cn",
            "time": 1702047659000,
            "user": {
              "aiAgent": false,
              "image": "https://sns-avatar-qc.rednotecdn.com/avatar/61040c4d583669b65d31adaa.jpg?imageView2/2/w/120/format/jpg",
              "nickname": "NelsonHan",
              "userId": "55e34cd858944675eb95b706"
            }
          },
          "reply_count": 0,
          "reply_to_comment_id": "65731f13000000001003d6e3",
          "user": {
            "avatar": "https://sns-avatar-qc.rednotecdn.com/avatar/61040c4d583669b65d31adaa.jpg?imageView2/2/w/120/format/jpg",
            "id": "55e34cd858944675eb95b706",
            "nickname": "NelsonHan"
          }
        },
        {
          "at_users": [],
          "content": "谢谢回复☺️",
          "created_at": "2023-12-09T01:10:25.000Z",
          "id": "6573be81000000001103442d",
          "ip_location": null,
          "like_count_text": "0",
          "likes": 0,
          "pictures": [],
          "raw": {
            "atUsers": [],
            "commentType": 0,
            "content": "谢谢回复☺️",
            "contentTranslation": "Thank you for the reply ☺️",
            "id": "6573be81000000001103442d",
            "likeCount": 0,
            "likeViewCount": "0",
            "liked": false,
            "noteId": "64a771f3000000002b038d17",
            "status": 0,
            "subCommentCount": 0,
            "targetComment": {
              "id": "65732fab000000003a038189"
            },
            "textLanguageCode": "zh_cn",
            "time": 1702084225000,
            "user": {
              "aiAgent": false,
              "image": "https://sns-avatar-qc.rednotecdn.com/avatar/1040g2jo327ifjd4t6q00414kfc8f4725h2f1f28?imageView2/2/w/120/format/jpg",
              "nickname": "米吖",
              "userId": "55dd10f2a75c950b0b2f1c45"
            }
          },
          "reply_count": 0,
          "reply_to_comment_id": "65732fab000000003a038189",
          "user": {
            "avatar": "https://sns-avatar-qc.rednotecdn.com/avatar/1040g2jo327ifjd4t6q00414kfc8f4725h2f1f28?imageView2/2/w/120/format/jpg",
            "id": "55dd10f2a75c950b0b2f1c45",
            "nickname": "米吖"
          }
        },
        {
          "at_users": [],
          "content": "就是那个English breakfast 茶包150mL开水泡开 加上淡奶就好了。多余的淡奶也可以拿来做奶冻什么的",
          "created_at": "2023-12-09T02:11:07.000Z",
          "id": "6573ccbb000000003b00f798",
          "ip_location": null,
          "like_count_text": "0",
          "likes": 0,
          "pictures": [],
          "raw": {
            "atUsers": [],
            "commentType": 0,
            "content": "就是那个English breakfast 茶包150mL开水泡开 加上淡奶就好了。多余的淡奶也可以拿来做奶冻什么的",
            "contentTranslation": "It's that English breakfast tea bag, steeped in 150mL of boiling water, and then add condensed milk. Any extra condensed milk can also be used to make milk jelly or something like that.",
            "id": "6573ccbb000000003b00f798",
            "likeCount": 0,
            "likeViewCount": "0",
            "liked": false,
            "noteId": "64a771f3000000002b038d17",
            "status": 0,
            "subCommentCount": 0,
            "targetComment": {
              "id": "6573be81000000001103442d"
            },
            "textLanguageCode": "zh_cn",
            "time": 1702087867000,
            "user": {
              "aiAgent": false,
              "image": "https://sns-avatar-qc.rednotecdn.com/avatar/61040c4d583669b65d31adaa.jpg?imageView2/2/w/120/format/jpg",
              "nickname": "NelsonHan",
              "userId": "55e34cd858944675eb95b706"
            }
          },
          "reply_count": 0,
          "reply_to_comment_id": "6573be81000000001103442d",
          "user": {
            "avatar": "https://sns-avatar-qc.rednotecdn.com/avatar/61040c4d583669b65d31adaa.jpg?imageView2/2/w/120/format/jpg",
            "id": "55e34cd858944675eb95b706",
            "nickname": "NelsonHan"
          }
        }
      ],
      "reply_count": 4,
      "reply_to_comment_id": null,
      "user": {
        "avatar": "https://sns-avatar-qc.rednotecdn.com/avatar/1040g2jo327ifjd4t6q00414kfc8f4725h2f1f28?imageView2/2/w/120/format/jpg",
        "id": "55dd10f2a75c950b0b2f1c45",
        "nickname": "米吖"
      }
    },
    {
      "at_users": [],
      "content": "！好棒啊[派对R][派对R][派对R]",
      "created_at": "2023-07-07T10:14:15.000Z",
      "id": "64a7e577000000001800874e",
      "ip_location": null,
      "like_count_text": "2",
      "likes": 2,
      "pictures": [],
      "raw": {
        "atUsers": [],
        "commentType": 0,
        "content": "！好棒啊[派对R][派对R][派对R]",
        "contentTranslation": "Wow, that's awesome! [派对R][派对R][派对R]",
        "id": "64a7e577000000001800874e",
        "likeCount": 0,
        "likeViewCount": "2",
        "liked": false,
        "noteId": "64a771f3000000002b038d17",
        "status": 0,
        "subCommentCount": 0,
        "subComments": [],
        "textLanguageCode": "zh_cn",
        "time": 1688724855000,
        "user": {
          "aiAgent": false,
          "image": "https://sns-avatar-qc.rednotecdn.com/avatar/1040g2jo31frpmgacg6705om344lmd2uuuks9jl0?imageView2/2/w/120/format/jpg",
          "nickname": "🌱",
          "userId": "62c3212b0000000019028bde"
        }
      },
      "replies": [],
      "reply_count": 0,
      "reply_to_comment_id": null,
      "user": {
        "avatar": "https://sns-avatar-qc.rednotecdn.com/avatar/1040g2jo31frpmgacg6705om344lmd2uuuks9jl0?imageView2/2/w/120/format/jpg",
        "id": "62c3212b0000000019028bde",
        "nickname": "🌱"
      }
    },
    {
      "at_users": [],
      "content": "马上安排[色色R][色色R]",
      "created_at": "2023-07-07T02:40:23.000Z",
      "id": "64a77b17000000001603ca22",
      "ip_location": null,
      "like_count_text": "2",
      "likes": 2,
      "pictures": [],
      "raw": {
        "atUsers": [],
        "commentType": 0,
        "content": "马上安排[色色R][色色R]",
        "contentTranslation": "Arrange immediately [色色R][色色R]",
        "id": "64a77b17000000001603ca22",
        "likeCount": 0,
        "likeViewCount": "2",
        "liked": false,
        "noteId": "64a771f3000000002b038d17",
        "status": 0,
        "subCommentCount": 0,
        "subComments": [],
        "textLanguageCode": "zh_cn",
        "time": 1688697623000,
        "user": {
          "aiAgent": false,
          "image": "https://sns-avatar-qc.rednotecdn.com/avatar/1040g2jo323c9tonq7c0048k2lv3a5lmqu0n1hj0?imageView2/2/w/120/format/jpg",
          "nickname": "Kel💭🐷",
          "userId": "57a446a250c4b42f8ea4d6da"
        }
      },
      "replies": [],
      "reply_count": 0,
      "reply_to_comment_id": null,
      "user": {
        "avatar": "https://sns-avatar-qc.rednotecdn.com/avatar/1040g2jo323c9tonq7c0048k2lv3a5lmqu0n1hj0?imageView2/2/w/120/format/jpg",
        "id": "57a446a250c4b42f8ea4d6da",
        "nickname": "Kel💭🐷"
      }
    },
    {
      "at_users": [],
      "content": "换成黄油面包岂不是得香死",
      "created_at": "2023-07-07T16:35:16.000Z",
      "id": "64a83ec4000000000e00498c",
      "ip_location": null,
      "like_count_text": "1",
      "likes": 1,
      "pictures": [],
      "raw": {
        "atUsers": [],
        "commentType": 0,
        "content": "换成黄油面包岂不是得香死",
        "contentTranslation": "Switching to buttered bread would surely be fragrant to death.",
        "id": "64a83ec4000000000e00498c",
        "likeCount": 0,
        "likeViewCount": "1",
        "liked": false,
        "noteId": "64a771f3000000002b038d17",
        "status": 0,
        "subCommentCount": 0,
        "subComments": [],
        "textLanguageCode": "zh_cn",
        "time": 1688747716000,
        "user": {
          "aiAgent": false,
          "image": "https://sns-avatar-qc.rednotecdn.com/avatar/1040g2jo32234i84kne005nc53rv0843m2533tco?imageView2/2/w/120/format/jpg",
          "nickname": "你一定猜不到这是Summer✨",
          "userId": "5d851efe0000000001001076"
        }
      },
      "replies": [],
      "reply_count": 0,
      "reply_to_comment_id": null,
      "user": {
        "avatar": "https://sns-avatar-qc.rednotecdn.com/avatar/1040g2jo32234i84kne005nc53rv0843m2533tco?imageView2/2/w/120/format/jpg",
        "id": "5d851efe0000000001001076",
        "nickname": "你一定猜不到这是Summer✨"
      }
    },
    {
      "at_users": [],
      "content": "好好次的感觉",
      "created_at": "2023-07-07T22:15:50.000Z",
      "id": "64a88e96000000001603c037",
      "ip_location": null,
      "like_count_text": "1",
      "likes": 1,
      "pictures": [],
      "raw": {
        "atUsers": [],
        "commentType": 0,
        "content": "好好次的感觉",
        "contentTranslation": "Looks so yummy!",
        "id": "64a88e96000000001603c037",
        "likeCount": 0,
        "likeViewCount": "1",
        "liked": false,
        "noteId": "64a771f3000000002b038d17",
        "status": 0,
        "subCommentCount": 0,
        "subComments": [],
        "textLanguageCode": "zh_cn",
        "time": 1688768150000,
        "user": {
          "aiAgent": false,
          "image": "https://sns-avatar-qc.rednotecdn.com/avatar/5f5af6a8bce8450001648242.jpg?imageView2/2/w/120/format/jpg",
          "nickname": "Tracy翠丝在澳洲",
          "userId": "5b8a45fa48b27d0001a89a7a"
        }
      },
      "replies": [],
      "reply_count": 0,
      "reply_to_comment_id": null,
      "user": {
        "avatar": "https://sns-avatar-qc.rednotecdn.com/avatar/5f5af6a8bce8450001648242.jpg?imageView2/2/w/120/format/jpg",
        "id": "5b8a45fa48b27d0001a89a7a",
        "nickname": "Tracy翠丝在澳洲"
      }
    }
  ],
  "count": 5,
  "credits_used": 1,
  "fetched_at": "2026-12-02T09:00:03.976Z",
  "has_more": true,
  "next_cursor": null,
  "note_id": "64a771f3000000002b038d17",
  "top_level_total": 9,
  "total": 13,
  "xsec_token": "ABiZBO7VhFKBtbIJuwS1YLbdbiwijCFcgc10NCFU21BQk="
}
```

## Error handling
400: Check the request fields.
401 / 403: Verify credentials and access permissions.
402: Inspect payment requirements and balance.
429: Respect returned retry guidance.
5xx: Inspect the error and usage record before retrying a paid operation.

## Common questions
### Can I retrieve all comments on a note?
No. This implementation returns the comment preview shown to logged-out visitors: usually five top-level comments and up to three replies per comment. The note can contain more comments than this response includes.

### Why is has_more true when next_cursor is null?
has_more indicates that additional comments exist on Xiaohongshu. This endpoint always returns a null next_cursor and does not accept a pagination cursor, so has_more does not make another page available.

### What input do I need?
Provide the complete note URL containing its xsec_token, or supply note_id and the matching xsec_token. The note token comes from its public link and is separate from your OpenAny API key.

### Are missing locations and empty arrays errors?
Not necessarily. The supplied response contains null IP locations and empty picture or mention arrays. Keep these values as returned rather than filling them in; total and top_level_total describe the note, while count describes the returned top-level comments.

### How is usage billed?
Usage follows the credits_used value in the upstream JSON response and the pricing shown for this implementation. Cached calls can still consume credits, and a lookup that runs but finds no note can also consume credits. Refused calls and provider-side errors are documented as uncharged; the exact charge depends on the returned usage value.

## Available implementations
- anyapi: https://openany.si/xiaohongshu/xiaohongshu-get-note-comments/72320655-38e1-43ed-9231-75287375c183/
- apish: https://openany.si/xiaohongshu/xiaohongshu-get-note-comments/6499628e-9e03-4697-9ea0-ae93250a7933/
- justoneapi: https://openany.si/xiaohongshu/xiaohongshu-get-note-comments/c11c78ed-7351-482a-8b93-64a1f9876217/
- tikhub: https://openany.si/xiaohongshu/xiaohongshu-get-note-comments/e782c120-5965-4b40-86e8-0c968d027f07/

Integration guide: https://openany.si/docs/
Agent setup: https://openany.si/SKILL.md
