Sand AISand AI MAGI-2MAGI-2 agora está na SandBase: vídeo em 1080p com áudio nativoExperimente agora

Xiaohongshu User Profile

Docs da API
https://api.sandbase.ai/v1/api/xiaohongshu/user

Get a Xiaohongshu (RedNote) user profile from a user ID or supported profile URL. Use it to support creator discovery, account research, and reviewing a known profile before related content analysis.

Preço
$0.021429USD / chamada
Método
POST
Resposta
JSON
Parâmetros
1 obrigatórios · 0 opcionais

Playground

Entrada
A Xiaohongshu user ID or a profile URL containing /user/profile/.
SaídaPronto

Sua saída aparecerá aqui

Preencha as entradas e clique em Executar.

README da API

Xiaohongshu User Profile API

Returns a Xiaohongshu (RedNote) user profile for one account. It needs a userId, which can be a user ID or a profile URL containing /user/profile/. The response includes the bio, follower and like totals, IP location, account type and live status.

Use cases

  • Check a creator's follower count and total likes before you plan a collaboration.
  • Confirm that an account is an enterprise account and read its bio before you do account research.
  • Check whether a known account is live right now and get its room ID.
  • Track a profile's fans, liked and collected totals over time by calling it on a schedule.

Request

curl -X POST "https://api.sandbase.ai/v1/api/xiaohongshu/user" \
  -H "Authorization: Bearer $SANDBASE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"userId": "64b898310000000014037b21"}'

The result is returned in outputs[0].data.

Parameters

NameTypeRequiredDescription
userIdstringYesA Xiaohongshu user ID or a profile URL containing /user/profile/.

Example response

Real response for the request above, trimmed: lists keep their first item and long strings are cut.

{
  "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": "b8a1b3",
    "image": "http://sns-avatar-qc.rednotecdn.com/user_banner/1040g2k031qnj00er74005p5oj0ol6up…",
    "like_status": false
  },
  "block_view_from_user": false,
  "block_view_to_user": false,
  "blocked": false,
  "blocking": false,
  "brand_account_info": {
    "account_type_name": "企业账号",
    "conversions": [
      {
        "icon": "https://picasso-static.xiaohongshu.com/fe-platform/fb51da952d69f3cc44a174ff85dcc…",
        "id": "11",
        "is_red_shop": false,
        "is_shop": false,
        "link": "xhsdiscover://message/userPublicGroupList?user_id=64b898310000000014037b21&usern…",
        "name": "Group chat",
        "sub_title": "View details"
      }
    ],
    "trade_type_first_name": ""
  },
  "collected": 3152959,
  "collected_book_num": 0
}

Response fields

FieldMeaning
descThe profile bio text. Line breaks appear as \n.
fans / followsThe number of followers and the number of accounts this user follows.
liked / collectedTotal likes and total saves this account has received on its content.
interactions[]Summary counters shown on the profile. Each row has type, name, count and is_private. When is_private is true, the user has hidden that list from view.
genderNumeric gender code. The sample value is 2. The response does not define the codes.
ip_locationThe location label shown on the profile, such as 湖南.
brand_account_info.account_type_nameThe account type label. The sample shows 企业账号 (enterprise account).
images / imagebAvatar image URLs. images is the smaller version and imageb is the larger version.
banner_info.imageURL of the profile banner image.
live.live_status / live.room_id / live.start_timeThe live stream state, the room ID, and the start time as a millisecond timestamp.

Notes

Pricing

$0.021429 per successful call. Failed calls are not charged.

Explorar mais

APIs relacionadas

Todas as APIs
APIPreçoResposta
Xiaohongshu$0.021429 por chamadaJSON
Xiaohongshu$0.01 por chamadaJSON
Xiaohongshu$0.01 por chamadaJSON
Xiaohongshu$0.01 por chamadaJSON
Xiaohongshu$0.01 por chamadaJSON
Xiaohongshu$0.01 por chamadaJSON

Guias:Best Xiaohongshu API in 2026: Pricing Compared

Perguntas

FAQ

Como eu uso a API Xiaohongshu User Profile?

Envie uma solicitação POST para https://api.sandbase.ai/v1/api/xiaohongshu/user com sua chave de API da SandBase no cabeçalho Authorization (Bearer) e os parâmetros no corpo JSON. Você também pode testar no Playground desta página sem escrever código.

Quanto custa a API Xiaohongshu User Profile?

$0.021429 por chamada, cobrado do seu saldo SandBase. Você paga apenas pelas chamadas que fizer; não há assinatura.

Quais parâmetros a API Xiaohongshu User Profile aceita?

Obrigatórios: userId (string). A tabela de Parâmetros e o Playground nesta página listam todos os campos.

O que a API Xiaohongshu User Profile retorna?

Uma resposta JSON retornada na mesma solicitação HTTP (síncrona). O README desta página inclui um exemplo de resposta.

Preciso de uma conta de desenvolvedor Xiaohongshu ou de uma chave de API?

Não. Xiaohongshu User Profile funciona via SandBase, então uma única chave de API da SandBase cobre este endpoint e todas as outras APIs e modelos do catálogo. Você não precisa solicitar acesso à API do Xiaohongshu separadamente.