List Amazon product reviews
curl --request POST \
--url https://api.aisa.one/v1/tasks/commerce.amazon.list_reviews \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"input": {
"asin": "<string>",
"format_type": "all",
"media_type": "all",
"query": "<string>",
"reviewer_type": "all",
"sort_by": "published_at",
"star_1_limit": 50,
"star_2_limit": 50,
"star_3_limit": 50,
"star_4_limit": 50,
"star_5_limit": 50
}
}
'import requests
url = "https://api.aisa.one/v1/tasks/commerce.amazon.list_reviews"
payload = { "input": {
"asin": "<string>",
"format_type": "all",
"media_type": "all",
"query": "<string>",
"reviewer_type": "all",
"sort_by": "published_at",
"star_1_limit": 50,
"star_2_limit": 50,
"star_3_limit": 50,
"star_4_limit": 50,
"star_5_limit": 50
} }
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({
input: {
asin: '<string>',
format_type: 'all',
media_type: 'all',
query: '<string>',
reviewer_type: 'all',
sort_by: 'published_at',
star_1_limit: 50,
star_2_limit: 50,
star_3_limit: 50,
star_4_limit: 50,
star_5_limit: 50
}
})
};
fetch('https://api.aisa.one/v1/tasks/commerce.amazon.list_reviews', 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/v1/tasks/commerce.amazon.list_reviews",
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([
'input' => [
'asin' => '<string>',
'format_type' => 'all',
'media_type' => 'all',
'query' => '<string>',
'reviewer_type' => 'all',
'sort_by' => 'published_at',
'star_1_limit' => 50,
'star_2_limit' => 50,
'star_3_limit' => 50,
'star_4_limit' => 50,
'star_5_limit' => 50
]
]),
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/v1/tasks/commerce.amazon.list_reviews"
payload := strings.NewReader("{\n \"input\": {\n \"asin\": \"<string>\",\n \"format_type\": \"all\",\n \"media_type\": \"all\",\n \"query\": \"<string>\",\n \"reviewer_type\": \"all\",\n \"sort_by\": \"published_at\",\n \"star_1_limit\": 50,\n \"star_2_limit\": 50,\n \"star_3_limit\": 50,\n \"star_4_limit\": 50,\n \"star_5_limit\": 50\n }\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/v1/tasks/commerce.amazon.list_reviews")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"input\": {\n \"asin\": \"<string>\",\n \"format_type\": \"all\",\n \"media_type\": \"all\",\n \"query\": \"<string>\",\n \"reviewer_type\": \"all\",\n \"sort_by\": \"published_at\",\n \"star_1_limit\": 50,\n \"star_2_limit\": 50,\n \"star_3_limit\": 50,\n \"star_4_limit\": 50,\n \"star_5_limit\": 50\n }\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.aisa.one/v1/tasks/commerce.amazon.list_reviews")
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 \"input\": {\n \"asin\": \"<string>\",\n \"format_type\": \"all\",\n \"media_type\": \"all\",\n \"query\": \"<string>\",\n \"reviewer_type\": \"all\",\n \"sort_by\": \"published_at\",\n \"star_1_limit\": 50,\n \"star_2_limit\": 50,\n \"star_3_limit\": 50,\n \"star_4_limit\": 50,\n \"star_5_limit\": 50\n }\n}"
response = http.request(request)
puts response.read_body{
"meta": {
"approximate_fields": [
"<string>"
],
"delivered": true,
"missing_fields": {}
},
"result": {
"country": "<string>",
"items": [
{
"date_text": "<string>",
"helpful_count": 123,
"rating_score": 123,
"requested_asin": "<string>",
"review_country": "<string>",
"review_id": "<string>",
"reviewer_name": "<string>",
"text": "<string>",
"title": "<string>",
"variant_asin": "<string>",
"variation_attributes": [
"<string>"
],
"verified_purchase": true,
"vine": true
}
],
"next_cursor": "<string>",
"platform": "amazon",
"rating_distribution": {
"basis": "percentage",
"star_1": 123,
"star_2": 123,
"star_3": 123,
"star_4": 123,
"star_5": 123
},
"requested_asin": "<string>"
},
"status": "found",
"task": "commerce.amazon.list_reviews",
"version": 1
}{
"error": {
"code": "invalid_request",
"message": "<string>",
"request_id": "<string>",
"retry_hint": "never",
"retryable": true,
"param": "<string>",
"problems": [
"<string>"
],
"similar_tasks": [
"<string>"
],
"task_id": "<string>"
}
}Amazon
List Amazon product reviews
Retrieve a single synchronous batch of Amazon product reviews by ASIN with optional per-star quotas (0-100 each; omitting all defaults to 10 per star, while setting any star defaults the others to 0) and review filters. Does not paginate (next_cursor is always null), and rating_distribution stays null when only star-sampled reviews are available. Priced per requested review page (each star quota rounded up to 10-review pages and summed); no charge when no reviews are returned.
POST
https://api.aisa.one
/
v1
/
tasks
/
commerce.amazon.list_reviews
List Amazon product reviews
curl --request POST \
--url https://api.aisa.one/v1/tasks/commerce.amazon.list_reviews \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"input": {
"asin": "<string>",
"format_type": "all",
"media_type": "all",
"query": "<string>",
"reviewer_type": "all",
"sort_by": "published_at",
"star_1_limit": 50,
"star_2_limit": 50,
"star_3_limit": 50,
"star_4_limit": 50,
"star_5_limit": 50
}
}
'import requests
url = "https://api.aisa.one/v1/tasks/commerce.amazon.list_reviews"
payload = { "input": {
"asin": "<string>",
"format_type": "all",
"media_type": "all",
"query": "<string>",
"reviewer_type": "all",
"sort_by": "published_at",
"star_1_limit": 50,
"star_2_limit": 50,
"star_3_limit": 50,
"star_4_limit": 50,
"star_5_limit": 50
} }
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({
input: {
asin: '<string>',
format_type: 'all',
media_type: 'all',
query: '<string>',
reviewer_type: 'all',
sort_by: 'published_at',
star_1_limit: 50,
star_2_limit: 50,
star_3_limit: 50,
star_4_limit: 50,
star_5_limit: 50
}
})
};
fetch('https://api.aisa.one/v1/tasks/commerce.amazon.list_reviews', 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/v1/tasks/commerce.amazon.list_reviews",
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([
'input' => [
'asin' => '<string>',
'format_type' => 'all',
'media_type' => 'all',
'query' => '<string>',
'reviewer_type' => 'all',
'sort_by' => 'published_at',
'star_1_limit' => 50,
'star_2_limit' => 50,
'star_3_limit' => 50,
'star_4_limit' => 50,
'star_5_limit' => 50
]
]),
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/v1/tasks/commerce.amazon.list_reviews"
payload := strings.NewReader("{\n \"input\": {\n \"asin\": \"<string>\",\n \"format_type\": \"all\",\n \"media_type\": \"all\",\n \"query\": \"<string>\",\n \"reviewer_type\": \"all\",\n \"sort_by\": \"published_at\",\n \"star_1_limit\": 50,\n \"star_2_limit\": 50,\n \"star_3_limit\": 50,\n \"star_4_limit\": 50,\n \"star_5_limit\": 50\n }\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/v1/tasks/commerce.amazon.list_reviews")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"input\": {\n \"asin\": \"<string>\",\n \"format_type\": \"all\",\n \"media_type\": \"all\",\n \"query\": \"<string>\",\n \"reviewer_type\": \"all\",\n \"sort_by\": \"published_at\",\n \"star_1_limit\": 50,\n \"star_2_limit\": 50,\n \"star_3_limit\": 50,\n \"star_4_limit\": 50,\n \"star_5_limit\": 50\n }\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.aisa.one/v1/tasks/commerce.amazon.list_reviews")
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 \"input\": {\n \"asin\": \"<string>\",\n \"format_type\": \"all\",\n \"media_type\": \"all\",\n \"query\": \"<string>\",\n \"reviewer_type\": \"all\",\n \"sort_by\": \"published_at\",\n \"star_1_limit\": 50,\n \"star_2_limit\": 50,\n \"star_3_limit\": 50,\n \"star_4_limit\": 50,\n \"star_5_limit\": 50\n }\n}"
response = http.request(request)
puts response.read_body{
"meta": {
"approximate_fields": [
"<string>"
],
"delivered": true,
"missing_fields": {}
},
"result": {
"country": "<string>",
"items": [
{
"date_text": "<string>",
"helpful_count": 123,
"rating_score": 123,
"requested_asin": "<string>",
"review_country": "<string>",
"review_id": "<string>",
"reviewer_name": "<string>",
"text": "<string>",
"title": "<string>",
"variant_asin": "<string>",
"variation_attributes": [
"<string>"
],
"verified_purchase": true,
"vine": true
}
],
"next_cursor": "<string>",
"platform": "amazon",
"rating_distribution": {
"basis": "percentage",
"star_1": 123,
"star_2": 123,
"star_3": 123,
"star_4": 123,
"star_5": 123
},
"requested_asin": "<string>"
},
"status": "found",
"task": "commerce.amazon.list_reviews",
"version": 1
}{
"error": {
"code": "invalid_request",
"message": "<string>",
"request_id": "<string>",
"retry_hint": "never",
"retryable": true,
"param": "<string>",
"problems": [
"<string>"
],
"similar_tasks": [
"<string>"
],
"task_id": "<string>"
}
}The request and response panels use the schemas published by this API. Conditional requirements and allowed combinations are part of the request schema. Check the complete schema before combining filters or identities.
Only the listed values are priced; other values do not fall back to the catalog base price.
Successful delivery is charged; a normal empty result is not charged.
Obtain an input-specific quote by sending the same request with
Billing
| Input | Price unit | Price (USD) |
|---|---|---|
| requested_review_pages = 0 | Per successful request | 0 |
| requested_review_pages = 1 | Per successful request | 0.044 |
| requested_review_pages = 2 | Per successful request | 0.084 |
| requested_review_pages = 3 | Per successful request | 0.128 |
| requested_review_pages = 4 | Per successful request | 0.168 |
| requested_review_pages = 5 | Per successful request | 0.212 |
| requested_review_pages = 6 | Per successful request | 0.252 |
| requested_review_pages = 7 | Per successful request | 0.296 |
| requested_review_pages = 8 | Per successful request | 0.336 |
| requested_review_pages = 9 | Per successful request | 0.38 |
| requested_review_pages = 10 | Per successful request | 0.42 |
| requested_review_pages = 11 | Per successful request | 0.464 |
| requested_review_pages = 12 | Per successful request | 0.504 |
| requested_review_pages = 13 | Per successful request | 0.548 |
| requested_review_pages = 14 | Per successful request | 0.588 |
| requested_review_pages = 15 | Per successful request | 0.632 |
| requested_review_pages = 16 | Per successful request | 0.672 |
| requested_review_pages = 17 | Per successful request | 0.716 |
| requested_review_pages = 18 | Per successful request | 0.756 |
| requested_review_pages = 19 | Per successful request | 0.8 |
| requested_review_pages = 20 | Per successful request | 0.84 |
| requested_review_pages = 21 | Per successful request | 0.884 |
| requested_review_pages = 22 | Per successful request | 0.924 |
| requested_review_pages = 23 | Per successful request | 0.968 |
| requested_review_pages = 24 | Per successful request | 1.008 |
| requested_review_pages = 25 | Per successful request | 1.052 |
| requested_review_pages = 26 | Per successful request | 1.092 |
| requested_review_pages = 27 | Per successful request | 1.136 |
| requested_review_pages = 28 | Per successful request | 1.176 |
| requested_review_pages = 29 | Per successful request | 1.22 |
| requested_review_pages = 30 | Per successful request | 1.26 |
| requested_review_pages = 31 | Per successful request | 1.304 |
| requested_review_pages = 32 | Per successful request | 1.344 |
| requested_review_pages = 33 | Per successful request | 1.388 |
| requested_review_pages = 34 | Per successful request | 1.428 |
| requested_review_pages = 35 | Per successful request | 1.472 |
| requested_review_pages = 36 | Per successful request | 1.512 |
| requested_review_pages = 37 | Per successful request | 1.556 |
| requested_review_pages = 38 | Per successful request | 1.596 |
| requested_review_pages = 39 | Per successful request | 1.64 |
| requested_review_pages = 40 | Per successful request | 1.68 |
| requested_review_pages = 41 | Per successful request | 1.724 |
| requested_review_pages = 42 | Per successful request | 1.764 |
| requested_review_pages = 43 | Per successful request | 1.808 |
| requested_review_pages = 44 | Per successful request | 1.848 |
| requested_review_pages = 45 | Per successful request | 1.892 |
| requested_review_pages = 46 | Per successful request | 1.932 |
| requested_review_pages = 47 | Per successful request | 1.976 |
| requested_review_pages = 48 | Per successful request | 2.016 |
| requested_review_pages = 49 | Per successful request | 2.06 |
| requested_review_pages = 50 | Per successful request | 2.1 |
X-AISA-Cost-Mode: quote; quoting neither executes the Task nor reserves funds. Execution reserves the estimated request charge and settles under the rules above. Use X-AISA-Max-Price-USD to cap the price.
Use an Idempotency-Key when executing a Task. For errors, inspect error.code, error.request_id, error.retryable and error.retry_hint. A reconciliation hint requires checking the existing request before retrying; do not assume a pending settlement is a refund.