itemIdstringrequerido
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.
Su salida aparecerá aquí
Complete las entradas y luego haga clic en Ejecutar.
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.
Empiece a construir
Endpoint de la API de la plataforma con autenticación unificada y seguimiento de uso.
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"
}'Configure su clave de API de SandBase en el entorno de su servidor. Las solicitudes usan autenticación Bearer.
export SANDBASE_API_KEY="YOUR_API_KEY"Conserve su clave en el servidor. No la exponga en código del navegador.
itemIdstringrequerido1688 product ID.
Respuesta de ejemplo guardada para esta API; no se realiza ninguna solicitud en vivo al verla.
No se ha publicado ninguna respuesta guardada. Ejecute la API en Playground para inspeccionar su respuesta.
Explorar más
| API | Precio | Respuesta |
|---|---|---|
1688 Product Description ImagesEsta API 1688 | $0.014286 por llamada | JSON |
1688 | $0.014286 por llamada | JSON |
1688 | $0.014286 por llamada | JSON |
1688 | $0.014286 por llamada | JSON |
1688 | $0.014286 por llamada | JSON |
1688 | $0.014286 por llamada | JSON |
Preguntas
Envía una solicitud POST a https://api.sandbase.ai/v1/api/1688/item/description-images con tu clave API de SandBase en el encabezado Authorization (Bearer) y los parámetros como un cuerpo JSON. También puedes probarlo en el Playground de esta página sin escribir código.
$0.014286 por llamada, facturado desde tu saldo de SandBase. Solo se te cobra por las llamadas que haces; no hay suscripción.
Requeridos: itemId (string). La tabla de Parámetros y el Playground de esta página enumeran todos los campos.
Una respuesta JSON devuelta en la misma solicitud HTTP (sincrónica). El README de esta página incluye una respuesta de ejemplo.
No. 1688 Product Description Images funciona a través de SandBase, así que una sola clave API de SandBase cubre este endpoint y todas las demás APIs y modelos del catálogo. No necesitas solicitar acceso a la API de 1688 por separado.