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.023077 / callPublished pricing
Sellers / APIs
4 / 4
Requests · 30d
1Selected implementation · last 30 days
Success rate · 30d
100.00%Selected implementation · last 30 days
USE THIS API

Xiaohongshu (RedNote) Note Comments API

Prepare your request, then continue with your agent.

Selected price

$0.023077 / call

Provider
API
Pricing
Connect your agent
On this page

Overview

Overview
Xiaohongshu (RedNote) Note Comments API

Xiaohongshu (RedNote) Note Comments (V2) API

Retrieve comments for a Xiaohongshu (RedNote) note with cursor pagination and normal, latest, or like-count sorting. Provide noteId in query. Read the response using the field paths below, preserving identifiers and the declared value types when mapping results.

Quick Facts

Fact Value
Access OpenAny REST
Authentication OpenAny API key in the Authorization header
Core inputs query: noteId, lastCursor, sort
Selected implementation justoneapi · Xiaohongshu (RedNote) Note Comments API (V2)
Billing Follow the selected implementation pricing, billing unit, quantity and charge rules

What You Can Build

  • Content research and account lookup: Keep source records connected to their content and account identifiers.
  • Integration reference: Use the selected request format and keep source identifiers with the returned result.

Documented Response Fields

Field Meaning
code Business status code
data.cursor Pagination cursor
data.has_more Continuation flag
data.all_sort_strategies Returned all sort strategies field
data.comment_count Returned comment count field
data.comment_count_l1 Returned comment count l1 field
data.comments[].content Content
data.comments[].id Identifier

Quick Start

  1. Set OPENANY_API_KEY to your OpenAny API key.
  2. Review the supported inputs and set any required query value shown in the template.
  3. Check the HTTP response and business result before reading optional fields.
bash
curl \
  'https://api.openany.si/v1/agent-apis/justoneapi/api/xiaohongshu/get-note-comment/v2?noteId=%3CREPLACE_NOTEID%3E' \
  -X GET \
  -H "Authorization: Bearer $OPENANY_API_KEY" \
  -H 'Content-Type: application/json'

Request and Response Examples

The response is a published documentation reference; its values may be historical. The request is an independent calling template. Use current returned identifiers and optional fields for your target resource.

Published Xiaohongshu (RedNote) Note Comments (V2) API implementation contract.

Pricing and Billing

The pricing area reflects the selected API implementation. Review its billing unit and any request-dependent rules before calling; a source service's public availability does not determine OpenAny billing.

Frequently Asked Questions

View FAQ

Related APIs

Playground

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

Request parameters
A Xiaohongshu note ID or an explore URL containing /explore/.
Pagination cursor from the previous page (use the cursor value returned by the last response).
Sort strategy for the result set. Available Values: - `normal`: Normal - `latest`: Latest - `like_count`: Like Count

Sample response

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—
Xiaohongshu (RedNote) Top Note Comments API · GET · View API reference
$0.002 / billing credit—Select to load statistics
—successP50—
Current
Xiaohongshu (RedNote) Note Comments API (V2) · GET · View API reference
$0.023077 / call1
100.00%successP5079.21s
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 · justoneapiUSD / call
Unit price
$0.023077

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: 5. Price update time: not supplied.

calls

Total $2.3077

API

Method
GET
Endpoint
https://api.openany.si/v1/agent-apis/justoneapi/api/xiaohongshu/get-note-comment/v2
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
noteIdURL query parametersquerystringYes

A Xiaohongshu note ID or an explore URL containing /explore/.

lastCursorURL query parametersquerystringNo

Pagination cursor from the previous page (use the cursor value returned by the last response).

sortURL query parametersquerystringNo

Sort strategy for the result set. Available Values: - `normal`: Normal - `latest`: Latest - `like_count`: Like Count

enum: "normal", "latest", "like_count"

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

Response structure

