imgUrlstringआवश्यक
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, या GIF · अधिकतम 20 MiB
आपका आउटपुट यहाँ दिखाई देगा
इनपुट पूरा करें, फिर Run पर क्लिक करें।
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.
बिल्डिंग शुरू करें
एकीकृत authentication और usage tracking के साथ Platform API endpoint.
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
}'अपने SandBase API key को अपने सर्वर environment में सेट करें। Requests Bearer authentication का उपयोग करती हैं।
export SANDBASE_API_KEY="YOUR_API_KEY"अपना key सर्वर पर रखें। इसे browser code में expose न करें।
imgUrlstringआवश्यकImage URL or image reference returned by Image Conversion. Convert external images for the selected search target before searching.
languagestringOutput language.
डिफ़ॉल्ट: "en"
संभावित मान: en, zh, ru, th, pt, es, tr, vi, ja, ko
pageintegerPage number, starting at 1.
डिफ़ॉल्ट: 1
pageSizeintegerNumber of items requested per page. The returned count may differ.
डिफ़ॉल्ट: 20
sortstringProduct sort order.
डिफ़ॉल्ट: "default"
संभावित मान: 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.
इस API के लिए सेव किया गया example response; इसे देखते समय कोई live request नहीं की जाती।
कोई सेव response प्रकाशित नहीं किया गया है। इसका response देखने के लिए Playground में API चलाएँ।
और जानें
| API | कीमत | प्रतिक्रिया |
|---|---|---|
1688 | $0.014286 प्रति कॉल | JSON |
1688 | $0.014286 प्रति कॉल | JSON |
1688 | $0.014286 प्रति कॉल | JSON |
1688 | $0.014286 प्रति कॉल | JSON |
1688 | $0.014286 प्रति कॉल | JSON |
1688 | $0.014286 प्रति कॉल | JSON |
प्रश्न
https://api.sandbase.ai/v1/api/1688/search/cross-border-by-image पर Authorization header (Bearer) में अपनी SandBase API key और parameters को JSON body के रूप में भेजें। आप इस पेज के Playground में बिना code लिखे भी इसे आज़मा सकते हैं।
$0.014286 प्रति call, आपकी SandBase balance से बिल किया जाएगा। आपसे केवल आपके किए गए calls के लिए शुल्क लिया जाता है; कोई subscription नहीं है।
आवश्यक: imgUrl (string)। वैकल्पिक: language (en, zh, ru, th, pt, es, tr, vi, ja, ko में से एक), page (integer), pageSize (integer), sort (default, sales, price_up, price_down में से एक), priceStart (string) और priceEnd (string) और 5 और। Parameters table और इस पेज का Playground हर field सूचीबद्ध करते हैं।
एक JSON response जो उसी HTTP request में लौटाया जाता है (synchronous)। इस पेज का README एक sample response शामिल करता है।
नहीं। 1688 Cross-border Image Search SandBase के माध्यम से चलता है, इसलिए एक SandBase API key इस endpoint और catalog के हर अन्य API और model को कवर करती है। आपको अलग से 1688 API access के लिए आवेदन करने की आवश्यकता नहीं है।