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

Xiaohongshu (RED) Product Recommendations

เอกสาร API
https://api.sandbase.ai/v1/api/xiaohongshu/app-v2/product-recommendations

Returns a list of recommended products based on a specified product SKU ID. Supports region-based filtering and cursor pagination.

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

Playground

อินพุต
Product SKU ID (required), e.g. "669ddd44e05f3700011067ed"
Pagination cursor, leave empty for first request, pass cursor_score value from previous response for next page
Region, default "US"
เอาต์พุตพร้อมใช้งาน

เอาต์พุตของคุณจะแสดงที่นี่

กรอกอินพุตให้ครบ แล้วคลิก Run

API README

Xiaohongshu (RED) Product Recommendations API

Returns a list of recommended products for a given Xiaohongshu (RED) product SKU. Each item has an image, a price, sales tags and a pagination cursor. The only required input is sku_id.

Use cases

  • Show related products next to an item on a shopping comparison page.
  • Collect the price and sales tags of items RED suggests alongside a given product.
  • Track which new items appear in the recommendations for a SKU over time using item_on_shelf_time.
  • Page through the full recommendation list for one SKU to study related products.

Request

curl -X POST "https://api.sandbase.ai/v1/api/xiaohongshu/app-v2/product-recommendations" \
  -H "Authorization: Bearer $SANDBASE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"sku_id": "669ddd44e05f3700011067ed"}'

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

Parameters

NameTypeRequiredDescription
sku_idstringYesProduct SKU ID (required), e.g. "669ddd44e05f3700011067ed"
cursor_scorestringNoPagination cursor, leave empty for first request, pass cursor_score value from previous response for next page
regionstringNoRegion, default "US"

Example response

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

{
  "code": 0,
  "data": {
    "components": [
      {
        "component_data": {
          "component_v_o_list": [
            {
              "card_type": "defaultGoodsComponentVO",
              "data": {
                "base_info": {
                  "buyable": true,
                  "display_lines": 0,
                  "distributor_sub": false,
                  "has_explain": false,
                  "image": {
                    "height": 4032,
                    "url": "https://mall-i10.xhscdn.com/arkgoods/1040g3no31p1407j3i60g5p3mul0k3qndsireqh8?im…",
                    "width": 3024
                  },
                  "in_curation": false,
                  "item_id": "691c17cfccb9e00001b25114",
                  "item_on_shelf_time": 1763448869
                },
                "detail_preload": "{\"type\":\"vision\",\"goods_detail_type\":null,\"original\":null,\"vision\":{\"ver\":\"1.0\",…",
                "empty": false,
                "image_card_display": {},
                "marketing_info": {
                  "price_info": {
                    "expected_price": {
                      "currency": "$",
                      "price": 5.89,
                      "price_str": "$5.89",
                      "price_type": 0
                    }
                  }
                },
                "subscribe_info": {
                  "status": 0
                },
                "tag_strategy_map": {
                  "after_price": [
                    {
                      "able_popup": false,
                      "content": "1533 sold",
                      "tag_content": {
                        "content": "1533 sold"
                      },
                      "tag_content_list": [
                        {
                          "content": "1533 sold"
                        }
                      ],
                      "tag_ext_info": {
                        "sold": "1533"
                      },
                      "tag_type": 1,
                      "type": "sold"
                    }
                  ],
                  "behavior": [
                    {
                      "able_popup": false,
                      "content": "6k added to cart",
                      "style_info": {
                        "cornerRadius": "2",
                        "fontColor": "#000000",
                        "fontColorRgba": "rgba(0, 0, 0, 0.45)",
                        "fontSize": "12",
                        "fontTransparency": "0.45",
                        "frameColor": "#000000",
                        "frameColorRgba": "rgba(0, 0, 0, 0.20)",
                        "frameTransparency": "0.2"
                      },
                      "tag_content": {
                        "content": "6k added to cart",
                        "cornerRadius": "2",
                        "fontColor": "#000000",
                        "fontColorRgba": "rgba(0, 0, 0, 0.45)",
                        "fontSize": "12",
                        "fontTransparency": "0.45",
                        "frameColor": "#000000",
                        "frameColorRgba": "rgba(0, 0, 0, 0.20)"
                      },
                      "tag_content_list": [
                        {
                          "content": "6k added to cart",
                          "cornerRadius": "2",
                          "fontColor": "#000000",
                          "fontColorRgba": "rgba(0, 0, 0, 0.45)",
                          "fontSize": "12",
                          "fontTransparency": "0.45",
                          "frameColor": "#000000",
                          "frameColorRgba": "rgba(0, 0, 0, 0.20)"
                        }
                      ],
                      "tag_type": 1,
                      "type": "add_cart_people_threshold"
                    }
                  ],
                  "upon_title": [
                    {
                      "able_popup": false,
                      "content": "“确实好用,洗了两次头感觉油的没以前那么快了,味道也很好闻,客服回应很快会帮忙备注”",
                      "style_info": {
                        "fontColor": "#9F6A37",
                        "fontColorDark": "#BFA177",
                        "fontColorDarkRgba": "rgba(191, 161, 119, 1)",
                        "fontColorRgba": "rgba(159, 106, 55, 1)",
                        "fontDarkTransparency": "1.0",
                        "fontSize": "12.0",
                        "fontTransparency": "1.0"
                      },
                      "tag_content": {
                        "content": "“确实好用,洗了两次头感觉油的没以前那么快了,味道也很好闻,客服回应很快会帮忙备注”",
                        "fontColor": "#9F6A37",
                        "fontColorDark": "#BFA177",
                        "fontColorDarkRgba": "rgba(191, 161, 119, 1)",
                        "fontColorRgba": "rgba(159, 106, 55, 1)",
                        "fontDarkTransparency": 1,
                        "fontSize": 12,
                        "fontTransparency": 1
                      },
                      "tag_content_list": [
                        {
                          "content": "“确实好用,洗了两次头感觉油的没以前那么快了,味道也很好闻,客服回应很快会帮忙备注”",
                          "fontColor": "#9F6A37",
                          "fontColorDark": "#BFA177",
                          "fontColorDarkRgba": "rgba(191, 161, 119, 1)",
                          "fontColorRgba": "rgba(159, 106, 55, 1)",
                          "fontDarkTransparency": 1,
                          "fontSize": 12,
                          "fontTransparency": 1
                        }
                      ],
                      "tag_ext_info": {
                        "commentId": "572376817738793668",
                        "reviewerAvatar": "https://sns-avatar-qc.xhscdn.com/avatar/62580edcd24df9e45cc36aaa.jpg?imageView2/…"
                      },
                      "tag_type": 1,
                      "type": "positive_review_with_profile"
                    }
                  ]
                },
                "track": {
                  "cursor_score": 1793692009,
                  "model_type": "sku",
                  "track_id": "dssmu2i_dssm@52f30abc-2654-400a-b238-ca79a07febc8"
                }
              },
              "empty": false
            }
          ],
          "empty": false,
          "extra_info": {
            "title": "You may also like"
          },
          "general_param": "{\"biz_name\":\"goods_detail\",\"cursor_score\":\"\",\"is_pull_down\":false,\"region\":\"US\",…",
          "has_more": true,
          "total": 0
        },
        "component_name": "DefaultMixCardComponentV2"
      }
    ],
    "result": {
      "success": true
    }
  },
  "debug_id": "663a80bf",
  "debug_info": "gAAAAABq6ZFqoJ2G_JKLzuCuRBvUzFLdBLhe4f3FG8VNAHNQaDMVjp7RVtDWcxwHHMsXR-rAsPUfqkcg…",
  "msg": "ok",
  "success": true
}

