Amazon Product
Amazon Product returns the full detail page for a single ASIN, including pricing, images, categories, variants, and attributes.
Endpoint
Section titled “Endpoint” GET https://ecom.shifter.io/v1?engine=amazon&api_key=YOUR_API_KEY&type=product
Parameters
Section titled “Parameters”| Parameter | Type | Required | Description |
|---|---|---|---|
api_key | string | yes | Your SERP API key (shared with Amazon). |
engine | string | yes | Must be amazon. |
type | string | yes | Must be product. |
product_id | string | yes | The Amazon product ID (ASIN). |
domain | string | no | Marketplace domain, default amazon.com. |
device | desktop | mobile | no | Simulated device. |
Finding the product ID
Section titled “Finding the product ID”Amazon identifies products by ASIN (Amazon Standard Identification Number). You can find it two ways:
- In the product URL, after
/dp/(for example,https://www.amazon.com/dp/B08C1W5N87). - In the “Product Information” or “Additional Information” section on the product page.
Example request
Section titled “Example request”curl "https://ecom.shifter.io/v1?engine=amazon&api_key=YOUR_API_KEY&type=product&product_id=B08C1W5N87"import requests
params = { "engine": "amazon", "api_key": "YOUR_API_KEY", "type": "product", "product_id": "B08C1W5N87",}r = requests.get("https://ecom.shifter.io/v1", params=params)data = r.json()import fetch from 'node-fetch';
const url = 'https://ecom.shifter.io/v1?' + new URLSearchParams({ engine: 'amazon', api_key: 'YOUR_API_KEY', type: 'product', product_id: 'B08C1W5N87',});
const res = await fetch(url);const data = await res.json();Example response
Section titled “Example response”{ "search_metadata": { "engine": "amazon", "amazon_domain": "amazon.com", "type": "product", "product_id": "B08C1W5N87" }, "product": { "title": "Fire TV Stick with Alexa Voice Remote", "product_id": "B08C1W5N87", "brand": "Amazon", "price": { "current_price": "$19.99", "currency": "$" }, "rating": { "rating": 4.7, "total_ratings": 141438 }, "keywords": ["fire tv", "streaming device"], "categories": [ { "name": "Electronics", "link": "/electronics" }, { "name": "Streaming Media Players" } ], "images": [ "https://m.media-amazon.com/images/I/51KKR5uGn6L.jpg" ], "attributes": [ { "name": "Connectivity", "value": "Wi-Fi, HDMI" } ] }}