Sand AISand AI MAGI-2MAGI-2 jest teraz na SandBase: wideo 1080p z natywnym dźwiękiemWypróbuj teraz

Xiaohongshu (RED) Homepage Categories

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

Cena
$0.01USD / wywołanie
Metoda
POST
Odpowiedź
JSON
Parametry
0 wymaganych · 0 opcjonalnych

Playground

Wejście
Brak dostępnego schematu wejścia
WyjściePrzykład
Odpowiedźoutputs · 507 B · 28 wierszy
[
  {
    "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
    }
  }
]

Przykłady

Wybierz przykład, aby wczytać jego dane wejściowe i wynik do playgroundu.

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

Odkryj więcej

Powiązane APIs

Wszystkie APIs
APICenaOdpowiedź
Xiaohongshu$0.01 za wywołanieJSON
Xiaohongshu$0.01 za wywołanieJSON
Xiaohongshu$0.01 za wywołanieJSON
Xiaohongshu$0.01 za wywołanieJSON
Xiaohongshu$0.01 za wywołanieJSON
Xiaohongshu$0.01 za wywołanieJSON

Przewodniki:Best Xiaohongshu API in 2026: Pricing Compared

Pytania

FAQ

Jak używać API Xiaohongshu (RED) Homepage Categories?

Wyślij żądanie POST do https://api.sandbase.ai/v1/api/xiaohongshu/web-v3/homefeed-categories z kluczem API SandBase w nagłówku Authorization (Bearer) oraz parametrami w treści JSON. Możesz też wypróbować je w Playground na tej stronie bez pisania kodu.

Ile kosztuje API Xiaohongshu (RED) Homepage Categories?

$0.01 za wywołanie, rozliczane z salda SandBase. Płacisz tylko za wykonane wywołania; nie ma subskrypcji.

Jakie parametry przyjmuje API Xiaohongshu (RED) Homepage Categories?

Xiaohongshu (RED) Homepage Categories nie przyjmuje żadnych parametrów wejściowych; wyślij pustą treść JSON.

Co zwraca API Xiaohongshu (RED) Homepage Categories?

Odpowiedź JSON zwrócona w tym samym żądaniu HTTP (synchronicznie). README na tej stronie zawiera przykładową odpowiedź.

Czy potrzebuję konta deweloperskiego Xiaohongshu lub klucza API?

Nie. Xiaohongshu (RED) Homepage Categories działa przez SandBase, więc jeden klucz API SandBase obejmuje ten endpoint i każde inne API oraz model w katalogu. Nie musisz osobno ubiegać się o dostęp do API Xiaohongshu.