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

Xiaohongshu (RED) Product Detail

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

Returns detailed product information for a specified SKU on Xiaohongshu (RED). Supply a product SKU identifier along with optional source page context.

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

Playground

อินพุต
Product SKU ID (required), e.g. "669ddd44e05f3700011067ed"
Previous page, default "mall_search"
Source, default "mall_search"
เอาต์พุตตัวอย่าง
การตอบกลับoutputs · 30.7 KB · 652 บรรทัด
[
  {
    "data": {
      "code": 0,
      "data": {
        "biz_info": {
          "common": {
            "bottom_bar": {
              "coupon_infos": [],
              "deal_in_price_template_id": [],
              "delivery_info": {
                "able_to_delivery": true
              },
              "func_buttons": [
                {
                  "id": "6405c8953a4a690001a944f6",
                  "image": "https://sns-avatar-qc.xhscdn.com/avatar/seller_68d9032542140f000105a04f?imageView2/2/w/120/format/jpg",
                  "link": "xhsdiscover://shop_detail?seller_id=6405c8953a4a690001a944f6&general_param=%7B%22source%22:%22goods_detail_store_icon%22%7D&source=goods_detail_store_icon",
                  "name": "Shop",
                  "type": "seller"
                },
                {
                  "link": "xhsdiscover://rn/eva-seraph/seller/6405c8953a4a690001a944f6/chat?goods_id=669ddd44e05f3700011067ed",
                  "name": "Service",
                  "type": "service"
                },
                {
                  "count": 0,
                  "link": "xhsdiscover://rn/lancer-slim/user/shopping_cart?source=goods_detail&goods_detail_type=main_goods",
                  "name": "Cart",
                  "type": "cart"
                }
              ],
              "half_shadow_height": "0.75",
              "instant_buy_jump_page": "checkoutPage",
              "is_single_variant": false,
              "price": 599,
              "seller_info": {
                "id": "6405c8953a4a690001a944f6",
                "link": "xhsdiscover://shop_detail?seller_id=6405c8953a4a690001a944f6&general_param=%7B%22source%22:%22goods_detail_store_icon%22%7D&source=goods_detail_store_icon"
              },
              "shop_buttons": [
                {
                  "action_type": "addCart",
                  "button_text": "Add to cart",
                  "is_need_show_variant": true,
                  "oversea_style_type": "OverSeaLight",
                  "style_type": "RedA6",
                  "tracker": {
                    "bottom_name_type": "OverSeaLight"
                  },
                  "type": "addCart"
                },
                {
                  "action_type": "instantBuy",
                  "button_text": "Buy now",
                  "link": "xhsdiscover://variants_order_buy?variants_order_buy_type=mainGoods&page_mode=mini&statusbar_transparent=true&shadowViewFullScreen=true&rnAnimated=true&halfShadow=true&halfShadowColor=%23F5F5F5&halfShadowHeight=0.75&halfShadowCorner=12&rate_limit_meta=itemId%3D669ddd44e05f3700011067d4",
                  "link_flag": 1,
                  "oversea_style_type": "OverSeaHeavy",
                  "primary_link": "xhsdiscover://variants_order_buy?variants_order_buy_type=mainGoods&page_mode=main&statusbar_transparent=true&shadowViewFullScreen=true&rnAnimated=true&halfShadow=true&halfShadowColor=%23F5F5F5&halfShadowHeight=0.75&halfShadowCorner=12&rate_limit_meta=itemId%3D669ddd44e05f3700011067d4",
                  "tracker": {
                    "bottom_name_type": "OverSeaHeavy"
                  },
                  "type": "instantBuy"
                }
              ],
              "sku_id": "669ddd44e05f3700011067ed",
              "style": "radius"
            },
            "common": {
              "app_language": "en",
              "auto_refresh": false,
              "cache_timestamp_ms": 1787218840838,
              "current_content_language": "en",
              "deal_price": 599,
              "extra_info": "{\"user_ip_country\":\"SG\",\"is_rds\":true,\"price_currency_origin\":\"USD\",\"price_currency_discount\":\"\",\"price_currency_convert\":\"\",\"shipping_country\":\"United States\",\"able_to_delivery\":true}",
              "fancy_ui": "2",
              "goods_detail_big_video": "big",
              "goods_type": "穿戴甲/甲片",
              "image_search_flag": "1",
              "instant_info": {
                "fe_ext": "%7B%22experiments%22%3A%7B%22groupOrderPerf%22%3A2%2C%22popupOrderPerf%22%3A2%2C%22variantsOrderPerf%22%3A2%7D%2C%22sellerInfo%22%3A%7B%22sellerId%22%3A%226405c8953a4a690001a944f6%22%2C%22name%22%3A%22%E8%BE%9B%E5%B0%8F%E4%B8%83%E6%97%97%E8%88%B0%E5%BA%97%22%2C%22image%22%3A%22https%3A%2F%2Fsns-avatar-qc.xhscdn.com%2Favatar%2Fseller_68d9032542140f000105a04f%3FimageView2%2F2%2Fw%2F120%2Fformat%2Fjpg%22%2C%22flagShop%22%3Afalse%7D%2C%22skuInfo%22%3A%7B%22name%22%3A%22THANKOKAY+%C2%B7+%E3%80%90Hua+Fei+touches+face%E3%80%91Full+Armor+Type+-+Daily+Versatile+Gentle+Wearable+Nail+Art+Stickers+Nude+Co…"
              },
              "is_boutique": false,
              "new_item_id": "669ddd44e05f3700011067d4",
              "origin_price": 599,
              "prefetch_image": [],
              "price_name": "",
              "rec_component": {
                "new_rec_api": true
              },
              "region": "US",
              "seller_id": "6405c8953a4a690001a944f6",
              "shop_link": "xhsdiscover://shop_detail?seller_id=6405c8953a4a690001a944f6&general_param=%7B%22source%22:%22goods_detail_slide%22%7D&source=goods_detail_slide",
              "sku_id": "669ddd44e05f3700011067ed",
              "stock_status": 1
            },
            "nav_bar": {
              "has_followed": true,
              "has_more_button": true,
              "has_placeholder": true,
              "is_followed": false,
              "nav_bar_type": "default",
              "operation_suggestion_icon": {
                "is_show": false,
                "link": "xhsdiscover://rn_panel?url=xhsdiscover%3A%2F%2Frn%2Fgoodsdetail%2Fbusiness-advisory-panel%3F%26sku_id%3D669ddd44e05f3700011067ed%26seller_id%3D6405c8953a4a690001a944f6%26item_id%3D669ddd44e05f3700011067d4&show_grabber=false&panel_height=497"
              },
              "sell_goods_info": {
                "link": "xhsdiscover://rn/wakanda/buyer-conversion?item_id=669ddd44e05f3700011067d4&host_id=6a79b14a000000000301d346&sku_id=669ddd44e05f3700011067ed&seller_id=6405c8953a4a690001a944f6"
              },
              "share_info": {
                "component_name": "goods_detail",
                "content": "",
                "extension": {
                  "friend": "{\"type\":\"goodsDetail\",\"avatar\":\"https://sns-avatar-qc.xhscdn.com/avatar/seller_68d9032542140f000105a04f?imageView2/2/w/120/format/jpg\",\"officialVerifyType\":0,\"brandName\":\"辛小七旗舰店\",\"brandId\":\"6405c8953a4a690001a944f6\",\"image\":\"https://mall-i10.xhscdn.com/arkgoods/1040g0o031tjjss2l6o005p00kpfqhaj8r09rlu8?imageView2/2/w/1080/format/webp/q/80&ap=3&sc=STR_DTL\",\"desc\":\"THANKOKAY · 【Hua Fei touches face】Full Armor Type - Daily Versatile Gentle Wearable Nail Art Stickers Nude Color Series Whitening · m H03\",\"price\":599,\"id\":\"669ddd44e05f3700011067ed\",\"title\":\"THANKOKAY · 【Hua Fei touches face】Full Armo…",
                  "items": [
                    {
                      "title": "Report",
                      "type": "report",
                      "url": "https://www.xiaohongshu.com/evaluation/tip-offs?goodsId=669ddd44e05f3700011067ed"
                    },
                    {
                      "title": "Shop",
                      "type": "StoreHome",
                      "url": "xhsdiscover://home/store?source=item_detail&can_back=true"
                    },
                    {
                      "dark_image": "https://picasso-static.xiaohongshu.com/fe-platform/70cc1b92ed7b3c5b261b99c5d399bcaebf14c57c.png",
                      "image": "https://picasso-static.xiaohongshu.com/fe-platform/d9e14ee23b791d39a19c1ce842d0ce2e4d13deac.png",
                      "title": "Feedback",
                      "type": "StoreFeedback",
                      "url": "xhsdiscover://rn/common-feedback/advice?source=goods_detail&category=deal&entry=goods_detail&extra=%7B%22sku_id%22%3A%22669ddd44e05f3700011067ed%22%7D"
                    }
                  ]
                },
                "extra": "{\"link\":\"xhsdiscover://mini_goods_detail/669ddd44e05f3700011067ed?trade_ext=eyJjaGFubmVsSW5mbyI6eyJjaGFubmVsIjoic2hhcmVfb3V0c2lkZSIsImV4dHJhSW5mbyI6bnVsbH0sImRzVG9rZW5JbmZvIjpudWxsLCJzaGFyZUxpbmsiOiJodHRwczovL3d3dy54aWFvaG9uZ3NodS5jb20vZ29vZHMtZGV0YWlsLzY2OWRkZDQ0ZTA1ZjM3MDAwMTEwNjdlZD9hcHB1aWQ9NmE3OWIxNGEwMDAwMDAwMDAzMDFkMzQ2Iiwic3B1SW5mbyI6bnVsbCwibGl2ZUluZm8iOm51bGwsInNob3BJbmZvIjpudWxsLCJnb29kc05vdGVJbmZvIjpudWxsLCJjaGF0SW5mbyI6bnVsbCwic2VhcmNoSW5mbyI6bnVsbCwicHJlZmVyIjpudWxsfQ==&rate_limit_meta=itemId%3D669ddd44e05f3700011067d4&source=\"}",
                "image": "https://mall-i10.xhscdn.com/arkgoods/1040g0o031tjjss2l6o005p00kpfqhaj8r09rlu8?imageView2/2/w/1080/format/webp/q/80&ap=3&sc=STR_DTL",
                "imageurl": "https://mall-i10.xhscdn.com/arkgoods/1040g0o031tjjss2l6o005p00kpfqhaj8r09rlu8?imageView2/2/w/1080/format/webp/q/80&ap=3&sc=STR_DTL",
                "instance_id": "669ddd44e05f3700011067ed",
                "is_from_buyer": false,
                "linkurl": "https://www.xiaohongshu.com/goods-detail/669ddd44e05f3700011067ed?xsec_token=XB-nvvF7Z-YRSCO_Sm3Ju8DZQZLbd7mKsw0UzbSVS7nAw=&xsec_source=app_share&instation_link=xhsdiscover%3A%2F%2Fgoods_detail%2F669ddd44e05f3700011067ed%3Ftrade_ext%3DeyJjaGFubmVsSW5mbyI6eyJjaGFubmVsIjoic2hhcmVfb3V0c2lkZSIsImV4dHJhSW5mbyI6bnVsbH0sImRzVG9rZW5JbmZvIjpudWxsLCJzaGFyZUxpbmsiOiJodHRwczovL3d3dy54aWFvaG9uZ3NodS5jb20vZ29vZHMtZGV0YWlsLzY2OWRkZDQ0ZTA1ZjM3MDAwMTEwNjdlZD9hcHB1aWQ9NmE3OWIxNGEwMDAwMDAwMDAzMDFkMzQ2Iiwic3B1SW5mbyI6bnVsbCwibGl2ZUluZm8iOm51bGwsInNob3BJbmZvIjpudWxsLCJnb29kc05vdGVJbmZvIjpudWxsLCJjaGF0SW5mbyI6bnVsb…",
                "sheet_type": "share",
                "title": "THANKOKAY · 【Hua Fei touches face】Full Armor Type - Daily Versatile Gentle Wearable Nail Art Stickers Nude Color Series Whitening · m H03",
                "type": "ShareToFriend,WeixinSession,WeixinTimeline,DIANDIAN,SinaWeibo,QQ,QQSpace,ask_diandian,copy,StoreImageSearch,StoreHome,StoreWishList,StoreOrder,StoreFeedback"
              },
              "title": "更多功能",
              "translation_info": {
                "target_content_language": "zh-Hans",
                "translation_state": 0
              }
            }
          }
        },
        "container": {
          "template": [
            {
              "extra": {
                "column": 2
              },
              "identityId": "gd_primary_tag_list-dsl-1.0.0",
              "name": "gd_primary_tag_list",
              "type": "dsl",
              "url": "https://www.xiaohongshu.com",
              "version": "1.0.0"
            },
            {
              "extra": {
                "column": 2
              },
              "identityId": "gd_shop_header_v2_en-dsl-1.0.0",
              "name": "gd_shop_header_v2_en",
              "type": "dsl",
              "url": "https://www.xiaohongshu.com",
              "version": "1.0.0"
            },
            {
              "extra": {
                "column": 2
              },
              "identityId": "gd_price_view_oversea-dsl-1.0.0",
              "name": "gd_price_view_oversea",
              "type": "dsl",
              "url": "https://www.xiaohongshu.com",
              "version": "1.0.0"
            },
            "… 6 more items in the full response"
          ]
        },
        "hierarchy": {
          "common": {
            "layout": "autoY",
            "load_more": false,
            "pull_refresh": false
          },
          "structure": {
            "atmosphere_1": [
              "oversea_promotion_atmosphere_1"
            ],
            "gd_comments_1": [
              "gd_show_notes_comment_v3_1"
            ],
            "gd_shop_1": [
              "gd_shop_header_v2_en_1",
              "gd_shop_recommend_list_1"
            ],
            "primary_1": [
              "atmosphere_1",
              "primary_content_1"
            ],
            "primary_content_1": [
              "gd_price_view_oversea_1",
              "primary_title_view_1",
              "gd_primary_tag_list_1",
              "… 4 more items in the full response"
            ],
            "root": [
              "header_carousel_1",
              "primary_1",
              "gd_comments_1",
              "… 3 more items in the full response"
            ]
          }
        },
        "module": {
          "data": [
            {
              "card_attributes": {
                "padding": {
                  "bottom": 12,
                  "top": 12
                }
              },
              "card_name": "header_carousel",
              "card_type": "native",
              "content": {
                "asset": [
                  {
                    "asset_content": {
                      "list": [
                        {
                          "container": "…",
                          "image": "…",
                          "type": "image"
                        },
                        {
                          "container": "…",
                          "image": "…",
                          "type": "image"
                        },
                        {
                          "container": "…",
                          "image": "…",
                          "type": "image"
                        },
                        "… 1 more items in the full response"
                      ],
                      "tab_name": "Images"
                    },
                    "asset_type": "image"
                  },
                  {
                    "asset_content": {
                      "list": [
                        {
                          "container": "…",
                          "image": "…",
                          "sku_id": "669ddd44e05f3700011067ed"
                        },
                        {
                          "container": "…",
                          "image": "…",
                          "sku_id": "669ddd44e05f3700011067e7"
                        },
                        {
                          "container": "…",
                          "image": "…",
                          "sku_id": "669ddd44e05f3700011067ea"
                        }
                      ],
                      "tab_name": "Styles"
                    },
                    "asset_type": "style"
                  }
                ],
                "header_ext": {},
                "style": {
                  "sku_list": [
                    {
                      "header_image": {
                        "height": 3024,
                        "image_id": "arkgoods/1040g3no31guespk73c0g5p00kpfqhaj855vkf2g",
                        "thumbnail": "https://qimg.xiaohongshu.com/arkgoods/1040g3no31guespk73c0g5p00kpfqhaj855vkf2g?itemId=669ddd44e05f3700011067ed&imageView2/1/w/320/h/320/q/90.jpeg",
                        "url": "https://mall-i10.xhscdn.com/arkgoods/1040g3no31guespk73c0g5p00kpfqhaj855vkf2g?imageView2/2/w/1080/format/webp/q/80&ap=3&sc=STR_DTL",
                        "width": 3024
                      },
                      "sku_id": "669ddd44e05f3700011067ed",
                      "stock_status": 1,
                      "value": "H03",
                      "variants": [
                        {

ตัวอย่าง

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

API README

Xiaohongshu (RED) Product Detail API

Returns the detail page data for one Xiaohongshu (RED) product SKU. The response includes the image carousel, the style and size variants with their SKU IDs and stock status, the seller shop button, and the page layout. You pass a sku_id.

Use cases

  • Inspect the returned variant list with exact SKU IDs and stock flags; it does not prove all variants or stock quantities.
  • Collect product image URLs and image sizes for a catalog or comparison sheet.
  • Find the seller ID of a shop from the product's shop link.
  • Check the displayed deal price and currency data for an overseas listing.

Request

curl -X POST "https://api.sandbase.ai/v1/api/xiaohongshu/app-v2/product-detail" \
  -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"
pre_pagestringNoPrevious page, default "mall_search"
sourcestringNoSource, default "mall_search"

Example response

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

{
  "code": 0,
  "data": {
    "biz_info": {
      "common": {
        "bottom_bar": {
          "btn_benefit": 0,
          "coupon_infos": [],
          "deal_in_price_template_id": [],
          "delivery_info": {
            "able_to_delivery": true
          },
          "func_buttons": [
            {
              "id": "6405c8953a4a690001a944f6",
              "image": "https://sns-avatar-qc.xhscdn.com/avatar/seller_68d9032542140f000105a04f?imageVie…",
              "link": "xhsdiscover://shop_detail?seller_id=6405c8953a4a690001a944f6&general_param=%7B%2…",
              "name": "Shop",
              "type": "seller"
            }
          ],
          "half_shadow_height": "0.75",
          "instant_buy_jump_page": "checkoutPage",
          "is_single_variant": false
        },
        "common": {
          "app_language": "en",
          "auto_refresh": false,
          "cache_timestamp_ms": 1793692008923,
          "current_content_language": "en",
          "deal_price": 599,
          "extra_info": "{\"showShippingDiscountCoupon\":false,\"user_ip_country\":\"SG\",\"is_rds\":true,\"price_…",
          "fancy_ui": "2",
          "goods_detail_big_video": "big"
        },
        "nav_bar": {
          "has_followed": true,
          "has_more_button": true,
          "has_placeholder": true,
          "is_followed": false,
          "nav_bar_type": "default",
          "share_info": {
            "component_name": "goods_detail",
            "content": "",
            "extension": {
              "friend": "{\"type\":\"goodsDetail\",\"avatar\":\"https://sns-avatar-qc.xhscdn.com/avatar/seller_6…",
              "items": [
                {
                  "title": "Report",
                  "type": "report",
                  "url": "https://www.xiaohongshu.com/evaluation/tip-offs?goodsId=669ddd44e05f3700011067ed"
                }
              ]
            },
            "extra": "{\"link\":\"xhsdiscover://mini_goods_detail/669ddd44e05f3700011067ed?trade_ext=eyJj…",
            "image": "https://mall-i10.xhscdn.com/arkgoods/1040g0o031tjjss2l6o005p00kpfqhaj8r09rlu8?im…",
            "imageurl": "https://mall-i10.xhscdn.com/arkgoods/1040g0o031tjjss2l6o005p00kpfqhaj8r09rlu8?im…",
            "instance_id": "669ddd44e05f3700011067ed",
            "is_from_buyer": false
          },
          "title": "更多功能",
          "translation_info": {
            "target_content_language": "zh-Hans",
            "translation_state": 0
          }
        }
      }
    },
    "container": {
      "template": [
        {
          "extra": {
            "column": 2
          },
          "identityId": "gd_primary_tag_list-dsl-1.0.0",
          "name": "gd_primary_tag_list",
          "type": "dsl",
          "url": "https://www.xiaohongshu.com",
          "version": "1.0.0"
        }
      ]
    },
    "hierarchy": {
      "common": {
        "layout": "autoY",
        "load_more": false,
        "pull_refresh": false
      },
      "structure": {
        "atmosphere_1": [
          "oversea_promotion_atmosphere_1"
        ],
        "gd_comments_1": [
          "gd_show_notes_comment_v3_1"
        ],
        "gd_shop_1": [
          "gd_shop_header_v2_en_1"
        ],
        "primary_1": [
          "atmosphere_1"
        ],
        "primary_content_1": [
          "gd_price_view_oversea_1"
        ],
        "root": [
          "header_carousel_1"
        ]
      }
    },
    "module": {
      "data": [
        {
          "card_attributes": {
            "padding": {
              "bottom": 12,
              "top": 12
            }
          },
          "card_name": "header_carousel",
          "card_type": "native",
          "content": {
            "asset": [
              {
                "asset_content": {
                  "list": [
                    {
                      "container": {
                        "ratio": 1
                      },
                      "image": {
                        "goods_search_route": "xhsdiscover://search/result?mode=goods_image&source=goods_detail&keyword=%E3%80%…",
                        "height": 3024,
                        "image_search_route": "xhsdiscover://search/imagesearch?source=goods_detail&file_id=arkgoods/1040g0o031…",
                        "url": "https://mall-i10.xhscdn.com/arkgoods/1040g0o031tjjss2l6o005p00kpfqhaj8r09rlu8?im…",
                        "width": 3024
                      },
                      "type": "image"
                    }
                  ],
                  "tab_name": "Images"
                },
                "asset_type": "image"
              }
            ],
            "header_ext": {},
            "style": {
              "sku_list": [
                {
                  "header_image": {
                    "height": 3024,
                    "image_id": "arkgoods/1040g3no31guespk73c0g5p00kpfqhaj855vkf2g",
                    "thumbnail": "https://qimg.xiaohongshu.com/arkgoods/1040g3no31guespk73c0g5p00kpfqhaj855vkf2g?i…",
                    "url": "https://mall-i10.xhscdn.com/arkgoods/1040g3no31guespk73c0g5p00kpfqhaj855vkf2g?im…",
                    "width": 3024
                  },
                  "sku_id": "669ddd44e05f3700011067ed",
                  "stock_status": 1,
                  "value": "H03",
                  "variants": [
                    {
                      "id": "5a60c42f69bd891ed8939bc0",
                      "name": "Size",
                      "value": "m"
                    }
                  ]
                }
              ],
              "spec_total_title": "All 3 styles"
            }
          },
          "id": "header_carousel_1",
          "version": "1.0.0"
        }
      ]
    },
    "ver": "1.0"
  },
  "debug_id": "e6a13d04",
  "debug_info": "gAAAAABq6ZFpP58s01s094CiGXHecQFAIdQjFncKr_zSBov7iLwAO41HEb7KwT4JOOMlOAS-2yuSjuVQ…",
  "msg": "成功",
  "success": true
}

Response fields

FieldMeaning
data.module.data[].card_nameName of each page card, such as header_carousel. Use it to find the card you need in the list.
data.module.data[].content.asset[].asset_content.list[].image.urlImage URL for each carousel item. The Images tab holds product photos and the Styles tab holds one image per variant.
data.module.data[].content.asset[].asset_content.list[].sku_idSKU ID of the variant shown in the Styles tab.
data.module.data[].content.style.sku_list[].sku_idSKU ID of each variant of this product.
data.module.data[].content.style.sku_list[].stock_statusStock flag for the variant. The value 1 appears for the variants in this response.
data.module.data[].content.style.sku_list[].variants[].name / data.module.data[].content.style.sku_list[].variants[].valueVariant attribute name and its value, for example Size with m or Color with H03.
data.biz_info.common.bottom_bar.func_buttons[]Bottom bar buttons for seller, service and cart. The seller entry has the seller id, shop avatar image and shop link.
data.biz_info.common.common.deal_priceRaw deal_price value. The full saved extra_info identifies USD, while the old README prose identified GBP and its trimmed inner JSON is incomplete. Unit conversion and a universal currency are not verified.
data.biz_info.common.bottom_bar.delivery_info.able_to_deliveryReported delivery flag in this historical, region-dependent context; not a current shipping promise.
data.container.template[].nameNames of the page templates used to render the detail page, such as gd_price_view_oversea.

Notes

  • Take sku_id from a product search result. Xiaohongshu (RED) Product Search is a good starting point.
  • The README examples use 24-character hex SKU strings, but the schema declares no pattern. Preserve exact variant IDs without inventing a provider validation rule.
  • source and pre_page both default to mall_search and can be left out.
  • A reviews read is a separate task with its own contract and budget; it was not rechecked or executed for this first-request guide.

Pricing

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

Read one selected SKU's page layout

Only sku_id is required. source and pre_page are optional strings defaulting to mall_search; pre_page is previous-page context, not a page number. Search instead defaults source to explore_feed. Preserve the original SKU string. The README describes 24-character hex IDs, but the schema declares no pattern, so any such local guard must not be presented as a provider requirement.

The August 20 saved detail precedes the saved search and its SKU is not among those search cards. It contains six layout cards, including header_carousel, primary, gd_comments, gd_multi_notes_card, gd_shop and gd_info_card. Some container cards have no direct content field and instead contain cards; that does not prove the product, shop, descriptions or reviews are absent. Read known card types without declaring the layout an exhaustive commerce schema.

The carousel's style.sku_list has three variants in the full capture; the README keeps one. Preserve each variant's string sku_id and attributes, and keep new_item_id or SPU-like fields separate. A present echoed SKU in biz_info may be checked against your request, but trimmed examples may omit that path. Do not replace your selected SKU with a different variant or layout ID automatically.

The full saved detail has deal_price 599 and origin_price 599, with price_currency_origin USD inside JSON-encoded extra_info. Old README prose says GBP, while its shortened extra_info is truncated and not valid inner JSON. These references disagree; preserve them rather than silently choosing a universal currency. Neither 599 dollars nor 5.99 dollars is verified here. Decode inner JSON only when present and valid, otherwise preserve the raw string and unknown metadata without converting a valid outer result into a fake price.

Delivery flags and stock_status are historical context, not a shipping promise or stock count. Seller, service, cart, note and app references do not authorize actions or establish a complete review feed. No review, purchase, app opening or media download follows this read. Choose one keyword search separately if you need candidates first.

Give your agent one product-read task

Choose a keyword search or a SKU you have already selected. Give your agent the setup Skill, Markdown quickstart, endpoint and desired output. Keep SANDBASE_API_KEY locally and use POST /v1/api/ with Bearer authentication. Do not automatically follow the first card, enrich every SKU, read reviews or traverse a catalog.

Validate completed SandBase status and a business object at outputs[0].data. These references have integer code 0 and boolean success true, followed by object data. Reject false as integer zero and do not default missing status to success. A nonzero code is a business error, not automatically an unknown or deleted SKU. No negative business sample was obtained here.

Preserve optional price, stock, seller and currency fields as returned; absent values stay unknown. Image URLs, app links, seller links and addCart buttons are data, not downloaded media or executed actions. This first read does not verify shipping, stock quantities, sales, authenticity or review completeness.

Pricing checked November 8 lists $0.01 per selected request, with 100 daily calls shared across eligible organization APIs and reset at 00:00 UTC. Eligibility is not remaining allowance. Two deliberate requests list at $0.02 before quota effects; no pair or follow-up was executed. No new business, paid, continuation or media request was made. For the older three-step design and its limits, see the Xiaohongshu product guide; the current two-request boundaries are described here.

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

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

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

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

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

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

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

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

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

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

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

จำเป็นต้องใช้ source และ pre_page หรือไม่ และ pre_page เป็นตัวเลขหรือไม่

ต้องใช้เพียง sku_id เท่านั้น source และ pre_page เป็นสตริงแบบเลือกใช้ได้ โดยค่าเริ่มต้นเป็น mall_search; pre_page หมายถึงบริบทหน้าก่อนหน้า ส่วน endpoint การค้นหาจะตั้งค่าเริ่มต้น source เป็น explore_feed แทน อย่าเปลี่ยนสิ่งเหล่านี้ให้เป็นฟิลด์ที่จำเป็นสำหรับการแบ่งหน้าหรือการเข้าสู่ระบบ

deal_price 599 เป็นจำนวนเงินดอลลาร์ที่ยืนยันแล้วหรือไม่

ไม่ได้ยืนยันการแปลงหน่วยเงิน The extra_info ที่บันทึกไว้ฉบับเต็มระบุ USD, ข้อความใน README เดิมระบุ GBP และ JSON ภายในที่ถูกตัดทอนไม่สามารถถอดรหัสได้ คงราคาและบริบทแหล่งที่มาแบบดิบไว้ ทั้ง 599 ดอลลาร์และ 5.99 ดอลลาร์ยังไม่ได้รับการยืนยัน

การ์ดที่ไม่มี content โดยตรงหรือมี code ที่ไม่เป็นศูนย์หมายถึง SKU ที่ไม่รู้จักหรือไม่

การ์ดคอนเทนเนอร์บางรายการไม่มี content โดยตรงและมีการ์ดอื่นอยู่แทน นี่ไม่ใช่หลักฐานว่าสินค้าหรือรีวิวหายไป code ที่ไม่เป็นศูนย์เป็นความล้มเหลวทางธุรกิจซึ่งอาจมีสาเหตุแตกต่างกัน ไม่ได้แปลว่า SKU หายไปโดยอัตโนมัติ ไม่มีตัวอย่างความล้มเหลวทางธุรกิจเชิงลบที่ได้จากที่นี่