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.
Output Anda akan muncul di sini
Lengkapi input, lalu klik 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.
Mulai membangun
Endpoint API platform dengan autentikasi dan pelacakan penggunaan terpadu.
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"
}'Atur SandBase API key Anda di environment server Anda. Permintaan menggunakan autentikasi Bearer.
export SANDBASE_API_KEY="YOUR_API_KEY"Simpan key Anda di server. Jangan tampilkan di kode browser.
shopUrlstring1688 shop homepage URL. Supply shopUrl or memberId.
memberIdstringSeller member ID. Supply memberId or shopUrl.
Contoh respons yang disimpan untuk API ini; tidak ada permintaan langsung yang dibuat saat melihatnya.
Belum ada respons tersimpan yang dipublikasikan. Jalankan API di Playground untuk melihat responsnya.
Jelajahi lebih lanjut
| API | Harga | Respons |
|---|---|---|
1688 Shop InfoAPI ini 1688 | $0.014286 per panggilan | JSON |
1688 | $0.014286 per panggilan | JSON |
1688 | $0.014286 per panggilan | JSON |
1688 | $0.014286 per panggilan | JSON |
1688 | $0.014286 per panggilan | JSON |
1688 | $0.014286 per panggilan | JSON |
Pertanyaan
Kirim permintaan POST ke https://api.sandbase.ai/v1/api/1688/shop/info dengan kunci API SandBase Anda di header Authorization (Bearer) dan parameter sebagai body JSON. Anda juga dapat mencobanya di Playground di halaman ini tanpa menulis kode.
$0.014286 per panggilan, ditagihkan dari saldo SandBase Anda. Anda hanya dikenai biaya untuk panggilan yang Anda lakukan; tidak ada langganan.
Tidak ada parameter yang wajib. Opsional: shopUrl (string) dan memberId (string). Tabel Parameters dan Playground di halaman ini mencantumkan setiap field.
Respons JSON yang dikembalikan dalam permintaan HTTP yang sama (sinkron). README di halaman ini menyertakan contoh respons.
Tidak. 1688 Shop Info berjalan melalui SandBase, jadi satu kunci API SandBase mencakup endpoint ini dan setiap API serta model lain di katalog. Anda tidak perlu mendaftar akses API 1688 secara terpisah.