Sand AISand AI MAGI-2MAGI-2 Γ¨ ora su SandBase: video in 1080p con audio nativoProvalo ora

Xiaohongshu (RED) User Profile Information

Documentazione API
https://api.sandbase.ai/v1/api/xiaohongshu/web-v3/user-info

Returns public profile details and interaction metrics for a specific Xiaohongshu account based on the provided user ID.

Prezzo
$0.01USD / chiamata
Metodo
POST
Risposta
JSON
Parametri
1 obbligatori Β· 0 opzionali

Playground

Input
User ID
OutputEsempio
Rispostaoutputs Β· 2.0 KB Β· 79 righe
[
  {
    "data": {
      "code": 0,
      "data": {
        "basic_info": {
          "desc": "πŸ’’πΌπ‘ π‘™π‘Žπ‘›π‘‘ π‘‘π‘–π‘Žπ‘Ÿπ‘¦π“‡Ό κ™³πŸ°Λ³ Λ– ˚✩🫧\n         \n   »»  εˆ†δΊ«η”Ÿζ΄»ζ—₯εΈΈπŸ’—πŸ€",
          "gender": 1,
          "imageb": "https://sns-avatar-qc.rednotecdn.com/avatar/1040g2jo31npcail65m905p38itkaasfspa9aoe8?imageView2/2/w/540/format/webp",
          "images": "https://sns-avatar-qc.rednotecdn.com/avatar/1040g2jo31npcail65m905p38itkaasfspa9aoe8?imageView2/2/w/360/format/webp",
          "ip_location": "",
          "nickname": "Rose",
          "red_id": "792402293"
        },
        "extra_info": {
          "blockType": "DEFAULT",
          "fstatus": "none"
        },
        "interactions": [
          {
            "count": "10+",
            "i18n_count": "10+",
            "name": "关注",
            "type": "follows"
          },
          {
            "count": "1δΈ‡+",
            "i18n_count": "10K+",
            "name": "粉丝",
            "type": "fans"
          },
          {
            "count": "1δΈ‡+",
            "i18n_count": "10K+",
            "name": "θŽ·θ΅žδΈŽζ”Άθ—",
            "type": "interaction"
          }
        ],
        "result": {
          "code": 0,
          "message": "success",
          "success": true
        },
        "tab_public": {
          "collection": false,
          "collectionBoard": {
            "count": 0,
            "display": false,
            "lock": false
          },
          "collectionFile": {
            "count": 0,
            "display": false,
            "lock": false
          },
          "collectionNote": {
            "count": 0,
            "display": false,
            "lock": false
          }
        },
        "tags": [
          {
            "icon": "http://sns-i11.rednotecdn.com/icons/user/gender-female-v1.png",
            "tagType": "info"
          },
          {
            "name": "ζ—Άε°šεšδΈ»",
            "tagType": "profession"
          }
        ]
      },
      "msg": "成功",
      "ok": true,
      "status": 200,
      "success": true
    }
  }
]

Esempi

Seleziona un esempio per caricare i suoi input e il risultato nel playground.

README API

Xiaohongshu (RED) User Profile Information API

Returns the public profile of a Xiaohongshu account: nickname, bio, avatar URLs, RED ID, profile tags and interaction counts. It needs one input, the account's user_id.

Use cases

  • Show a creator's nickname, bio and avatar in an internal dashboard.
  • Compare the follower, following and likes-and-saves counts of several creators before outreach.
  • Check a creator's profession tag, such as a fashion blogger label, to sort accounts into categories.
  • Look up the public red_id for an account when you only hold its internal user_id.

Request

curl -X POST "https://api.sandbase.ai/v1/api/xiaohongshu/web-v3/user-info" \
  -H "Authorization: Bearer $SANDBASE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"user_id": "5e3a8ee700000000010070c6"}'

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

Parameters

NameTypeRequiredDescription
user_idstringYesUser ID

Example response

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

