imgUrlstringrequerido
Image URL or image reference returned by Image Conversion. Convert external images for the selected search target before searching.
https://api.sandbase.ai/v1/api/1688/search/cross-border-by-imageFind 1688 cross-border products that match an image URL, with translated titles, sorting and sourcing filters such as dropshipping, factory and verified supplier.
PNG, JPEG, WebP o GIF · máximo 20 MiB
Su salida aparecerá aquí
Complete las entradas y luego haga clic en Ejecutar.
Returns a list of 1688 cross-border products that match an image, plus the paging and sort values used for the request. It needs an image URL in imgUrl. You can also set the output language, sort order and sourcing filters.
sales to pick a sourcing candidate.curl -X POST "https://api.sandbase.ai/v1/api/1688/search/cross-border-by-image" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{"imgUrl": "https://cbu01.alicdn.com/img/ibank/O1CN01Zb1jbH1Bs2wE7Uu3W_!!2215541593486-0-cib.jpg"}'
The result is returned in outputs[0].data.
| Name | Type | Required | Description |
|---|---|---|---|
imgUrl | string | Yes | Image URL or image reference returned by Image Conversion. Convert external images for the selected search target before searching. |
freeShipping | boolean | No | Filter for free shipping. |
isFactory | boolean | No | Filter by factory status. |
language | string | No | Output language. |
newArrival | boolean | No | Filter for new products. |
page | integer | No | Page number, starting at 1. |
pageSize | integer | No | Number of items requested per page. The returned count may differ. |
priceEnd | string | No | Maximum price filter in CNY. |
priceStart | string | No | Minimum price filter in CNY. |
sort | string | No | Product sort order. |
supportDropshipping | boolean | No | Filter for support for dropshipping. |
verifiedSupplier | boolean | No | Filter for verified sellers. |
Real response for the request above, trimmed: lists keep their first item and long strings are cut.
{
"filters": {},
"items": [],
"page": 1,
"page_size": 20,
"sort": "default",
"total_count": 0
}
| Field | Meaning |
|---|---|
items[] | List of matching products on the current page. In the sample response it is empty, so no matches were found for that image. |
total_count | Total number of matches reported for the search. The sample response returns 0. |
page | Page number of this result, starting at 1. |
page_size | Number of items requested per page. The number of items actually returned may differ. |
sort | Sort order applied to the results. The sample response shows default. |
filters | Object that holds the filters applied to the search. It is empty when no filters are sent. |
imgUrl is required. Use page and pageSize to move through results.imgUrl accepts an image URL or an image reference returned by Image Conversion. Convert external images before searching.$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/search/cross-border-by-image" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"page": 1,
"sort": "default",
"imgUrl": "https://cbu01.alicdn.com/img/ibank/O1CN01Zb1jbH1Bs2wE7Uu3W_!!2215541593486-0-cib.jpg",
"language": "en",
"pageSize": 20
}'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.
imgUrlstringrequeridoImage URL or image reference returned by Image Conversion. Convert external images for the selected search target before searching.
languagestringOutput language.
Valor predeterminado: "en"
Valores posibles: en, zh, ru, th, pt, es, tr, vi, ja, ko
pageintegerPage number, starting at 1.
Valor predeterminado: 1
pageSizeintegerNumber of items requested per page. The returned count may differ.
Valor predeterminado: 20
sortstringProduct sort order.
Valor predeterminado: "default"
Valores posibles: default, sales, price_up, price_down
priceStartstringMinimum price filter in CNY.
priceEndstringMaximum price filter in CNY.
supportDropshippingbooleanFilter for support for dropshipping.
isFactorybooleanFilter by factory status.
verifiedSupplierbooleanFilter for verified sellers.
freeShippingbooleanFilter for free shipping.
newArrivalbooleanFilter for new products.
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 Cross-border Image SearchEsta 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/search/cross-border-by-image 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: imgUrl (string). Opcionales: language (una de en, zh, ru, th, pt, es, tr, vi, ja, ko), page (integer), pageSize (integer), sort (una de default, sales, price_up, price_down), priceStart (string) y priceEnd (string) y 5 más. 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 Cross-border Image Search 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.