Response fields

FieldMeaning
data.components[].component_data.component_v_o_list[]The list of recommended product cards. Each entry is one product.
data.components[].component_data.component_v_o_list[].data.base_info.item_idID of the recommended product.
data.components[].component_data.component_v_o_list[].data.base_info.image.urlProduct image URL. width and height sit next to it in the same object.
data.components[].component_data.component_v_o_list[].data.base_info.buyableWhether the product can be bought.
data.components[].component_data.component_v_o_list[].data.base_info.item_on_shelf_timeUnix timestamp in seconds for when the item went on shelf.
data.components[].component_data.component_v_o_list[].data.marketing_info.price_info.expected_price.price / price_str / currencyPrice as a number, as a display string such as $5.89, and the currency symbol.
data.components[].component_data.component_v_o_list[].data.tag_strategy_map.after_price[].contentSales text shown after the price, such as 1533 sold or 5005 sold by shop. The type field names the tag kind, for example sold or seller_sales.
data.components[].component_data.component_v_o_list[].data.tag_strategy_map.upon_title[].contentReview quote shown above the title on some items. It can be in Chinese.
data.components[].component_data.component_v_o_list[].data.track.cursor_scoreCursor value for this item. Use the value from the last item to request the next page.
data.components[].component_data.has_moreShows whether more recommendations are available.

Notes

  • Pass the last item's track.cursor_score as cursor_score to get the next page. Leave cursor_score empty on the first request.
  • has_more is true when another page exists.
  • region defaults to US. Prices in the sample response are in $.
  • Call Xiaohongshu (RED) Product Detail to look up a recommended product, or Xiaohongshu (RED) Product Reviews for its reviews.

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) Product Recommendations API ได้อย่างไร?

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

Xiaohongshu (RED) Product Recommendations API ราคาเท่าไร?

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

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

ที่ต้องระบุ: sku_id (string). ตัวเลือก: cursor_score (string) และ region (string). ตาราง Parameters และ Playground ในหน้านี้แสดงทุกฟิลด์

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

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

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

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