APISocial MediaData

Xiaohongshu (RedNote) Note Comments API (V2)

Retrieve comments for a Xiaohongshu (RedNote) note with cursor pagination and normal, latest, or like-count sorting. Supply a note ID. Sample fields include comment counts and comments. Surface recurring topics and audience feedback. The GET request schema also lists noteId, lastCursor, sort.

Selected price
$0.023077 / callPublished pricing
Sellers / APIs
1 / 1
Requests · 30d
—Loading...
Success rate · 30d
—Loading...
USE THIS API

Xiaohongshu (RedNote) Note Comments API (V2)

Prepare your request, then continue with your agent.

Selected price

$0.023077 / call

Provider
Pricing
Connect your agent
On this page

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

"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"
cursorJSON string · parsed preview
data.cursor
{
  "contextId": "8907e5f378e5465e889e73e661154ce6",
  "cursor": "65c41ba7000000001003eeb3",
  "index": 2,
  "pageArea": "ALL"
}
"has_more": true
page_contextJSON string · parsed preview
data.page_context
{
  "exposed_l1_ids": "65bf56d3000000000803f4ec,65c485070000000008014f80,65c4f627000000000803040c,65c3402d000000001100b4c5,65c19952000000001003eacb,65c0462c0000000007006ade,65c367d6000000001003fa1d,65bf71a400000000090179e5,65c4c1ad000000000803082c,65c41ba7000000001003eeb3"
}
"user_id": "61e0f15300000000210253a5"
"message": null
"recordTime": null

Response result

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

Sellers

SellerPricingRequests · 30dPerformanceAccess
justoneapiCurrent
Xiaohongshu (RedNote) Note Comments API (V2) · GET · View API reference
$0.023077 / call—
—successP50—
Loading...
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: 4. 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
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'

Input parameters

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

ParameterLocationTypeRequiredDescription
noteIdURL query parametersquerystringYesA Xiaohongshu note ID or an explore URL containing /explore/.
lastCursorURL query parametersquerystringNoPagination cursor from the previous page (use the cursor value returned by the last response).
sortURL query parametersquerystringNoSort 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.

Sample response

Sample response · Documented HTTP 200 Example from the provider's documentation. Field values in your results will differ.

Official example · Historical response; independent request temp
{
  "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
}

Agent integration

Copy the resource contract without sharing an API key.

View API Markdown
API Markdown
# Xiaohongshu (RedNote) Note Comments API (V2)

Retrieve comments for a Xiaohongshu (RedNote) note with cursor pagination and normal, latest, or like-count sorting. Supply a note ID. Sample fields include comment counts and comments. Surface recurring topics and audience feedback. The GET request schema also lists noteId, lastCursor, sort.
Documentation: https://openany.si/apis/c11c78ed-7351-482a-8b93-64a1f9876217
Method: GET
Endpoint: https://api.openany.si/v1/agent-apis/justoneapi/api/xiaohongshu/get-note-comment/v2
Price: $0.023077 / call
Provider: justoneapi
Contract revision: 4
Price source: OpenAny public API contract and documented provider unit rates. Price update time: not supplied.

Use OPENANY_API_KEY from the environment. API Key calls use your shared balance.

## Prepared request
```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'
```

## API contract
```json
{
  "resource_type": "api",
  "name": "Xiaohongshu (RedNote) Note Comments API (V2)",
  "endpoint": "https://api.openany.si/v1/agent-apis/justoneapi/api/xiaohongshu/get-note-comment/v2",
  "method": "GET",
  "content_type": "none",
  "execution_mode": "sync",
  "authentication": {
    "type": "bearer",
    "environment_variable": "OPENANY_API_KEY"
  },
  "inputs": [
    {
      "description": "A Xiaohongshu note ID or an explore URL containing /explore/.",
      "location": "query",
      "name": "noteId",
      "nullable": false,
      "required": true,
      "type": "string"
    },
    {
      "description": "Pagination cursor from the previous page (use the cursor value returned by the last response).",
      "location": "query",
      "name": "lastCursor",
      "nullable": false,
      "required": false,
      "type": "string"
    },
    {
      "description": "Sort strategy for the result set.\n\nAvailable Values:\n- `normal`: Normal\n- `latest`: Latest\n- `like_count`: Like Count",
      "enum_values": [
        "normal",
        "latest",
        "like_count"
      ],
      "location": "query",
      "name": "sort",
      "nullable": false,
      "required": false,
      "type": "string"
    }
  ],
  "billing": {
    "currency": "USD",
    "mode": "fixed",
    "priceMicroUsd": "23077",
    "rounding": null,
    "unit": "call",
    "unitQuantity": null
  },
  "examples": [
    {
      "http_status": 200,
      "name": "Official example · Historical response; independent request temp",
      "request": {
        "body": null,
        "headers": {},
        "path": {},
        "query": {
          "noteId": "<REPLACE_NOTEID>"
        }
      },
      "response_body": {
        "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
      }
    }
  ]
}
```

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
    }

Loading related APIs…

Common questions

Do I need a separate key for every provider?

Use your OpenAny API key for standard API access. Read it from OPENANY_API_KEY in your environment and keep it out of prompts, source code and logs.

Are these providers interchangeable?

No. Each offering has its own inputs, pricing and response contract. Selecting a catalog offering does not establish automatic routing or fallback. Confirm the service contract before calling.

How is this API billed?

API-key calls use your shared balance at the selected implementation's published rate. Check the billing unit and request-specific pricing rules before making a paid call. Recorded usage determines the final charge under that contract.

Where do the price and contract come from?

The selected implementation publishes its provider, request contract, revision and billing rules through OpenAny's public API catalog. A revision number identifies a contract version, not a price update date. A price update timestamp is not supplied; do not treat a page date as one.

How do OpenAny Balance and x402 differ?

OpenAny Balance uses an API key and one shared balance. Card, USDC and x402 top-ups, card auto top-up and USDC subscriptions fund that balance; available routes appear on the Credits page. Direct x402 is a separate pay-per-request flow, available only on listings that show it and requiring an authorized payment client.

Does Playground send a paid request?

Yes. After you sign in, Run sends a real API request using an active OpenAny API key. Charges follow the published API contract and use your shared balance. Selecting an implementation, editing inputs and viewing sample responses do not send requests.

Use Xiaohongshu (RedNote) Note Comments API (V2) with your agent

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