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

1688 Shop Categories

เอกสาร API
https://api.sandbase.ai/v1/api/1688/shop/categories

List all product categories of a 1688 shop by shop URL or seller member ID.

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

Playground

อินพุต
1688 shop homepage URL. Supply shopUrl or memberId.
Seller member ID. Supply memberId or shopUrl.
เอาต์พุตพร้อมใช้งาน

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

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

API README

1688 Shop Categories API

Returns the list of product categories that a 1688 shop has set up, with a product count for each category. Send either the shop homepage URL as shopUrl or the seller ID as memberId.

Use cases

  • Map the full catalog structure of a competitor shop on 1688.
  • Find which categories hold the most products in a supplier's shop.
  • Collect category IDs for a shop before you pull the products in each category.
  • Check how a seller groups its products, for example by phone case type.

Request

curl -X POST "https://api.sandbase.ai/v1/api/1688/shop/categories" \
  -H "Authorization: Bearer $SANDBASE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"memberId": "b2b-3945631662b7581"}'

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

Parameters

NameTypeRequiredDescription
memberIdstringNoSeller member ID. Supply memberId or shopUrl.
shopUrlstringNo1688 shop homepage URL. Supply shopUrl or memberId.

Example response

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

{
  "is_custom": true,
  "list": [
    {
      "children": [],
      "count": 16,
      "full_name": "折叠屏转轴保护套",
      "id": 169945812,
      "name": "折叠屏转轴保护套"
    }
  ],
  "member_id": "b2b-3945631662b7581"
}

Response fields

FieldMeaning
member_idThe seller member ID the categories belong to. It matches the memberId you sent.
is_customBoolean flag on the category list. It is true in this response. The key name does not say more, so treat the exact meaning as unconfirmed.
list[]One entry per shop category.
list[].idNumeric ID of the category.
list[].name / list[].full_nameCategory name, and its full name. Both show the same text for these top-level categories.
list[].countNumber of products in the category.
list[].childrenList of sub-categories. It is empty for the categories shown here.

Notes

  • Supply shopUrl or memberId. You only need one of them.
  • Category names are returned in Chinese, as set by the seller.
  • Use 1688 Category Products to list products in a category, and 1688 Category Info for category details.
  • Use 1688 Shop Info to get details about the shop itself.

Pricing

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

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

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

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

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

คำถาม

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

ฉันจะใช้ 1688 Shop Categories API ได้อย่างไร?

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

1688 Shop Categories API ราคาเท่าไร?

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

1688 Shop Categories API รับพารามิเตอร์อะไรบ้าง?

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

1688 Shop Categories API ส่งคืนอะไร?

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

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

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