{
  "code": 0,
  "data": {
    "basic_info": {
      "desc": "πŸ’’πΌπ‘ π‘™π‘Žπ‘›π‘‘ π‘‘π‘–π‘Žπ‘Ÿπ‘¦π“‡Ό κ™³πŸ°Λ³ Λ– ˚✩🫧\n         \n   »»  εˆ†δΊ«η”Ÿζ΄»ζ—₯εΈΈπŸ’—πŸ€",
      "gender": 1,
      "imageb": "https://sns-avatar-qc.rednotecdn.com/avatar/1040g2jo31npcail65m905p38itkaasfspa9…",
      "images": "https://sns-avatar-qc.rednotecdn.com/avatar/1040g2jo31npcail65m905p38itkaasfspa9…",
      "ip_location": "",
      "nickname": "Rose",
      "red_id": "792402293"
    },
    "collected": 29581,
    "extra_info": {
      "blockType": "DEFAULT",
      "fstatus": "none"
    },
    "interactions": [
      {
        "count": "10+",
        "i18n_count": "10+",
        "name": "关注",
        "show": false,
        "type": "follows"
      }
    ],
    "liked": 92964,
    "posted": 2,
    "result": {
      "code": 0,
      "message": "success",
      "success": true
    },
    "tab_public": {
      "collection": false,
      "collectionBoard": {
        "count": 0,
        "display": false,
        "lock": false
      },
      "collectionFile": {
        "count": 0,
        "display": false,
        "lock": false
      },
      "collectionNote": {
        "count": 0,
        "display": false,
        "lock": false
      }
    },
    "tags": [
      {
        "icon": "http://sns-i11.rednotecdn.com/icons/user/gender-female-v1.png",
        "tagType": "info"
      }
    ]
  },
  "msg": "成功",
  "ok": true,
  "status": 200,
  "success": true
}

Response fields

FieldMeaning
data.basic_info.nicknameDisplay name of the account.
data.basic_info.red_idThe account's public RED ID, shown as a string.
data.basic_info.descProfile bio text. It can contain emoji and line breaks.
data.basic_info.images / data.basic_info.imagebAvatar image URLs. The images URL has a width of 360 in its query string and the imageb URL has a width of 540.
data.basic_info.genderNumeric gender code. The sample value 1 matches the female icon in data.tags.
data.interactions[].typeCounter type: follows, fans or interaction.
data.interactions[].count / data.interactions[].i18n_countCounter value as a rounded display string. count uses Chinese units such as 1δΈ‡+, and i18n_count uses 10K+ style.
data.interactions[].nameChinese label for the counter, such as 关注 (following), 粉丝 (followers) or θŽ·θ΅žδΈŽζ”Άθ— (likes and saves).
data.liked / data.collected / data.postedNumeric counts. liked and collected are exact numbers, and posted is the count of posted notes.
data.tags[]Profile tags. Items have a tagType of info (with an icon) or profession (with a name).

Notes

Pricing

$0.01 per successful call. Failed calls are not charged. It is included in the daily free quota of each organization.

Esplora altro

API correlate

Tutte le API
APIPrezzoRisposta
Xiaohongshu$0.01 per chiamataJSON
Xiaohongshu$0.01 per chiamataJSON
Xiaohongshu$0.01 per chiamataJSON
Xiaohongshu$0.01 per chiamataJSON
Xiaohongshu$0.01 per chiamataJSON
Xiaohongshu$0.01 per chiamataJSON

Guide:Best Xiaohongshu API in 2026: Pricing Compared

Domande

FAQ

Come uso l'API Xiaohongshu (RED) User Profile Information?

Invia una richiesta POST a https://api.sandbase.ai/v1/api/xiaohongshu/web-v3/user-info con la tua chiave API di SandBase nell'header Authorization (Bearer) e i parametri nel body JSON. Puoi anche provarla nel Playground di questa pagina senza scrivere codice.

Quanto costa l'API Xiaohongshu (RED) User Profile Information?

$0.01 per chiamata, addebitato dal tuo saldo SandBase. Paghi solo le chiamate che effettui; non c'Γ¨ alcun abbonamento.

Quali parametri accetta l'API Xiaohongshu (RED) User Profile Information?

Richiesti: user_id (string). La tabella dei parametri e il Playground di questa pagina elencano tutti i campi.

Cosa restituisce l'API Xiaohongshu (RED) User Profile Information?

Una risposta JSON restituita nella stessa richiesta HTTP (sincrona). Il README di questa pagina include una risposta di esempio.

Mi serve un account sviluppatore o una chiave API Xiaohongshu?

No. Xiaohongshu (RED) User Profile Information funziona tramite SandBase, quindi una sola chiave API SandBase copre questo endpoint e tutte le altre API e modelli del catalogo. Non Γ¨ necessario richiedere separatamente l'accesso alle API Xiaohongshu.