itemIdstringwajib
1688 product ID.
https://api.sandbase.ai/v1/api/1688/item/description-imagesGet the description images of a 1688 product listing by item ID, for catalog preparation and product research.
Output Anda akan muncul di sini
Lengkapi input, lalu klik Run.
Returns the description images of a 1688 product listing, plus the raw description HTML. It needs one input: the 1688 product ID in itemId.
curl -X POST "https://api.sandbase.ai/v1/api/1688/item/description-images" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{"itemId": "857511694718"}'
The result is returned in outputs[0].data.
| Name | Type | Required | Description |
|---|---|---|---|
itemId | string | Yes | 1688 product ID. |
Real response for the request above, trimmed: lists keep their first item and long strings are cut.
{
"detail_html": "<div id=\"offer-template-0\"></div><div style=\"width: 790.0px;\"><img style=\"displa…",
"detail_imgs": [
"https://cbu01.alicdn.com/img/ibank/O1CN01RgFJeQ2MFztOKMuBj_!!3534549799-0-cib.jp…"
],
"item_id": 857511694718
}
| Field | Meaning |
|---|---|
item_id | The numeric 1688 product ID of the listing. It matches the itemId you sent. |
detail_imgs[] | Image URLs taken from the product description. Each entry is one image link. |
detail_html | The raw HTML of the product description. It contains <img> tags with src links to the description images, plus layout styles. |
itemId as a string. The response returns item_id as a number.detail_imgs when you only need image links. Parse detail_html when you also need the order of the images in the description.$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/item/description-images" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"itemId": "857511694718"
}'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.
itemIdstringwajib1688 product ID.
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 | $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/item/description-images 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.
Wajib: itemId (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 Product Description Images 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.