Inferred from examples
  • codeinteger
  • dataobject
    • all_sort_strategiesunknown[]
    • comment_countinteger
    • comment_count_l1integer
    • commentsobject[]
      • at_usersunknown[]
      • biz_labelobject
        • group_invitestring
        • product_reviewboolean
        • rich_textstring
      • collectedboolean
      • comment_typeinteger
      • contentstring
      • downvotedboolean
      • friend_liked_msgstring
      • hiddenboolean
      • idstring
      • like_countinteger
      • likedboolean
      • note_idstring
      • scoreinteger
      • share_strategyinteger
      • show_tagsunknown[]
      • show_tags_v2unknown[]
      • show_typestring
      • statusinteger
      • sub_comment_countinteger
      • sub_commentsunknown[]
      • timeinteger
      • track_idstring
      • translation_strategyinteger
      • userobject
        • additional_tagsobject
        • ai_agentboolean
        • current_userstring
        • imagesstring
        • levelobject
          • imagestring
        • nicknamestring
        • red_idstring
        • useridstring
      • media_source_typeinteger
      • picturesobject[]
        • box_hinteger
        • box_winteger
        • file_idstring
        • heightinteger
        • meme_packageobject
          • heightinteger
          • image_urlstring
          • widthinteger
        • origin_urlstring
        • urlstring
        • widthinteger
    • current_sort_strategystring
    • cursorstring
    • has_moreboolean
    • page_contextstring
    • user_idstring
  • messagenull
  • recordTimenull

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

Official example · Historical response; independent request temp

