OpenAny
Get API keyAPI Key
APIDataScrapers

xiaohongshu logo
Xiaohongshu (RedNote) Note Comments API

Retrieve comments for a Xiaohongshu (RedNote) note through OpenAny REST or MCP. Choose a provider implementation and supply its required note reference; comment coverage and pagination support vary by implementation. Use the returned comments for audience research, feedback analysis and content planning. The page provides implementation-specific parameters, request examples, response references and current pricing.

Selected price
$0.002 / billing creditPublished pricing
Sellers / APIs
4 / 4
Requests · 30d
4Selected implementation · last 30 days
Success rate · 30d
75.00%Selected implementation · last 30 days
USE THIS API

Xiaohongshu (RedNote) Note Comments API

Prepare your request, then continue with your agent.

Pricing

$0.002 / billing credit

Calculated from input parameters and actual returned quantities. Estimate the maximum cost before calling.

Provider
API
Pricing
Connect your agent
On this page

Overview

Overview
Xiaohongshu (RedNote) Note Comments API

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.

json
{
  "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.

Frequently asked questions

View FAQ

Playground

Run sends a real API request. Charges follow the published API contract.

Request parameters
Optional parameters (8)
A xiaohongshu.com note link with its xsec_token (explore/<id>?xsec_token=... or discovery/item/<id>?xsec_token=...).
Note id (24 hex characters), with xsec_token, instead of url.
The note's xsec_token (from the link), with note_id.
0 leaves out the bulky `raw` source blocks (often 10-30x smaller).
Comma-separated fields to return, e.g. `posts.id,posts.title`. Call metadata is always included.
1 skips the 24-hour cache and fetches live.
JSON only for this OpenAny implementation. Omit output or use json; CSV and NDJSON exports are not supported.
With output=csv|ndjson: the top-level list to turn into rows (e.g. `reviews`), or `.` for the whole object as one row.

Third-party response reference

Run a request to see the actual response. Published samples are in Examples.

Response result

Sellers

SellerPricingRequests · 30dPerformanceAccess
RedNote (Xiaohongshu) Note Comments · POST · View API reference
$0.012 / call—Select to load statistics
—successP50—
Current
Xiaohongshu (RedNote) Top Note Comments API · GET · View API reference
$0.002 / billing credit4
75.00%successP508.43s
Xiaohongshu (RedNote) Note Comments API (V2) · GET · View API reference
$0.023077 / call—Select to load statistics
—successP50—
Get note comments · GET · View API reference
$0.01 / call—Select to load statistics
—successP50—
Selected implementation traffic · 11/3/2026 – 12/3/2026 (UTC)
Selected pricing · apishUSD / billing credit
Pricing
$0.002

Calculated from input parameters and actual returned quantities. Estimate the maximum cost before calling.

Statistics use persisted gateway logs from the last 30 days up to now, including today.
Success rate = successful requests / all requests;
P50 = median latency of successful requests.
Prices reflect the published API contract. Contract revision: 2. Price update time: not supplied.

API

Method
GET
Endpoint
https://api.openany.si/v1/agent-apis/apish/xiaohongshu/v1/note/comments
Content type
application/json
Authentication
Authorization: Bearer $OPENANY_API_KEY
View request and response examples

Input parameters

Fields in this listing; additional options and input encoding can vary by provider.

ParameterLocationTypeRequiredDescription
urlURL query parametersquerystringNo

A xiaohongshu.com note link with its xsec_token (explore/<id>?xsec_token=... or discovery/item/<id>?xsec_token=...).

note_idURL query parametersquerystringNo

Note id (24 hex characters), with xsec_token, instead of url.

xsec_tokenURL query parametersquerystringNo

The note's xsec_token (from the link), with note_id.

rawURL query parametersquerystringNo

0 leaves out the bulky `raw` source blocks (often 10-30x smaller).

enum: "0", "1"

fieldsURL query parametersquerystringNo

Comma-separated fields to return, e.g. `posts.id,posts.title`. Call metadata is always included.

freshURL query parametersquerystringNo

1 skips the 24-hour cache and fetches live.

enum: "1"

outputURL query parametersquerystringNo

JSON only for this OpenAny implementation. Omit output or use json; CSV and NDJSON exports are not supported.

enum: "json"

recordsURL query parametersquerystringNo

With output=csv|ndjson: the top-level list to turn into rows (e.g. `reviews`), or `.` for the whole object as one row.

Required markers inside a nested object or variant apply when that object or variant is used.

Response structure

Inferred from examples
  • cachedboolean
  • commentsobject[]
    • at_usersunknown[]
    • contentstring
    • created_atstring
    • idstring
    • ip_locationnull
    • like_count_textstring
    • likesinteger
    • picturesunknown[]
    • rawobject
      • atUsersunknown[]
      • commentTypeinteger
      • contentstring
      • contentTranslationstring
      • idstring
      • likeCountinteger
      • likeViewCountstring
      • likedboolean
      • noteIdstring
      • statusinteger
      • subCommentCountinteger
      • subCommentsobject[]
        • atUsersunknown[]
        • commentTypeinteger
        • contentstring
        • contentTranslationstring
        • idstring
        • likeCountinteger
        • likeViewCountstring
        • likedboolean
        • noteIdstring
        • statusinteger
        • subCommentCountinteger
        • targetCommentobject
          • idstring
        • textLanguageCodestring
        • timeinteger
        • userobject
          • aiAgentboolean
          • imagestring
          • nicknamestring
          • userIdstring
      • textLanguageCodestring
      • timeinteger
      • userobject
        • aiAgentboolean
        • imagestring
        • nicknamestring
        • userIdstring
    • repliesobject[]
      • at_usersunknown[]
      • contentstring
      • created_atstring
      • idstring
      • ip_locationnull
      • like_count_textstring
      • likesinteger
      • picturesunknown[]
      • rawobject
        • atUsersunknown[]
        • commentTypeinteger
        • contentstring
        • contentTranslationstring
        • idstring
        • likeCountinteger
        • likeViewCountstring
        • likedboolean
        • noteIdstring
        • statusinteger
        • subCommentCountinteger
        • targetCommentobject
          • idstring
        • textLanguageCodestring
        • timeinteger
        • userobject
          • aiAgentboolean
          • imagestring
          • nicknamestring
          • userIdstring
      • reply_countinteger
      • reply_to_comment_idstring
      • userobject
        • avatarstring
        • idstring
        • nicknamestring
    • reply_countinteger
    • reply_to_comment_idnull
    • userobject
      • avatarstring
      • idstring
      • nicknamestring
  • countinteger
  • credits_usedinteger
  • fetched_atstring
  • has_moreboolean
  • next_cursornull
  • note_idstring
  • top_level_totalinteger
  • totalinteger
  • xsec_tokenstring

Composite rule pricing

Calculated from input parameters and actual returned quantities. Estimate the maximum cost before calling.

Base fee: $0.000000. One matching variant replaces the base fee. Matching add-ons and quantity charges are added.

Fee itemPriceMetering sourceWhenQuantity limit
Actual API.SH credits used$0.002000 / billing creditResponse · /credits_used · Numeric valueAlways1 billing credit · Decimal places: 0

Each quantity charge is rounded before summing: ceil. Requests exceeding this cost limit are rejected; it is not a price cap: $0.002000.

Response quantities settle after the response. Before execution, the maximum quantity determines the reservation; unused reservation is released. Missing or invalid quantities are not treated as zero.

Pricing parameters and defaults
[]

Agent integration

Copy the resource contract without sharing an API key.

Download MDView API Markdown

Error handling

StatusNext step
400Check the offering and request fields.
401 / 403Verify your credentials and access permissions.
402Inspect the selected access mode and returned payment requirements.
429Respect the returned rate limit and retry guidance.
5xxInspect the error and usage record before retrying a paid operation.

Examples

Third-party reference · User-supplied complete Playground respon

Historical third-party reference. It may differ from the current provider response; verify the original contract before use.

  1. Prepare your environment

    Use a terminal with cURL installed.

    Use an OpenAny API key with shared-balance access. Confirm availability and price before running; a call may charge your balance.

    Set the key in your terminal using the hidden prompt below. Keep its value out of source files and logs.

    Terminal · macOS / Linux
    printf 'OpenAny API key: '
    read -r -s OPENANY_API_KEY
    export OPENANY_API_KEY
    printf '\n'
  2. Run the request

    Paste the complete command below into your terminal.

    Values to replace before running 8

    Review these request fields before running. Keep the published provider and request method unchanged.

    url
    A xiaohongshu.com note link with its xsec_token (explore/<id>?xsec_token=... or discovery/item/<id>?xsec_token=...).
    note_id
    Note id (24 hex characters), with xsec_token, instead of url.
    xsec_token
    The note's xsec_token (from the link), with note_id.
    raw
    0 leaves out the bulky `raw` source blocks (often 10-30x smaller).
    fields
    Comma-separated fields to return, e.g. `posts.id,posts.title`. Call metadata is always included.
    fresh
    1 skips the 24-hour cache and fetches live.
    output
    JSON only for this OpenAny implementation. Omit output or use json; CSV and NDJSON exports are not supported.
    records
    With output=csv|ndjson: the top-level list to turn into rows (e.g. `reviews`), or `.` for the whole object as one row.
    Terminal · cURL
    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'
  3. Check the response

    Third-party response reference · Documented HTTP 200

    Third-party response reference
    {
      "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="
    }

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.

Use Xiaohongshu (RedNote) Note Comments API with your agent

Inspect endpoint contracts and confirm availability and pricing before a paid call.