OpenAny
Get API keyAPI Key
APIDataScrapers

xiaohongshu logo
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
USE THIS API

Xiaohongshu (RedNote) Get user info 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) Get user info API

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

  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-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

View FAQ

Related APIs

Playground

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

Request parameters
A Xiaohongshu user ID or a profile URL containing /user/profile/.

Sample response

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

Response result

Sellers

SellerPricingRequests · 30dPerformanceAccess
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 / call0
—successP50—
Get user info · 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-user/v3
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
userIdURL query parametersquerystringYes

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

Inferred from examples
  • codeinteger
  • dataobject
    • atme_notes_numinteger
    • avatar_handle_entry_listunknown[]
    • avatar_like_statusboolean
    • avatar_pendantobject
      • current_user_pendantboolean
      • current_user_petboolean
    • banner_infoobject
      • bg_colorstring
      • imagestring
      • like_statusboolean
    • block_view_from_userboolean
    • block_view_to_userboolean
    • blockedboolean
    • blockingboolean
    • brand_account_infoobject
      • account_type_namestring
      • conversionsunknown[]
      • topicsobject[]
        • idstring
        • linkstring
        • namestring
        • sub_titlestring
      • trade_type_first_namestring
    • collectedinteger
    • collected_book_numinteger
    • collected_brand_numinteger
    • collected_movie_numinteger
    • collected_notes_numinteger
    • collected_poi_numinteger
    • collected_product_numinteger
    • collected_tags_numinteger
    • community_rule_urlstring
    • default_collection_tabstring
    • descstring
    • desc_at_usersunknown[]
    • fansinteger
    • followsinteger
    • fstatusstring
    • genderinteger
    • hula_tabsobject
      • all_show_tab_configobject[]
        • tab_idstring
        • tab_index_weightinteger
        • tab_namestring
        • is_show_lockboolean
      • andr_tab_padding_endinteger
      • andr_tab_padding_startinteger
      • tab_id_selectedstring
    • identity_deeplinkstring
    • identity_label_migratedboolean
    • imagebstring
    • imagesstring
    • interactionsobject[]
      • countinteger
      • is_privateboolean
      • namestring
      • toaststring
      • typestring
    • ip_locationstring
    • is_login_user_pro_accountboolean
    • is_recommend_level_illegalboolean
    • levelobject
      • imagestring
      • image_linkstring
      • level_namestring
    • likedinteger
    • locationstring
    • location_jumpboolean
    • mute_view_to_userboolean
    • nboardsinteger
    • ndiscoveryinteger
    • nicknamestring
    • note_num_statobject
      • collectedinteger
      • likedinteger
      • postedinteger
    • real_name_deep_targetinteger
    • recommend_infostring
    • recommend_info_iconstring
    • red_club_infoobject
      • red_club_urlstring
    • red_idstring
    • red_official_full_namestring
    • red_official_verifiedboolean
    • red_official_verify_arrowinteger
    • red_official_verify_contentstring
    • red_official_verify_typeinteger
    • remark_namestring
    • resultobject
      • codeinteger
      • messagestring
      • successboolean
    • sec_account_deeplinkstring
    • seller_infoobject
      • is_tab_goods_firstboolean
      • tab_code_namesunknown[]
      • tab_goods_api_versioninteger
    • share_infoobject
      • contentstring
      • titlestring
    • share_info_v2object
      • contentstring
      • titlestring
    • share_linkstring
    • show_extra_info_buttonboolean
    • show_red_official_verify_iconboolean
    • tab_publicobject
      • collectionboolean
      • collection_boardboolean
      • collection_noteboolean
      • seedboolean
    • tab_visibleobject
      • atmeboolean
      • collectboolean
      • hotelboolean
      • likeboolean
      • noteboolean
      • seedboolean
    • tagsunknown[]
    • user_desc_infoobject
      • descstring
      • desc_at_usersunknown[]
      • desc_keywords_switchboolean
      • desc_with_placeholderstring
    • user_role_typeinteger
    • user_widget_switchboolean
    • useridstring
  • 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 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 · cURL
    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'
  3. 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
    }

Common questions

Which inputs identify this request?

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

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.

How should I map the returned fields?

Use the documented response paths with their returned types. Keep null, empty collections, false and zero distinct, and retain the identifiers needed to match results to the request.

Can I reuse request parameters from another endpoint?

Use the selected implementation schema. Similar operation names, providers or versions do not establish identical input locations, types or response fields.

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) Get user info API with your agent

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