Sand AISand AI MAGI-2ตอนนี้ MAGI-2 อยู่บน SandBase แล้ว: วิดีโอ 1080p พร้อมเสียงในตัวลองใช้เลย

Xiaohongshu (RED) Homepage Categories

เอกสาร 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.

ราคา
$0.01USD / คำขอ
Method
POST
การตอบกลับ
JSON
พารามิเตอร์
0 จำเป็น · 0 ไม่บังคับ

Playground

อินพุต
ไม่มี schema ของอินพุต
เอาต์พุตตัวอย่าง
การตอบกลับoutputs · 507 B · 28 บรรทัด
[
  {
    "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
    }
  }
]

ตัวอย่าง

เลือกตัวอย่างเพื่อโหลดอินพุตและผลลัพธ์ลงใน playground

API README

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.

สำรวจเพิ่มเติม

APIs ที่เกี่ยวข้อง

APIs ทั้งหมด
APIราคาการตอบกลับ
Xiaohongshu$0.01 ต่อการเรียกJSON
Xiaohongshu$0.01 ต่อการเรียกJSON
Xiaohongshu$0.01 ต่อการเรียกJSON
Xiaohongshu$0.01 ต่อการเรียกJSON
Xiaohongshu$0.01 ต่อการเรียกJSON
Xiaohongshu$0.01 ต่อการเรียกJSON

คู่มือ:Best Xiaohongshu API in 2026: Pricing Compared

คำถาม

คำถามที่พบบ่อย

ฉันจะใช้ Xiaohongshu (RED) Homepage Categories API ได้อย่างไร?

ส่งคำขอ POST ไปที่ https://api.sandbase.ai/v1/api/xiaohongshu/web-v3/homefeed-categories โดยใส่ SandBase API key ของคุณใน Authorization header (Bearer) และส่งพารามิเตอร์เป็น JSON body คุณยังสามารถลองใช้ได้ใน Playground บนหน้านี้โดยไม่ต้องเขียนโค้ด

Xiaohongshu (RED) Homepage Categories API ราคาเท่าไร?

$0.01 ต่อครั้ง คิดจากยอดคงเหลือ SandBase ของคุณ คุณจะถูกเรียกเก็บเฉพาะคำขอที่คุณส่งเท่านั้น ไม่มีค่าสมาชิกรายเดือน

Xiaohongshu (RED) Homepage Categories API รับพารามิเตอร์อะไรบ้าง?

Xiaohongshu (RED) Homepage Categories ไม่รับพารามิเตอร์อินพุต ส่ง JSON body ว่างเปล่า

Xiaohongshu (RED) Homepage Categories API ส่งคืนอะไร?

การตอบกลับ JSON ที่ส่งกลับในคำขอ HTTP เดียวกัน (แบบซิงโครนัส) README บนหน้านี้มีตัวอย่างการตอบกลับ

ฉันจำเป็นต้องมีบัญชีนักพัฒนาหรือ API key ของ Xiaohongshu ไหม?

ไม่จำเป็น Xiaohongshu (RED) Homepage Categories ทำงานผ่าน SandBase ดังนั้น SandBase API key เดียวครอบคลุม endpoint นี้และทุก API กับโมเดลอื่นในแค็ตตาล็อก คุณไม่ต้องสมัครขอสิทธิ์เข้าถึง Xiaohongshu API แยกต่างหาก