shopUrlstring
1688 shop homepage URL. Supply shopUrl or memberId.
https://api.sandbase.ai/v1/api/1688/shop/infoGet 1688 shop information by shop URL or seller member ID: company, location, ratings and business type.
เอาต์พุตของคุณจะแสดงที่นี่
กรอกอินพุตให้ครบ แล้วคลิก Run
This API returns profile data for a 1688 shop, including company name, location, service ratings and business type flags. It needs either a shopUrl (the shop homepage URL) or a memberId (the seller member ID).
is_factory or is_super_factory when you build a supplier list.member_id to a company_id and company name to match records in your own database.curl -X POST "https://api.sandbase.ai/v1/api/1688/shop/info" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{"memberId": "b2b-3945631662b7581"}'
The result is returned in outputs[0].data.
| Name | Type | Required | Description |
|---|---|---|---|
memberId | string | No | Seller member ID. Supply memberId or shopUrl. |
shopUrl | string | No | 1688 shop homepage URL. Supply shopUrl or memberId. |
Real response for the request above, trimmed: lists keep their first item and long strings are cut.
{
"chat_url": "",
"company_id": "36968811",
"company_name": "广州贝利塑料制品有限公司",
"contact_info": {},
"favorite_count": "295",
"is_factory": false,
"is_flagship_shop": false,
"is_industry_brand": false,
"is_super_factory": false,
"is_tp": true,
"location": {
"city": "广州市",
"province": "广东省",
"street": ""
},
"location_str": "广东省 广州市"
}
| Field | Meaning |
|---|---|
company_name / shop_name | Registered company name and shop name. Both hold the same value in this response. |
company_id / member_id | Identifiers for the company and the seller. member_id matches the value you can send as memberId. |
location.province / location.city / location.street | Province, city and street of the seller. street can be an empty string. |
location_str | Province and city joined in one string, ready to display. |
shop_ratings[].title | Name of the rating category, shown in Chinese. |
shop_ratings[].score | Score for that category, returned as a string such as 5.0. |
shop_ratings[].type | Machine-readable rating code, such as purchase_consultation, logistics or dispute_resolution. |
is_factory / is_super_factory / is_flagship_shop / is_industry_brand | Boolean flags for the shop's business type and status. |
is_tp / tp_year | is_tp flags a TP shop. tp_year is a string with a number of years, 9 in this response. |
favorite_count | Number of favorites for the shop, returned as a string. |
shopUrl or memberId. The example uses memberId with a value like b2b-3945631662b7581.chat_url, shop_logo, shop_url and contact_info. seller_id can be null.favorite_count, company_id and tp_year are returned as strings.$0.014286 per successful call. Failed calls are not charged. It is included in the daily free quota of each organization.
เริ่มสร้าง
เอ็นด์พอยต์ของ Platform API ที่มีการยืนยันตัวตนและการติดตามการใช้งานแบบรวมศูนย์
curl -X POST "https://api.sandbase.ai/v1/api/1688/shop/info" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"memberId": "b2b-3945631662b7581"
}'ตั้งค่า SandBase API key ของคุณในสภาพแวดล้อมฝั่งเซิร์ฟเวอร์ คำขอจะใช้การยืนยันตัวตนแบบ Bearer
export SANDBASE_API_KEY="YOUR_API_KEY"เก็บ key ไว้บนเซิร์ฟเวอร์ อย่าเปิดเผยในโค้ดฝั่งเบราว์เซอร์
shopUrlstring1688 shop homepage URL. Supply shopUrl or memberId.
memberIdstringSeller member ID. Supply memberId or shopUrl.
บันทึกตัวอย่างการตอบกลับสำหรับ API นี้; จะไม่มีการส่งคำขอจริงเมื่อเปิดดู
ยังไม่มีการเผยแพร่การตอบกลับที่บันทึกไว้ ให้รัน API ใน Playground เพื่อดูการตอบกลับ
สำรวจเพิ่มเติม
| API | ราคา | การตอบกลับ |
|---|---|---|
1688 Shop InfoAPI นี้ 1688 | $0.014286 ต่อการเรียก | JSON |
1688 | $0.014286 ต่อการเรียก | JSON |
1688 | $0.014286 ต่อการเรียก | JSON |
1688 | $0.014286 ต่อการเรียก | JSON |
1688 | $0.014286 ต่อการเรียก | JSON |
1688 | $0.014286 ต่อการเรียก | JSON |
คำถาม
ส่งคำขอ POST ไปที่ https://api.sandbase.ai/v1/api/1688/shop/info โดยใส่ SandBase API key ของคุณใน Authorization header (Bearer) และส่งพารามิเตอร์เป็น JSON body คุณยังสามารถลองใช้ได้ใน Playground บนหน้านี้โดยไม่ต้องเขียนโค้ด
$0.014286 ต่อครั้ง คิดจากยอดคงเหลือ SandBase ของคุณ คุณจะถูกเรียกเก็บเฉพาะคำขอที่คุณส่งเท่านั้น ไม่มีค่าสมาชิกรายเดือน
ไม่ต้องระบุพารามิเตอร์ ตัวเลือก: shopUrl (string) และ memberId (string). ตาราง Parameters และ Playground ในหน้านี้แสดงทุกฟิลด์
การตอบกลับ JSON ที่ส่งกลับในคำขอ HTTP เดียวกัน (แบบซิงโครนัส) README บนหน้านี้มีตัวอย่างการตอบกลับ
ไม่จำเป็น 1688 Shop Info ทำงานผ่าน SandBase ดังนั้น SandBase API key เดียวครอบคลุม endpoint นี้และทุก API กับโมเดลอื่นในแค็ตตาล็อก คุณไม่ต้องสมัครขอสิทธิ์เข้าถึง 1688 API แยกต่างหาก