Example from the provider's documentation. Field values in your results will differ.

  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 3

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

    noteId
    A Xiaohongshu note ID or an explore URL containing /explore/.
    lastCursor
    Pagination cursor from the previous page (use the cursor value returned by the last response).
    sort
    Sort strategy for the result set. Available Values: - `normal`: Normal - `latest`: Latest - `like_count`: Like Count
    Terminal · cURL
    curl \
      'https://api.openany.si/v1/agent-apis/justoneapi/api/xiaohongshu/get-note-comment/v2?noteId=%3CREPLACE_NOTEID%3E' \
      -X GET \
      -H "Authorization: Bearer $OPENANY_API_KEY" \
      -H 'Content-Type: application/json'
  3. Check the response

    Sample response · Documented HTTP 200

    Sample response
    {
      "code": 0,
      "data": {
        "all_sort_strategies": [],
        "comment_count": 933,
        "comment_count_l1": 792,
        "comments": [
          {
            "at_users": [],
            "biz_label": {
              "group_invite": "unknown",
              "product_review": false,
              "rich_text": "unknown"
            },
            "collected": false,
            "comment_type": 0,
            "content": "唔系应该叫美斯咩",
            "downvoted": false,
            "friend_liked_msg": "",
            "hidden": false,
            "id": "65bf56d3000000000803f4ec",
            "like_count": 397,
            "liked": false,
            "note_id": "65bf5360000000002c03f684",
            "score": 0,
            "share_strategy": 0,
            "show_tags": [],
            "show_tags_v2": [],
            "show_type": "common",
            "status": 0,
            "sub_comment_count": 37,
            "sub_comments": [],
            "time": 1707038419,
            "track_id": "interaction-service.local",
            "translation_strategy": 10,
            "user": {
              "additional_tags": {},
              "ai_agent": false,
              "current_user": "false",
              "images": "https://sns-avatar-qc-ae.rednotecdn.com/avatar/1040g2jo30rmoae6j2g5g5o6poeg08lrqd2p83no?imageView2/2/w/120/format/jpg",
              "level": {
                "image": ""
              },
              "nickname": "豪",
              "red_id": "9530496503",
              "userid": "a4e8a166ec583c5f01db099958101"
            }
          },
          {
            "at_users": [],
            "biz_label": {
              "group_invite": "unknown",
              "product_review": false,
              "rich_text": "unknown"
            },
            "collected": false,
            "comment_type": 0,
            "content": "真爱梅西就要为梅西着想",
            "downvoted": false,
            "friend_liked_msg": "",
            "hidden": false,
            "id": "65c485070000000008014f80",
            "like_count": 3,
            "liked": false,
            "note_id": "65bf5360000000002c03f684",
            "score": 0,
            "share_strategy": 0,
            "show_tags": [],
            "show_tags_v2": [],
            "show_type": "common",
            "status": 0,
            "sub_comment_count": 3,
            "sub_comments": [],
            "time": 1707377927,
            "track_id": "interaction-service.local",
            "translation_strategy": 10,
            "user": {
              "additional_tags": {},
              "ai_agent": false,
              "current_user": "false",
              "images": "https://sns-avatar-qc-ae.rednotecdn.com/avatar/7121a416be8e543266fd62c1cc9d575e.jpg?imageView2/2/w/120/format/jpg",
              "level": {
                "image": ""
              },
              "nickname": "禾悦晓院",
              "red_id": "785553734",
              "userid": "ad937c28fa3151e180d45847e44cd"
            }
          },
          {
            "at_users": [],
            "biz_label": {
              "group_invite": "unknown",
              "product_review": false,
              "rich_text": "unknown"
            },
            "collected": false,
            "comment_type": 0,
            "content": "15年巴萨中国行,梅西也是没上,转身去日本就上了。他不是第一次干这事,只是有些人忘了,汶川地震的时候C罗带头捐款100万欧元和球衣拍卖所得,梅西却说地震和足球无关,第二年日本地震,他带头捐300万欧元,3月还来杭州之行……[弱R](看到这个评论就想复制转发,让更多人知道,怪生气的[生气R])",
            "downvoted": false,
            "friend_liked_msg": "",
            "hidden": false,
            "id": "65c4f627000000000803040c",
            "like_count": 60,
            "liked": false,
            "note_id": "65bf5360000000002c03f684",
            "score": 0,
            "share_strategy": 0,
            "show_tags": [],
            "show_tags_v2": [],
            "show_type": "common",
            "status": 0,
            "sub_comment_count": 4,
            "sub_comments": [],
            "time": 1707406888,
            "track_id": "interaction-service.local",
            "translation_strategy": 10,
            "user": {
              "additional_tags": {},
              "ai_agent": false,
              "current_user": "false",
              "images": "https://sns-avatar-qc-ae.rednotecdn.com/avatar/1040g2jo320r91cb7ls5g5o387h4gbut7lvmmhso?imageView2/2/w/120/format/jpg",
              "level": {
                "image": ""
              },
              "nickname": "Stint on",
              "red_id": "0905211z",
              "userid": "aadcde34ea02c3e8d786021defa81"
            }
          },
          {
            "at_users": [],
            "biz_label": {
              "group_invite": "unknown",
              "product_review": false,
              "rich_text": "unknown"
            },
            "collected": false,
            "comment_type": 0,
            "content": "热脸去贴冷屁股",
            "downvoted": false,
            "friend_liked_msg": "",
            "hidden": false,
            "id": "65c3402d000000001100b4c5",
            "like_count": 180,
            "liked": false,
            "note_id": "65bf5360000000002c03f684",
            "score": 0,
            "share_strategy": 0,
            "show_tags": [],
            "show_tags_v2": [],
            "show_type": "common",
            "status": 0,
            "sub_comment_count": 11,
            "sub_comments": [],
            "time": 1707294765,
            "track_id": "interaction-service.local",
            "translation_strategy": 10,
            "user": {
              "additional_tags": {},
              "ai_agent": false,
              "current_user": "false",
              "images": "https://sns-avatar-qc-ae.rednotecdn.com/avatar/5fe7491b000000000101cdb1.jpg?imageView2/2/w/120/format/jpg",
              "level": {
                "image": ""
              },
              "nickname": "天子星",
              "red_id": "1024061100",
              "userid": "a3c52493fb0c318f168ddf0868d9e"
            }
          },
          {
            "at_users": [],
            "biz_label": {
              "group_invite": "unknown",
              "product_review": false,
              "rich_text": "unknown"
            },
            "collected": false,
            "comment_type": 2,
            "content": "[飞吻R]",
            "downvoted": false,
            "friend_liked_msg": "",
            "hidden": false,
            "id": "65c19952000000001003eacb",
            "like_count": 0,
            "liked": false,
            "media_source_type": 0,
            "note_id": "65bf5360000000002c03f684",
            "pictures": [
              {
                "box_h": 160,
                "box_w": 120,
                "file_id": "",
                "height": 1440,
                "meme_package": {
                  "height": 1080,
                  "image_url": "http://sns-img-qc.xhscdn.com/comment/1040g2h030uqo35005c0g5nv5k28g92dl8r290u8?imageView2/2/h/1080/format/webp",
                  "width": 804
                },
                "origin_url": "https://sns-i27-ae.rednotecdn.com/comment/1040g2h030uqo35005c0g5nv5k28g92dl8r290u8?imageView2/2/w/1280/format/heif/q/45&ap=4&sc=CMT_DTL&sign=a20e320cf7d680ae7ff1d9f5436f82a8&t=6adb5a7e",
                "url": "https://sns-i27-ae.rednotecdn.com/comment/1040g2h030uqo35005c0g5nv5k28g92dl8r290u8?imageView2/2/w/360/format/heif/q/46&ap=4&sc=CMT_PRV&sign=a20e320cf7d680ae7ff1d9f5436f82a8&t=6adb5a7e",
                "width": 1072
              }
            ],
            "score": 0,
            "share_strategy": 0,
            "show_tags": [],
            "show_tags_v2": [],
            "show_type": "common",
            "status": 3,
            "sub_comment_count": 3,
            "sub_comments": [],
            "time": 1707186516,
            "track_id": "interaction-service.local",
            "translation_strategy": 10,
            "user": {
              "additional_tags": {},
              "ai_agent": false,
              "current_user": "false",
              "images": "https://sns-avatar-qc-ae.rednotecdn.com/avatar/1040g2jo31ctn4rhj0u005nv5k28g92dl1o2kt5o?imageView2/2/w/120/format/jpg",
              "level": {
                "image": ""
              },
              "nickname": "溪里湖鱼鱼缸定制",
              "red_id": "w170123596",
              "userid": "ac19513627c9911f57c5ebf6f7620"
            }
          },
          {
            "at_users": [],
            "biz_label": {
              "group_invite": "unknown",
              "product_review": false,
              "rich_text": "unknown"
            },
            "collected": false,
            "comment_type": 0,
            "content": "香港政府为了这个活动还补贴了1500万和赞助100万的场地费,结果梅西没上场,观众很愤怒,政府很恼火。",
            "downvoted": false,
            "friend_liked_msg": "",
            "hidden": false,
            "id": "65c0462c0000000007006ade",
            "like_count": 1120,
            "liked": false,
            "note_id": "65bf5360000000002c03f684",
            "score": 0,
            "share_strategy": 0,
            "show_tags": [],
            "show_tags_v2": [],
            "show_type": "common",
            "status": 0,
            "sub_comment_count": 6,
            "sub_comments": [],
            "time": 1707099692,
            "track_id": "interaction-service.local",
            "translation_strategy": 10,
            "user": {
              "additional_tags": {},
              "ai_agent": false,
              "current_user": "false",
              "images": "https://sns-avatar-qc-ae.rednotecdn.com/avatar/1040g2jo31nappkrl5i004a6obm6ru016fte83s0?imageView2/2/w/120/format/jpg",
              "level": {
                "image": ""
              },
              "nickname": "SOUTH AFRICA",
              "red_id": "20220921TR",
              "userid": "a4147fca45eaa5599c39a69fd1b23"
            }
          },
          {
            "at_users": [],
            "biz_label": {
              "group_invite": "unknown",
              "product_review": false,
              "rich_text": "unknown"
            },
            "collected": false,
            "comment_type": 0,
            "content": "无论发生什么 我永远支持梅西[飞吻R]",
            "downvoted": false,
            "friend_liked_msg": "",
            "hidden": false,
            "id": "65c367d6000000001003fa1d",
            "like_count": 15,
            "liked": false,
            "note_id": "65bf5360000000002c03f684",
            "score": 0,
            "share_strategy": 0,
            "show_tags": [],
            "show_tags_v2": [],
            "show_type": "common",
            "status": 0,
            "sub_comment_count": 7,
            "sub_comments": [],
            "time": 1707304918,
            "track_id": "interaction-service.local",
            "translation_strategy": 10,
            "user": {
              "additional_tags": {},
              "ai_agent": false,
              "current_user": "false",
              "images": "https://sns-avatar-qc-ae.rednotecdn.com/avatar/1040g2jo31occgdromml049resmrkdjdn7duv0no?imageView2/2/w/120/format/jpg",
              "level": {
                "image": ""
              },
              "nickname": "不做题家",
              "red_id": "941974844",
              "userid": "a6dd2dc3cea16e0c184d43fb04430"
            }
          },
          {
            "at_users": [],
            "biz_label": {
              "group_invite": "unknown",
              "product_review": false,
              "rich_text": "unknown"
            },
            "collected": false,
            "comment_type": 0,
            "content": "香港译音应该叫美斯吧",
            "downvoted": false,
            "friend_liked_msg": "",
            "hidden": false,
            "id": "65bf71a400000000090179e5",
            "like_count": 48,
            "liked": false,
            "note_id": "65bf5360000000002c03f684",
            "score": 0,
            "share_strategy": 0,
            "show_tags": [],
            "show_tags_v2": [],
            "show_type": "common",
            "status": 0,
            "sub_comment_count": 7,
            "sub_comments": [],
            "time": 1707045284,
            "track_id": "interaction-service.local",
            "translation_strategy": 10,
            "user": {
              "additional_tags": {},
              "ai_agent": false,
              "current_user": "false",
              "images": "https://sns-avatar-qc-ae.rednotecdn.com/avatar/5d75932f5f3a8a0001a2f529.jpg?imageView2/2/w/120/format/jpg",
              "level": {
                "image": ""
              },
              "nickname": "鄺生",
              "red_id": "986021912",
              "userid": "a55c9f8027410974f85bb31656e5d"
            }
          },
          {
            "at_users": [],
            "biz_label": {
              "group_invite": "unknown",
              "product_review": false,
              "rich_text": "unknown"
            },
            "collected": false,
            "comment_type": 0,
            "content": "梅西是用自己的职业生涯做了一个错误的决定,",
            "downvoted": false,
            "friend_liked_msg": "",
            "hidden": false,
            "id": "65c4c1ad000000000803082c",
            "like_count": 16,
            "liked": false,
            "note_id": "65bf5360000000002c03f684",
            "score": 0,
            "share_strategy": 0,
            "show_tags": [],
            "show_tags_v2": [],
            "show_type": "common",
            "status": 0,
            "sub_comment_count": 3,
            "sub_comments": [],
            "time": 1707393453,
            "track_id": "interaction-service.local",
            "translation_strategy": 10,
            "user": {
              "additional_tags": {},
              "ai_agent": false,
              "current_user": "false",
              "images": "https://sns-avatar-qc-ae.rednotecdn.com/avatar/1040g2jo31nd7raq14u6g4a1kst4quirrpj8b19g?imageView2/2/w/120/format/jpg",
              "level": {
                "image": ""
              },
              "nickname": "街溜子的一天",
              "red_id": "264681498",
              "userid": "aeea7c01e9ae14fd1c6b2007bac70"
            }
          },
          {
            "at_users": [],
            "biz_label": {
              "group_invite": "unknown",
              "product_review": false,
              "rich_text": "unknown"
            },
            "collected": false,
            "comment_type": 0,
            "content": "我真的想说都是跟风的吧真正看得懂足球的有几个啊,好多明星网红都在晒,她们真的能看懂足球吗",
            "downvoted": false,
            "friend_liked_msg": "",
            "hidden": false,
            "id": "65c41ba7000000001003eeb3",
            "like_count": 6,
            "liked": false,
            "note_id": "65bf5360000000002c03f684",
            "score": 0,
            "share_strategy": 0,
            "show_tags": [],
            "show_tags_v2": [],
            "show_type": "common",
            "status": 0,
            "sub_comment_count": 2,
            "sub_comments": [],
            "time": 1707350951,
            "track_id": "interaction-service.local",
            "translation_strategy": 10,
            "user": {
              "additional_tags": {},
              "ai_agent": false,
              "current_user": "false",
              "images": "https://sns-avatar-qc-ae.rednotecdn.com/avatar/1040g2jo31kpf3ogmj40048uag43cfotbbd6gq68?imageView2/2/w/120/format/jpg",
              "level": {
                "image": ""
              },
              "nickname": "哦阿卡",
              "red_id": "110306829",
              "userid": "a4415599d76980cbbc36c7ec26535"
            }
          }
        ],
        "current_sort_strategy": "default",
        "cursor": "{\"contextId\":\"8907e5f378e5465e889e73e661154ce6\",\"cursor\":\"65c41ba7000000001003eeb3\",\"index\":2,\"pageArea\":\"ALL\"}",
        "has_more": true,
        "page_context": "{\"exposed_l1_ids\":\"65bf56d3000000000803f4ec,65c485070000000008014f80,65c4f627000000000803040c,65c3402d000000001100b4c5,65c19952000000001003eacb,65c0462c0000000007006ade,65c367d6000000001003fa1d,65bf71a400000000090179e5,65c4c1ad000000000803082c,65c41ba7000000001003eeb3\"}",
        "user_id": "61e0f15300000000210253a5"
      },
      "message": null,
      "recordTime": null
    }

Common questions

Which inputs identify this request?

Provide noteId in query (string). Keep identifiers and URLs in the formats documented for this implementation.

Which pagination or result-size inputs are exposed?

lastCursor is string. Use only the exposed inputs and the continuation metadata returned by this endpoint; a size limit is not automatically a page or cursor.

Which values can I use for sort?

The selected schema accepts normal, latest, like_count. Keep the documented string type and exact spelling for this input.

Where do URL parameters belong?

Use the documented path and query inputs. This GET implementation does not use a JSON request body; keep path values and URL query values in their declared locations.

Which API key should I use?

Use your OpenAny API key as Bearer authentication on the documented OpenAny route.

Where can I check the current request price?

Check the pricing area for the selected API implementation. Follow its billing unit, quantity and any request-dependent rules before sending the request.

Use Xiaohongshu (RedNote) Note Comments API with your agent

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