Apinoa Docs

Profile

Get a Xiaohongshu account: nickname, Xiaohongshu number, bio, IP location, tags and post count, with its latest posts.

View raw .mdx
GET | POST /v1/xiaohongshu/profile

Send parameters as a query string with GET, or as a JSON body with POST. Both are equivalent.

Request

curl "https://gateway.apinoa.com/v1/xiaohongshu/profile?username=59edb804e8ac2b09b85fad67" \
  -H "x-api-key: $APINOA_API_KEY"

What to Pass

PassReadsNotes
usernameThe accountIts user id (24 hex characters, from its profile link), or the profile link

Parameters

ParameterTypeRequiredNotes
usernamestringThe account's user id (24 hex characters, from its profile link), or the profile link.

The same parameters, and every response type, are in the OpenAPI document.

Response

Returns Account in data. A real response, shortened: arrays keep their first entries and long text is cut.

{
  "success": true,
  "data": {
    "platform": "xiaohongshu",
    "id": "59edb804e8ac2b09b85fad67",
    "handle": "496969443",
    "displayName": "尖叫番茄",
    "bio": "什么都发₍ᐢ..ᐢ₎ᐝ\n美甲|购物分享|日常 | INFJ",
    "url": "https://www.xiaohongshu.com/user/profile/59edb804e8ac2b09b85fad67",
    "avatarUrl": "https://sns-avatar-qc.rednotecdn.com/avatar/1040g2jo30n6beaha5a0049uqt2s09bb7…",
    "counts": {
      "posts": 114
    },
    "ext": {
      "redId": "496969443",
      "gender": "female",
      "ipLocation": "广东",
      "followersText": "10+",
      "followingText": "10+",
      "likesAndSavesText": "1万+",
      "likes": 76067,
      "saves": 17669,
      "bioTranslation": "Just sharing a bit of everything ₍ᐢ..ᐢ₎ᐝ\nNails | Shopping | Daily | INFJ",
      "posts": [
        {
          "title": "这次,我一定要发挥好",
          "type": "normal",
          "createdAt": "2026-11-16T14:40:34.000Z",
          "likes": 247,
          "cover": {
            "type": "image",
            "url": "http://sns-web-i10.rednotecdn.com/202611270748/daa177cb011e0c5e3f1c56ee5699ce…",
            "width": 1200,
            "height": 1600,
            "thumbnailUrl": "http://sns-web-i10.rednotecdn.com/202611270748/b06466faedff5559e3d47c364ce7b3…",
            "variants": [
              {
                "url": "http://sns-web-i10.rednotecdn.com/202611270748/b06466faedff5559e3d47c364ce7b3…",
                "quality": "WB_PRV"
              },
              {
                "url": "http://sns-web-i10.rednotecdn.com/202611270748/daa177cb011e0c5e3f1c56ee5699ce…",
                "quality": "WB_DFT"
              }
            ]
          },
          "xsecToken": "ABhu_Cqz8_LewlXka4tu0shenQuM4eqkIOCDItFOJ7ktk="
        },
        {
          "title": "马上要去日本了 我的购物欲已经按耐不住了,",
          "type": "normal",
          "createdAt": "2026-11-12T10:53:52.000Z",
          "likes": 2607,
          "cover": {
            "type": "image",
            "url": "http://sns-web-i10.rednotecdn.com/202611270748/ee46987a07ff5cc04bd10acc5f2684…",
            "width": 1200,
            "height": 1600,
            "thumbnailUrl": "http://sns-web-i10.rednotecdn.com/202611270748/6bcbbc4b72b2fcf0d0cc981f0f351f…",
            "variants": [
              {
                "url": "http://sns-web-i10.rednotecdn.com/202611270748/6bcbbc4b72b2fcf0d0cc981f0f351f…",
                "quality": "WB_PRV"
              },
              {
                "url": "http://sns-web-i10.rednotecdn.com/202611270748/ee46987a07ff5cc04bd10acc5f2684…",
                "quality": "WB_DFT"
              }
            ]
          },
          "xsecToken": "ABhu_Cqz8_LewlXka4tu0shenQuM4eqkIOCDItFOJ7ktk="
        }
      ]
    }
  }
}

Errors

StatusCodeMeaning
400INVALID_PARAMSA parameter is missing, unknown or out of range. The message names it.
401UNAUTHORIZEDThe x-api-key header is missing, or the key is revoked or unknown.
402INSUFFICIENT_CREDITSYour credits do not cover this call. Choose a plan or top up in the dashboard.
404NOT_FOUNDThe account, post or group does not exist, or is private, deleted or age-restricted.
429MARKETPLACE_SATURATEDToo many concurrent calls. Retry after the Retry-After seconds.
502UPSTREAM_ERRORThe platform answered with something unusable. Retry with backoff.

Every code is listed in Errors. Failed calls are not billed.

Pricing

Price 1 credit per call. Plans and credits.

Notes

  • Xiaohongshu shows followers, following and likes-and-saves rounded ("1万+"), so they are in ext as the page states them (followersText, followingText, likesAndSavesText); counts.posts and ext.likes/ext.saves are exact.
  • ext.posts is the account's latest posts as its profile lists them: title, type, likes, cover and whether it is pinned. Xiaohongshu does not state their ids there, so they are previews rather than posts, and posts does not take username.
  • The Xiaohongshu number (redId) is the account's handle; Xiaohongshu has no username a link can name, so username takes the user id.

On this page