Linkfox Amazon Search By Image
curl --request POST \
--url https://api.aisa.one/apis/v1/linkfox/amazon/searchByImage \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"amazonDomain": "amazon.com",
"imageUrl": "https://m.media-amazon.com/images/I/61q2kZYzmZL._AC_UL320_.jpg"
}
'import requests
url = "https://api.aisa.one/apis/v1/linkfox/amazon/searchByImage"
payload = {
"amazonDomain": "amazon.com",
"imageUrl": "https://m.media-amazon.com/images/I/61q2kZYzmZL._AC_UL320_.jpg"
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({
amazonDomain: 'amazon.com',
imageUrl: 'https://m.media-amazon.com/images/I/61q2kZYzmZL._AC_UL320_.jpg'
})
};
fetch('https://api.aisa.one/apis/v1/linkfox/amazon/searchByImage', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.aisa.one/apis/v1/linkfox/amazon/searchByImage",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'amazonDomain' => 'amazon.com',
'imageUrl' => 'https://m.media-amazon.com/images/I/61q2kZYzmZL._AC_UL320_.jpg'
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.aisa.one/apis/v1/linkfox/amazon/searchByImage"
payload := strings.NewReader("{\n \"amazonDomain\": \"amazon.com\",\n \"imageUrl\": \"https://m.media-amazon.com/images/I/61q2kZYzmZL._AC_UL320_.jpg\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.aisa.one/apis/v1/linkfox/amazon/searchByImage")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"amazonDomain\": \"amazon.com\",\n \"imageUrl\": \"https://m.media-amazon.com/images/I/61q2kZYzmZL._AC_UL320_.jpg\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.aisa.one/apis/v1/linkfox/amazon/searchByImage")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"amazonDomain\": \"amazon.com\",\n \"imageUrl\": \"https://m.media-amazon.com/images/I/61q2kZYzmZL._AC_UL320_.jpg\"\n}"
response = http.request(request)
puts response.read_body{
"currentPage": 1,
"errcode": 200,
"errmsg": "ok",
"perPage": 1,
"sourceType": "example",
"total": 1,
"totalCount": 1,
"type": "example"
}Linkfox
Linkfox Amazon Search By Image
Linkfox native synchronous API. HTTP 200 can contain a business error: inspect errcode and errmsg when present.
Native Linkfox JSON request and response. Parameters are validated by Linkfox. Billed at the account credit cost with no plan markup.
POST
https://api.aisa.one
/
apis
/
v1
/
linkfox
/
amazon
/
searchByImage
Linkfox Amazon Search By Image
curl --request POST \
--url https://api.aisa.one/apis/v1/linkfox/amazon/searchByImage \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"amazonDomain": "amazon.com",
"imageUrl": "https://m.media-amazon.com/images/I/61q2kZYzmZL._AC_UL320_.jpg"
}
'import requests
url = "https://api.aisa.one/apis/v1/linkfox/amazon/searchByImage"
payload = {
"amazonDomain": "amazon.com",
"imageUrl": "https://m.media-amazon.com/images/I/61q2kZYzmZL._AC_UL320_.jpg"
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({
amazonDomain: 'amazon.com',
imageUrl: 'https://m.media-amazon.com/images/I/61q2kZYzmZL._AC_UL320_.jpg'
})
};
fetch('https://api.aisa.one/apis/v1/linkfox/amazon/searchByImage', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.aisa.one/apis/v1/linkfox/amazon/searchByImage",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'amazonDomain' => 'amazon.com',
'imageUrl' => 'https://m.media-amazon.com/images/I/61q2kZYzmZL._AC_UL320_.jpg'
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.aisa.one/apis/v1/linkfox/amazon/searchByImage"
payload := strings.NewReader("{\n \"amazonDomain\": \"amazon.com\",\n \"imageUrl\": \"https://m.media-amazon.com/images/I/61q2kZYzmZL._AC_UL320_.jpg\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.aisa.one/apis/v1/linkfox/amazon/searchByImage")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"amazonDomain\": \"amazon.com\",\n \"imageUrl\": \"https://m.media-amazon.com/images/I/61q2kZYzmZL._AC_UL320_.jpg\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.aisa.one/apis/v1/linkfox/amazon/searchByImage")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"amazonDomain\": \"amazon.com\",\n \"imageUrl\": \"https://m.media-amazon.com/images/I/61q2kZYzmZL._AC_UL320_.jpg\"\n}"
response = http.request(request)
puts response.read_body{
"currentPage": 1,
"errcode": 200,
"errmsg": "ok",
"perPage": 1,
"sourceType": "example",
"total": 1,
"totalCount": 1,
"type": "example"
}Request contract
- Method and path: POST /apis/v1/linkfox/amazon/searchByImage
- Availability: enabled
- Request URL template:
https://api.aisa.one/apis/v1/linkfox/amazon/searchByImage
{
"operationId": "post_linkfox_apis_v1_linkfox_amazon_searchbyimage",
"method": "POST",
"path": "/apis/v1/linkfox/amazon/searchByImage",
"servers": [
{
"url": "https://api.aisa.one"
}
],
"parameters": [],
"security": [
{
"bearerAuth": []
}
],
"requestBody": {
"content": {
"application/json": {
"examples": {
"request": {
"summary": "Illustrative request; replace identifiers and dates for your query.",
"value": {
"amazonDomain": "amazon.com",
"imageUrl": "https://m.media-amazon.com/images/I/61q2kZYzmZL._AC_UL320_.jpg"
}
}
},
"schema": {
"additionalProperties": true,
"description": " JSON body forwarded to Linkfox. Field descriptions and constraints below come from the pinned provider reference; gateway-enforced constraints take precedence.",
"properties": {
"amazonDomain": {
"description": "亚马逊站点,仅支持以下站点:美国(`amazon.com`)、英国(`amazon.co.uk`)、德国(`amazon.de`)、法国(`amazon.fr`)、意大利(`amazon.it`)、西班牙(`amazon.es`)、日本(`amazon.co.jp`)、印度(`amazon.in`)。默认 `amazon.com`",
"type": "string"
},
"countryOrAreaCode": {
"description": "站外收货的国家代码(如 CN、JP、KR、TW、HK、MO、SG、TH、VN、PH、MY)。站内邮编地址和站外国家地区代码不能同时指定。注意:印度站不支持设置站外国家或地区收货。最大长度:1000",
"type": "string"
},
"deliveryZip": {
"description": "站内收货地址邮编或城市,如果用户未指定,则取站点(国家)的默认邮编。最大长度:1000。各站点默认邮编:美国=10001、英国=EC1A 1BB、德国=10115、法国=75001、意大利=00100、西班牙=28001、日本=100-0001、印度=110034",
"type": "string"
},
"imageUrl": {
"description": "图片URL地址,请确保图片URL地址有效。最大长度:1000",
"type": "string"
},
"sort": {
"description": "排序,支持价格、评分、评论数排序。可选值:`default`(默认,按相关性排序)、`price-asc-rank`(价格从低到高)、`price-desc-rank`(价格从高到低)、`rating-asc-rank`(评分从低到高)、`rating-desc-rank`(评分从高到低)、`ratings-asc-rank`(评论数从低到高)、`ratings-desc-rank`(评论数从高到低)",
"type": "string"
}
},
"required": [
"imageUrl",
"amazonDomain"
],
"type": "object"
}
}
},
"required": true
},
"x-aisa-status": "enabled",
"components": {
"securitySchemes": {
"bearerAuth": {
"scheme": "bearer",
"type": "http"
}
}
}
}
Cost and request rules
Usage-based pricing. Default request estimate: $0.03 USD. The final charge depends on actual usage. Your account price may differ; use a request quote where supported.Authorizations
Body
application/json
JSON body forwarded to Linkfox. Field descriptions and constraints below come from the pinned provider reference; gateway-enforced constraints take precedence.
Response
Provider response; inspect the business status in the body.
Provider JSON response. Optional fields can be omitted; additional provider fields are preserved. This schema documents the HTTP body, excluding client-added costToken/costCredit and local cache fields.