Amazon Product
Get an Amazon product page, with optional seller offers.
GET/api/v1/amazon/product
Alpha: this endpoint is new and its response fields may still change.
Costs 1 credit per request; failed requests are refunded. Authentication, the search_metadata envelope and error codes are the same as for every endpoint (see the API reference). Try it in the playground.
Parameters
Product
Identify the product to retrieve.
| Parameter | Type | Description |
|---|---|---|
asinrequired | string | Ten-character Amazon product identifier. |
Storefront and delivery
Choose a storefront, language and delivery destination.
| Parameter | Type | Description |
|---|---|---|
amazon_domain | string | Amazon storefront hostname.Default: amazon.com. |
language | string | Storefront locale, such as en_US or ja_JP. |
delivery_zip | string | Postal code used to determine delivery eligibility.Up to 32 characters. |
shipping_location | string | Two-letter destination country code. |
Additional results
Include seller offers and additional related-product pages.
| Parameter | Type | Description |
|---|---|---|
other_sellers | boolean | Fetch additional seller offers for this item.Default: false. |
all_related_products | boolean | Fetch every page exposed by related-product carousels.Default: false. |
Response
A JSON object with search_metadata (request id, credits used and remaining) and the result data: product_results. Groups and fields depend on the content of each page, so treat every field as optional.
Examples
cURL
curl "https://serpfast.com/api/v1/amazon/product?asin=B072MQ5BRX" \
-H "Authorization: Bearer $SERPFAST_KEY"Node.js 18+
const params = new URLSearchParams({
"asin": "B072MQ5BRX"
});
const res = await fetch(`https://serpfast.com/api/v1/amazon/product?${params}`, {
headers: { Authorization: `Bearer ${process.env.SERPFAST_KEY}` },
});
const data = await res.json();
console.log(data);Python
import os, requests
params = {
"asin": "B072MQ5BRX"
}
res = requests.get(
"https://serpfast.com/api/v1/amazon/product",
params=params,
headers={"Authorization": f"Bearer {os.environ['SERPFAST_KEY']}"},
timeout=120,
)
print(res.json())