Xiaohongshu (RedNote) Get user info API
Get Xiaohongshu (RedNote / 小红书) Get user info data via REST or OpenAny MCP—with pay-per-use pricing, no subscription, and no cookies required. Compare 3 implementations (anyapi, JustOneAPI and TikHub), pass parameters such as userId, and retrieve structured data including returned collected count field, description, returned followers field, returned following field, and returned gender field for content research and account lookup, and integration reference.
- Selected price
- $0.023077 / callPublished pricing
- Sellers / APIs
- 3 / 3
- Requests · 30d
- 0Selected implementation · last 30 days
- Success rate · 30d
- —No requests in this period
Xiaohongshu (RedNote) Get user info API
Prepare your request, then continue with your agent.
Selected price
$0.023077 / call
- Provider
- API
- Pricing
On this page
Overview
Xiaohongshu (RedNote) User Profile (V3) API
Retrieve a Xiaohongshu (RedNote) user profile from a user ID or supported profile URL. Provide userId 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: userId |
| Selected implementation | justoneapi · Xiaohongshu (RedNote) User Profile API (V3) |
| 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.result.code |
Business status code |
data.result.message |
Response message |
data.result.success |
Returned success field |
data.atme_notes_num |
Returned atme notes num field |
data.avatar_handle_entry_list |
Returned avatar handle entry list field |
data.avatar_like_status |
Returned avatar like status field |
data.avatar_pendant.current_user_pendant |
Returned current user pendant field |
Quick Start
- Set OPENANY_API_KEY to your OpenAny API key.
- Review the supported inputs and set any required query value shown in the template.
- Check the HTTP response and business result before reading optional fields.
curl \
'https://api.openany.si/v1/agent-apis/justoneapi/api/xiaohongshu/get-user/v3?userId=%3CREPLACE_USERID%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) User Profile (V3) 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
Related APIs
Playground
Run sends a real API request. Charges follow the published API contract.
Sellers
| Seller | Pricing | Requests · 30d | Performance | Access |
|---|---|---|---|---|
| RedNote (Xiaohongshu) Profile · POST · View API reference | $0.012 / call | —Select to load statistics | —successP50— | |
Current Xiaohongshu (RedNote) User Profile API (V3) · GET · View API reference | $0.023077 / call | 0 | —successP50— | |
| Get user info · GET · View API reference | $0.01 / call | —Select to load statistics | —successP50— |
- 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.
Total $2.3077
API
- Method
- GET
- Endpoint
https://api.openany.si/v1/agent-apis/justoneapi/api/xiaohongshu/get-user/v3- Content type
- application/json
- Authentication
Authorization: Bearer $OPENANY_API_KEY
Input parameters
Fields in this listing; additional options and input encoding can vary by provider.
| Parameter | Location | Type | Required | Description |
|---|---|---|---|---|
userId | URL query parametersquery | string | Yes | A Xiaohongshu user ID or a profile URL containing /user/profile/. |
Required markers inside a nested object or variant apply when that object or variant is used.
Response structure
codeintegerdataobjectatme_notes_numintegeravatar_handle_entry_listunknown[]avatar_like_statusbooleanavatar_pendantobjectcurrent_user_pendantbooleancurrent_user_petboolean
banner_infoobjectbg_colorstringimagestringlike_statusboolean
block_view_from_userbooleanblock_view_to_userbooleanblockedbooleanblockingbooleanbrand_account_infoobjectaccount_type_namestringconversionsunknown[]topicsobject[]idstringlinkstringnamestringsub_titlestring
trade_type_first_namestring
collectedintegercollected_book_numintegercollected_brand_numintegercollected_movie_numintegercollected_notes_numintegercollected_poi_numintegercollected_product_numintegercollected_tags_numintegercommunity_rule_urlstringdefault_collection_tabstringdescstringdesc_at_usersunknown[]fansintegerfollowsintegerfstatusstringgenderintegerhula_tabsobjectall_show_tab_configobject[]tab_idstringtab_index_weightintegertab_namestringis_show_lockboolean
andr_tab_padding_endintegerandr_tab_padding_startintegertab_id_selectedstring
identity_deeplinkstringidentity_label_migratedbooleanimagebstringimagesstringinteractionsobject[]countintegeris_privatebooleannamestringtoaststringtypestring
ip_locationstringis_login_user_pro_accountbooleanis_recommend_level_illegalbooleanlevelobjectimagestringimage_linkstringlevel_namestring
likedintegerlocationstringlocation_jumpbooleanmute_view_to_userbooleannboardsintegerndiscoveryintegernicknamestringnote_num_statobjectcollectedintegerlikedintegerpostedinteger
real_name_deep_targetintegerrecommend_infostringrecommend_info_iconstringred_club_infoobjectred_club_urlstring
red_idstringred_official_full_namestringred_official_verifiedbooleanred_official_verify_arrowintegerred_official_verify_contentstringred_official_verify_typeintegerremark_namestringresultobjectcodeintegermessagestringsuccessboolean
sec_account_deeplinkstringseller_infoobjectis_tab_goods_firstbooleantab_code_namesunknown[]tab_goods_api_versioninteger
share_infoobjectcontentstringtitlestring
share_info_v2objectcontentstringtitlestring
share_linkstringshow_extra_info_buttonbooleanshow_red_official_verify_iconbooleantab_publicobjectcollectionbooleancollection_boardbooleancollection_notebooleanseedboolean
tab_visibleobjectatmebooleancollectbooleanhotelbooleanlikebooleannotebooleanseedboolean
tagsunknown[]user_desc_infoobjectdescstringdesc_at_usersunknown[]desc_keywords_switchbooleandesc_with_placeholderstring
user_role_typeintegeruser_widget_switchbooleanuseridstring
messagenullrecordTimenull
Agent integration
Copy the resource contract without sharing an API key.
Error handling
| Status | Next step |
|---|---|
400 | Check the offering and request fields. |
401 / 403 | Verify your credentials and access permissions. |
402 | Inspect the selected access mode and returned payment requirements. |
429 | Respect the returned rate limit and retry guidance. |
5xx | Inspect 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.
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 / Linuxprintf 'OpenAny API key: ' read -r -s OPENANY_API_KEY export OPENANY_API_KEY printf '\n'Run the request
Paste the complete command below into your terminal.
Values to replace before running 1
Review these request fields before running. Keep the published provider and request method unchanged.
userId- A Xiaohongshu user ID or a profile URL containing /user/profile/.
Terminal · cURLcurl \ 'https://api.openany.si/v1/agent-apis/justoneapi/api/xiaohongshu/get-user/v3?userId=%3CREPLACE_USERID%3E' \ -X GET \ -H "Authorization: Bearer $OPENANY_API_KEY" \ -H 'Content-Type: application/json'Check the response
Sample response · Documented HTTP 200
Sample response{ "code": 0, "data": { "atme_notes_num": 1, "avatar_handle_entry_list": [], "avatar_like_status": false, "avatar_pendant": { "current_user_pendant": false, "current_user_pet": false }, "banner_info": { "bg_color": "fa7e51", "image": "http://sns-avatar-qc.rednotecdn.com/user_banner/15e327be-d0ff-375b-972d-28d27f4ef5ea?imageView2/2/w/540/format/jpg&ap=28&sc=USR_BG", "like_status": false }, "block_view_from_user": false, "block_view_to_user": false, "blocked": false, "blocking": false, "brand_account_info": { "account_type_name": "企业账号", "conversions": [], "topics": [ { "id": "693ba708000000002303d679", "link": "xhsdiscover://rn/ads-topic/page?id=693ba708026b000000000001", "name": "新年向上跑马上有平安", "sub_title": "77万次浏览" }, { "id": "67720cd3000000000400d2f7", "link": "xhsdiscover://rn/ads-topic/page?id=67720cd30043000000000001", "name": "蛇年许昕送平安", "sub_title": "206万次浏览" }, { "id": "65658ee90000000023021fab", "link": "xhsdiscover://rn/ads-topic/page?id=65658ee94cc02600017b56ce", "name": "解锁平安深马彩蛋", "sub_title": "57万次浏览" }, { "id": "65263d97000000000b0334df", "link": "xhsdiscover://rn/ads-topic/page?id=65263d97da2d410001fd62f9", "name": "平安一路上友你", "sub_title": "171万次浏览" }, { "id": "64621a0e000000002901c51b", "link": "xhsdiscover://rn/ads-topic/page?id=64621a0e4d952a0001722360", "name": "平安520大方示爱", "sub_title": "37万次浏览" } ], "trade_type_first_name": "" }, "collected": 37618, "collected_book_num": 0, "collected_brand_num": 0, "collected_movie_num": 0, "collected_notes_num": 0, "collected_poi_num": 0, "collected_product_num": 0, "collected_tags_num": 0, "community_rule_url": "https://www.xiaohongshu.com/user/community-rule", "default_collection_tab": "note", "desc": "专业 让生活更简单", "desc_at_users": [], "fans": 54313, "follows": 12, "fstatus": "none", "gender": 2, "hula_tabs": { "all_show_tab_config": [ { "tab_id": "note", "tab_index_weight": 0, "tab_name": "笔记" }, { "is_show_lock": true, "tab_id": "collect", "tab_index_weight": 10, "tab_name": "收藏" }, { "tab_id": "atMe", "tab_index_weight": 12, "tab_name": "标记" } ], "andr_tab_padding_end": 10, "andr_tab_padding_start": 10, "tab_id_selected": "note" }, "identity_deeplink": "xhsdiscover://rn/accounts/account-detail?targetId=5d1778df00000000160339d1&new_page_exp=1&rn_min_version=3.3.6", "identity_label_migrated": false, "imageb": "https://sns-avatar-qc-ae.rednotecdn.com/avatar/65c34f43412e1900018eaefd.jpg?imageView2/2/w/540/format/webp", "images": "https://sns-avatar-qc-ae.rednotecdn.com/avatar/65c34f43412e1900018eaefd.jpg?imageView2/2/w/360/format/webp", "interactions": [ { "count": 12, "is_private": false, "name": "关注", "toast": "", "type": "follows" }, { "count": 54313, "is_private": false, "name": "粉丝", "toast": "", "type": "fans" }, { "count": 153050, "is_private": false, "name": "获赞与收藏", "toast": "", "type": "interaction" } ], "ip_location": "广东", "is_login_user_pro_account": false, "is_recommend_level_illegal": false, "level": { "image": "", "image_link": "", "level_name": "" }, "liked": 115432, "location": "", "location_jump": false, "mute_view_to_user": false, "nboards": 0, "ndiscovery": 623, "nickname": "中国平安", "note_num_stat": { "collected": 37618, "liked": 115432, "posted": 623 }, "real_name_deep_target": 1, "recommend_info": "", "recommend_info_icon": "", "red_club_info": { "red_club_url": "https://www.xiaohongshu.com/store/mc/landing" }, "red_id": "", "red_official_full_name": "中国平安保险(集团)股份有限公司", "red_official_verified": false, "red_official_verify_arrow": 0, "red_official_verify_content": "保险", "red_official_verify_type": 2, "remark_name": "", "result": { "code": 0, "message": "success", "success": true }, "sec_account_deeplink": "xhsdiscover://rn/accounts/account-detail?targetId=5d1778df00000000160339d1&new_page_exp=1&rn_min_version=3.3.6", "seller_info": { "is_tab_goods_first": true, "tab_code_names": [], "tab_goods_api_version": 1 }, "share_info": { "content": "专业 让生活更简单", "title": "中国平安" }, "share_info_v2": { "content": "粉丝: 5.4万\n获赞与收藏: 15.3万", "title": "@中国平安的个人主页" }, "share_link": "https://www.xiaohongshu.com/user/profile/5d1778df00000000160339d1?xsec_token=YBPb5RrG5onuNybw3Mn9VLOdHJbzkOJbQNlYDFmkihIJc=&xsec_source=app_share", "show_extra_info_button": false, "show_red_official_verify_icon": false, "tab_public": { "collection": false, "collection_board": true, "collection_note": true, "seed": true }, "tab_visible": { "atme": true, "collect": true, "hotel": false, "like": false, "note": true, "seed": true }, "tags": [], "user_desc_info": { "desc": "专业 让生活更简单", "desc_at_users": [], "desc_keywords_switch": true, "desc_with_placeholder": "专业 让生活更简单" }, "user_role_type": 4, "user_widget_switch": false, "userid": "5d1778df00000000160339d1" }, "message": null, "recordTime": null }