Sand AISand AI MAGI-2MAGI-2 est maintenant sur SandBase : vidéo 1080p avec audio natifEssayer maintenant

Xiaohongshu (RED) Homepage Categories

Docs API
https://api.sandbase.ai/v1/api/xiaohongshu/web-v3/homefeed-categories

Returns a list of available homefeed category channels on Xiaohongshu (RED). Use this endpoint to inspect valid category identifiers for content discovery.

Prix
$0.01USD / appel
Méthode
POST
Réponse
JSON
Paramètres
0 obligatoires · 0 facultatifs

Bac à sable

Entrée
Aucun schéma d’entrée disponible
SortieExemple
Réponseoutputs · 507 B · 28 lignes
[
  {
    "data": {
      "code": 0,
      "data": {
        "categories": [
          {
            "id": "homefeed.fashion_v3",
            "name": "穿搭"
          },
          {
            "id": "homefeed.food_v3",
            "name": "美食"
          },
          {
            "id": "homefeed.cosmetics_v3",
            "name": "彩妆"
          },
          "… 8 more items in the full response"
        ]
      },
      "msg": "成功",
      "ok": true,
      "status": 200,
      "success": true
    }
  }
]

Exemples

Sélectionnez un exemple pour charger ses entrées et son résultat dans le playground.

README de l'API

Xiaohongshu (RED) Homepage Categories API

Returns the list of homefeed category channels on Xiaohongshu (RED). Each entry has a category id and a display name. The API takes no input parameters.

Use cases

  • Build a channel menu that mirrors the homefeed tabs on Xiaohongshu.
  • Look up the valid id values, such as homefeed.food_v3, before you request a category feed.
  • Map category id values to their Chinese name labels in a dashboard or report.
  • Check the current set of top-level channels by comparing the list between runs.

Request

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

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

Example response

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

{
  "code": 0,
  "data": {
    "categories": [
      {
        "id": "homefeed.fashion_v3",
        "name": "穿搭"
      }
    ]
  },
  "msg": "成功",
  "ok": true,
  "status": 200,
  "success": true
}

Response fields

FieldMeaning
data.categories[]List of homefeed category channels. Each item is one channel.
data.categories[].idCategory identifier, for example homefeed.fashion_v3. Use this value when you need to refer to a channel.
data.categories[].nameDisplay name of the category in Chinese, for example 穿搭 (fashion) or 美食 (food).
code / ok / successStatus flags. code is 0 and ok and success are true when the call worked.
msgStatus message text. It is 成功 on a successful call.

Notes

  • Send an empty JSON object {} as the request body. There are no parameters and no pagination.
  • Category id values follow the pattern homefeed.<channel>_v3.
  • To read posts from the homepage, call Xiaohongshu (RED) Homepage Feed.

Pricing

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

Explorer plus

APIs associées

Toutes les APIs
APIPrixRéponse
Xiaohongshu$0.01 par appelJSON
Xiaohongshu$0.01 par appelJSON
Xiaohongshu$0.01 par appelJSON
Xiaohongshu$0.01 par appelJSON
Xiaohongshu$0.01 par appelJSON
Xiaohongshu$0.01 par appelJSON

Guides :Best Xiaohongshu API in 2026: Pricing Compared

Questions

FAQ

Comment utiliser l’API Xiaohongshu (RED) Homepage Categories ?

Envoyez une requête POST à https://api.sandbase.ai/v1/api/xiaohongshu/web-v3/homefeed-categories avec votre clé API SandBase dans l’en-tête Authorization (Bearer) et les paramètres dans un corps JSON. Vous pouvez aussi l’essayer dans le Playground sur cette page sans écrire de code.

Combien coûte l’API Xiaohongshu (RED) Homepage Categories ?

$0.01 par appel, facturé depuis votre solde SandBase. Vous ne payez que les appels que vous effectuez ; aucun abonnement.

Quels paramètres l’API Xiaohongshu (RED) Homepage Categories accepte-t-elle ?

Xiaohongshu (RED) Homepage Categories n’accepte aucun paramètre d’entrée ; envoyez un corps JSON vide.

Que renvoie l’API Xiaohongshu (RED) Homepage Categories ?

Une réponse JSON renvoyée dans la même requête HTTP (synchrone). Le README sur cette page inclut un exemple de réponse.

Ai-je besoin d’un compte développeur ou d’une clé API Xiaohongshu ?

Non. Xiaohongshu (RED) Homepage Categories fonctionne via SandBase, donc une seule clé API SandBase couvre ce point de terminaison ainsi que toutes les autres API et tous les modèles du catalogue. Vous n’avez pas besoin de demander un accès API Xiaohongshu séparément.