Reference example
# Fixed reference example. Playground inputs do not update this sample.
curl --request GET \
--url 'https://api.aisa.one/apis/v1/amazon/search-products-v1?country=AE&dealsAndDiscounts=ALL_DISCOUNTS&isPrime=false&keyword=nike&page=1&productCondition=ALL&sortBy=BEST_SELLERS' \
--header 'Authorization: Bearer <token>'curl --request GET \
--url https://api.aisa.one/apis/v1/amazon/search-products-v1 \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.aisa.one/apis/v1/amazon/search-products-v1"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.aisa.one/apis/v1/amazon/search-products-v1', 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/amazon/search-products-v1",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.aisa.one/apis/v1/amazon/search-products-v1"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.aisa.one/apis/v1/amazon/search-products-v1")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.aisa.one/apis/v1/amazon/search-products-v1")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_bodyAmazon
Search Amazon products by keyword or ASIN
<!-- aisa-pricing:start -->
Usage-based billing; Default request estimate: $0.01476 USD (not a fixed price). Declared unit rate: $0.000001 USD per provider_credit. Account-specific pricing and final settlement may differ.
<!-- aisa-pricing:end -->
GET
https://api.aisa.one
/
apis
/
v1
/
amazon
/
search-products-v1
Reference example
# Fixed reference example. Playground inputs do not update this sample.
curl --request GET \
--url 'https://api.aisa.one/apis/v1/amazon/search-products-v1?country=AE&dealsAndDiscounts=ALL_DISCOUNTS&isPrime=false&keyword=nike&page=1&productCondition=ALL&sortBy=BEST_SELLERS' \
--header 'Authorization: Bearer <token>'curl --request GET \
--url https://api.aisa.one/apis/v1/amazon/search-products-v1 \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.aisa.one/apis/v1/amazon/search-products-v1"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.aisa.one/apis/v1/amazon/search-products-v1', 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/amazon/search-products-v1",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.aisa.one/apis/v1/amazon/search-products-v1"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.aisa.one/apis/v1/amazon/search-products-v1")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.aisa.one/apis/v1/amazon/search-products-v1")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_bodyRequest contract
- Method and path: GET /apis/v1/amazon/search-products-v1
- Availability: enabled
- Request URL template:
https://api.aisa.one/apis/v1/amazon/search-products-v1 - country: query; required
- dealsAndDiscounts: query; required
- isPrime: query; required
- keyword: query; required
- page: query; required
- productCondition: query; required
- sortBy: query; required
- Runtime facts: 264e46cb48593b2d959a688a2c9ea64a62f337571623d93d81c67a6b2572c2de
{
"operationId": "amazon.search-products-v1",
"method": "GET",
"path": "/apis/v1/amazon/search-products-v1",
"servers": [
{
"url": "https://api.aisa.one"
}
],
"parameters": [
{
"examples": {
"default": {
"value": "AE"
},
"minimal": {
"value": "AE"
}
},
"in": "query",
"name": "country",
"required": true,
"schema": {
"enum": [
"AE",
"AU",
"BE",
"BR",
"CA",
"CN",
"DE",
"EG",
"ES",
"FR",
"GB",
"IE",
"IN",
"IT",
"JP",
"MX",
"NL",
"PL",
"SA",
"SE",
"SG",
"TR",
"US",
"ZA"
],
"minLength": 1,
"type": "string"
}
},
{
"examples": {
"default": {
"value": "ALL_DISCOUNTS"
},
"minimal": {
"value": "ALL_DISCOUNTS"
}
},
"in": "query",
"name": "dealsAndDiscounts",
"required": true,
"schema": {
"enum": [
"ALL_DISCOUNTS",
"NONE",
"TODAYS_DEALS"
],
"minLength": 1,
"type": "string"
}
},
{
"examples": {
"default": {
"value": false
},
"minimal": {
"value": false
}
},
"in": "query",
"name": "isPrime",
"required": true,
"schema": {
"enum": [
false,
true
],
"type": "boolean"
}
},
{
"examples": {
"default": {
"value": "nike"
},
"minimal": {
"value": "nike"
}
},
"in": "query",
"name": "keyword",
"required": true,
"schema": {
"maxLength": 1024,
"minLength": 1,
"type": "string"
}
},
{
"examples": {
"default": {
"value": 1
},
"minimal": {
"value": 1
}
},
"in": "query",
"name": "page",
"required": true,
"schema": {
"enum": [
1
],
"maximum": 1,
"minimum": 1,
"type": "integer"
}
},
{
"examples": {
"default": {
"value": "ALL"
},
"minimal": {
"value": "ALL"
}
},
"in": "query",
"name": "productCondition",
"required": true,
"schema": {
"enum": [
"ALL",
"COLLECTIBLE",
"NEW",
"RENEWED",
"USED"
],
"minLength": 1,
"type": "string"
}
},
{
"examples": {
"default": {
"value": "BEST_SELLERS"
},
"minimal": {
"value": "BEST_SELLERS"
}
},
"in": "query",
"name": "sortBy",
"required": true,
"schema": {
"enum": [
"BEST_SELLERS",
"HIGHEST_PRICE",
"LOWEST_PRICE",
"NEWEST",
"RELEVANCE",
"REVIEWS"
],
"minLength": 1,
"type": "string"
}
}
],
"security": [
{
"bearerAuth": []
}
],
"x-aisa-status": "enabled",
"x-aisa-pricing": {
"cost_contract": "response_units",
"customer_multiplier": 1.0,
"customer_pricing": "provider_cost_multiplier",
"default_request_estimate_usd": 0.01476,
"estimate_source": "profile_seed",
"evidence_source": "response_header",
"unit": "provider_credit",
"unit_rate_usd": 1e-06
},
"components": {
"securitySchemes": {
"bearerAuth": {
"scheme": "bearer",
"type": "http"
}
}
}
}
Cost and request rules
Usage-based billing; Default request estimate: $0.01476 USD (not a fixed price). Declared unit rate: $0.000001 USD per provider_credit. Account-specific pricing and final settlement may differ. Published reference values are not an account-specific quote or a settled charge. For endpoints supporting X-AISA-Cost-Mode: quote, obtain a free quote for your exact request before execution; reconcile the settled cost with response metadata and Usage Logs. USD amounts use 1,000,000 integer micro-USD per dollar.- Default request reference estimate (USD): 0.01476
- Declared unit rate (USD): 1e-06
- Billing unit: provider_credit
- Cost contract: response_units
- Published reference multiplier: 1.0
- Settlement evidence source: response_header
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Query Parameters
Available options:
AE, AU, BE, BR, CA, CN, DE, EG, ES, FR, GB, IE, IN, IT, JP, MX, NL, PL, SA, SE, SG, TR, US, ZA Minimum string length:
1Available options:
ALL_DISCOUNTS, NONE, TODAYS_DEALS Minimum string length:
1Available options:
false, true Required string length:
1 - 1024Available options:
1 Required range:
1 <= x <= 1Available options:
ALL, COLLECTIBLE, NEW, RENEWED, USED Minimum string length:
1Available options:
BEST_SELLERS, HIGHEST_PRICE, LOWEST_PRICE, NEWEST, RELEVANCE, REVIEWS Minimum string length:
1Response
Successful response