1688 Image Conversion API (V1)
Converts an image URL or JPEG Base64 input into an image reference for a selected 1688 image search endpoint. The sample response includes URLs. Use it in visual discovery or a media workflow. Use the results to organize e-commerce research and compare the relevant product, shop, or category records.
- Selected price
- $0.015385 / callPublished pricing
- Sellers / APIs
- 1 / 1
- Requests · 30d
- —Loading...
- Success rate · 30d
- —Loading...
1688 Image Conversion API (V1)
Prepare your request, then continue with your agent.
Selected price
$0.015385 / call
- Provider
- Pricing
On this page
Playground
Run sends a real API request. Charges follow the published API contract.
Response structure
codeintegerdataobjectimage_urlstring
messagenullopenany_costintegerrecordTimestringrequestIdstringrequestParamsobjectbodyobjectsearchApiEndpointstringurlstring
queryobject
// Inferred from response examples. Fields are optional and other fields may be returned.
export type ApiResponse = {
code?: number;
data?: {
image_url?: string;
};
message?: null;
openany_cost?: number;
recordTime?: string;
requestId?: string;
requestParams?: {
body?: {
searchApiEndpoint?: string;
url?: string;
};
query?: Record<string, unknown>;
};
};Sellers
| Seller | Pricing | Requests · 30d | Performance | Access |
|---|---|---|---|---|
justoneapiCurrent 1688 Image Conversion API (V1) · POST · View API reference | $0.015385 / call | — | —successP50— |
- Unit price
- $0.015385
Statistics use persisted gateway logs from the last 30 days up to now, including today.
Success rate = successful requests / all requests;
P50 = median latency of successful requests.
Prices reflect the published API contract. Contract revision: 3. Price update time: not supplied.
Total $1.5385
API
- Method
- POST
- Endpoint
https://api.openany.si/v1/agent-apis/justoneapi/api/1688/convert-image/v1- Content type
- application/json
- Authentication
Authorization: Bearer $OPENANY_API_KEY
curl \
'https://api.openany.si/v1/agent-apis/justoneapi/api/1688/convert-image/v1' \
-X POST \
-H "Authorization: Bearer $OPENANY_API_KEY" \
-H 'Content-Type: application/json' \
--data-raw '{
"searchApiEndpoint": "cross_border_v2",
"url": "https://cbu01.alicdn.com/img/ibank/O1CN01SZaEj31svjKqlsglD_!!2207466555829-0-cib.jpg"
}'Input parameters
Fields in this listing; additional options and input encoding can vary by provider.
| Parameter | Location | Type | Required | Description |
|---|---|---|---|---|
imgBase64 | JSON request bodybody | string | No | JPEG image encoded as Base64 without a data URI prefix; decoded size must not exceed 100 KB. maxLength: 136536 · pattern: ^/9j/([A-Za-z0-9+/]{4})*([A-Za-z0-9+/]{2}(==)?|[A-Za-z0-9+/]{3}=?)?$ |
searchApiEndpoint | JSON request bodybody | string | No | Image search target for the converted reference. enum: "standard", "cross_border_v1", "cross_border_v2" |
url | JSON request bodybody | string | No | Image URL. Supply either url or imgBase64. minLength: 1 |
Required markers inside a nested object or variant apply when that object or variant is used.
Sample response
Third-party response reference · Documented HTTP 200 Historical third-party reference. It may differ from the current provider response; verify the original contract before use.
{
"code": 0,
"data": {
"image_url": "/search/imgextra5/1286908880505784607.jpg"
},
"message": null,
"openany_cost": 15385,
"recordTime": "2026-11-06T21:15:14.510561627",
"requestId": "7ddc020e8d954760b47110aaf61c44ae",
"requestParams": {
"body": {
"searchApiEndpoint": "cross_border_v2",
"url": "https://cbu01.alicdn.com/img/ibank/O1CN01SZaEj31svjKqlsglD_!!2207466555829-0-cib.jpg"
},
"query": {}
}
}Agent integration
Copy the resource contract without sharing an API key.
View API Markdown
# 1688 Image Conversion API (V1)
Converts an image URL or JPEG Base64 input into an image reference for a selected 1688 image search endpoint. The sample response includes URLs. Use it in visual discovery or a media workflow. Use the results to organize e-commerce research and compare the relevant product, shop, or category records.
## Available implementations
justoneapi · 1688 Image Conversion API (V1): https://openany.si/markets/apis/capabilities/api-1688-image-conversion-api-v1?offering=c3c0130c-ae02-4205-8adf-12151de389cd · $0.015385 / call
## Selected API contract
Documentation: https://openany.si/apis/c3c0130c-ae02-4205-8adf-12151de389cd
Method: POST
Endpoint: https://api.openany.si/v1/agent-apis/justoneapi/api/1688/convert-image/v1
Price: $0.015385 / call
Provider: justoneapi
Contract revision: 3
Price source: OpenAny public API contract and documented provider unit rates. Price update time: not supplied.
Use OPENANY_API_KEY from the environment. API Key calls use your shared balance.
## Prepared request
```bash
curl \
'https://api.openany.si/v1/agent-apis/justoneapi/api/1688/convert-image/v1' \
-X POST \
-H "Authorization: Bearer $OPENANY_API_KEY" \
-H 'Content-Type: application/json' \
--data-raw '{
"searchApiEndpoint": "cross_border_v2",
"url": "https://cbu01.alicdn.com/img/ibank/O1CN01SZaEj31svjKqlsglD_!!2207466555829-0-cib.jpg"
}'
```
## API contract
```json
{
"resource_type": "api",
"name": "1688 Image Conversion API (V1)",
"endpoint": "https://api.openany.si/v1/agent-apis/justoneapi/api/1688/convert-image/v1",
"method": "POST",
"content_type": "application/json",
"execution_mode": "sync",
"authentication": {
"type": "bearer",
"environment_variable": "OPENANY_API_KEY"
},
"inputs": [
{
"description": "Image input and the intended 1688 image search target.",
"json_schema": {
"additionalProperties": false,
"description": "Image input and the intended 1688 image search target.",
"oneOf": [
{
"required": [
"url"
]
},
{
"required": [
"imgBase64"
]
}
],
"properties": {
"imgBase64": {
"description": "JPEG image encoded as Base64 without a data URI prefix; decoded size must not exceed 100 KB.",
"maxLength": 136536,
"pattern": "^/9j/([A-Za-z0-9+/]{4})*([A-Za-z0-9+/]{2}(==)?|[A-Za-z0-9+/]{3}=?)?$",
"type": "string"
},
"searchApiEndpoint": {
"default": "standard",
"description": "Image search target for the converted reference.",
"enum": [
"standard",
"cross_border_v1",
"cross_border_v2"
],
"type": "string"
},
"url": {
"description": "Image URL. Supply either url or imgBase64.",
"minLength": 1,
"type": "string"
}
},
"type": "object"
},
"location": "body",
"name": "body",
"nullable": false,
"pointer": "",
"required": true,
"type": "object"
}
],
"billing": {
"currency": "USD",
"mode": "fixed",
"priceMicroUsd": "15385",
"rounding": null,
"unit": "call",
"unitQuantity": null
},
"examples": [
{
"http_status": 200,
"name": "Third-party reference · OpenAny testnet verified pair",
"request": {
"body": {
"searchApiEndpoint": "cross_border_v2",
"url": "https://cbu01.alicdn.com/img/ibank/O1CN01SZaEj31svjKqlsglD_!!2207466555829-0-cib.jpg"
},
"headers": {},
"path": {},
"query": {}
},
"response_body": {
"code": 0,
"data": {
"image_url": "/search/imgextra5/1286908880505784607.jpg"
},
"message": null,
"openany_cost": 15385,
"recordTime": "2026-11-06T21:15:14.510561627",
"requestId": "7ddc020e8d954760b47110aaf61c44ae",
"requestParams": {
"body": {
"searchApiEndpoint": "cross_border_v2",
"url": "https://cbu01.alicdn.com/img/ibank/O1CN01SZaEj31svjKqlsglD_!!2207466555829-0-cib.jpg"
},
"query": {}
}
}
}
]
}
```Error handling
| Status | Next step |
|---|---|
400 | Check the offering and request fields. |
401 / 403 | Verify your credentials and access permissions. |
402 | Inspect the selected access mode and returned payment requirements. |
429 | Respect the returned rate limit and retry guidance. |
5xx | Inspect the error and usage record before retrying a paid operation. |
Examples
Third-party reference · OpenAny testnet verified pair
Historical third-party reference. It may differ from the current provider response; verify the original contract before use.
Prepare your environment
Use a terminal with cURL installed.
Use an OpenAny API key with shared-balance access. Confirm availability and price before running; a call may charge your balance.
Set the key in your terminal using the hidden prompt below. Keep its value out of source files and logs.
Terminal · macOS / Linuxprintf 'OpenAny API key: ' read -r -s OPENANY_API_KEY export OPENANY_API_KEY printf '\n'Run the request
Paste the complete command below into your terminal.
Values to replace before running 1
Review these request fields before running. Keep the published provider and request method unchanged.
body- Image input and the intended 1688 image search target.
Terminal · cURLcurl \ 'https://api.openany.si/v1/agent-apis/justoneapi/api/1688/convert-image/v1' \ -X POST \ -H "Authorization: Bearer $OPENANY_API_KEY" \ -H 'Content-Type: application/json' \ --data-raw '{ "searchApiEndpoint": "cross_border_v2", "url": "https://cbu01.alicdn.com/img/ibank/O1CN01SZaEj31svjKqlsglD_!!2207466555829-0-cib.jpg" }'Check the response
Third-party response reference · Documented HTTP 200
Third-party response reference{ "code": 0, "data": { "image_url": "/search/imgextra5/1286908880505784607.jpg" }, "message": null, "openany_cost": 15385, "recordTime": "2026-11-06T21:15:14.510561627", "requestId": "7ddc020e8d954760b47110aaf61c44ae", "requestParams": { "body": { "searchApiEndpoint": "cross_border_v2", "url": "https://cbu01.alicdn.com/img/ibank/O1CN01SZaEj31svjKqlsglD_!!2207466555829-0-cib.jpg" }, "query": {} } }