Amazon Product API
Scrape Amazon Product data with one API call. Returns full product detail for an Amazon ASIN: title, brand, description, price, rating, image gallery, specifications, and variant ASINs. Prices are the marketplace's own, in its currency. For this product's customer reviews, call GET /v1/amazon/reviews with the same ASIN. A timeout or a missing product is refunded.
Last updated October 2026Maintained by the SocialCrawl team
Returns one Amazon product by ASIN: title, brand, description, price, rating, image gallery, specifications, and variant ASINs.
Use it when you already have the ASIN and need full product detail rather than search results. For its reviews, call the reviews endpoint.
Searching 69 platforms in parallel
What can you do with the Product API?
The Product endpoint gives you structured Amazon data with computed fields in a single request. No scraping infrastructure to build or maintain.
Example Request
# GET /v1/amazon/product: 5 credits per call. Cache hits are free and failed calls are refunded.
# Check the price first for 0 credits: add dry_run=1 to the query. Nothing is fetched or charged.
# --max-time 49: this endpoint's measured p99 latency x 1.5.
# --retry 3: retries timeouts, 429 and 5xx, honoring Retry-After.
# -o response.json keeps only the final attempt's body.
# One Idempotency-Key per request, reused on every retry, so a retried call is never charged twice.
IDEMPOTENCY_KEY=$(od -An -N16 -tx1 /dev/urandom | tr -d ' \n')
curl -sS --max-time 49 --retry 3 -o response.json \
-H "x-api-key: YOUR_API_KEY" \
-H "Idempotency-Key: $IDEMPOTENCY_KEY" \
"https://www.socialcrawl.dev/v1/amazon/product?asin=B0FQFB8FMG&country=US" && cat response.json# GET /v1/amazon/product: 5 credits per call. Cache hits are free and failed calls are refunded.
# Check the price first for 0 credits: add dry_run=1 to the query. Nothing is fetched or charged.
import os
import random
import time
import uuid
import requests
API_KEY = os.environ.get("SOCIALCRAWL_API_KEY", "YOUR_API_KEY")
TIMEOUT_S = 49 # this endpoint's measured p99 latency x 1.5.
MAX_RETRIES = 3
URL = "https://www.socialcrawl.dev/v1/amazon/product"
def backoff(attempt):
# Exponential backoff with jitter: about 1 s, 2 s, then 4 s.
return 2 ** attempt * (0.5 + random.random() / 2)
def socialcrawl(params):
# One Idempotency-Key per request, reused on every retry, so a retried call is never charged twice.
idempotency_key = str(uuid.uuid4())
for attempt in range(MAX_RETRIES + 1):
try:
res = requests.get(
URL,
params=params,
headers={"x-api-key": API_KEY, "Idempotency-Key": idempotency_key},
timeout=TIMEOUT_S,
)
body = res.json()
except (requests.RequestException, ValueError):
# A timeout, a dropped connection or a non-JSON gateway page: retry with the same key.
if attempt == MAX_RETRIES:
raise
time.sleep(backoff(attempt))
continue
if body["success"]:
return body
error = body["error"]
# Branch on error["type"], never on the message text.
if error["type"] == "RESOURCE_NOT_FOUND":
return None # refunded: nothing to read
retry_after = res.headers.get("Retry-After")
# SERVICE_UNAVAILABLE without Retry-After is a withdrawn endpoint: permanent.
permanent = error["type"] == "SERVICE_UNAVAILABLE" and retry_after is None
if not error.get("retryable") or permanent or attempt == MAX_RETRIES:
raise RuntimeError(f"{error['type']}: {error['message']} (request_id {body['request_id']})")
# Retry-After (seconds) wins; otherwise back off.
time.sleep(float(retry_after) if retry_after else backoff(attempt))
params = {
"asin": "B0FQFB8FMG",
"country": "US",
}
body = socialcrawl(params)
if body is not None:
print(body["data"])// GET /v1/amazon/product: 5 credits per call. Cache hits are free and failed calls are refunded.
// Check the price first for 0 credits: add dry_run=1 to the query. Nothing is fetched or charged.
const API_KEY = process.env.SOCIALCRAWL_API_KEY ?? "YOUR_API_KEY";
const TIMEOUT_MS = 49_000; // this endpoint's measured p99 latency x 1.5.
const MAX_RETRIES = 3;
type Page = { next_cursor: string | null; has_more: boolean };
type SocialCrawlResponse =
| { success: true; data: any; pagination?: Page; credits_used: number; request_id: string }
| { success: false; error: { type: string; message: string; retryable: boolean }; request_id: string };
const sleep = (ms: number) => new Promise((resolve) => setTimeout(resolve, ms));
// Exponential backoff with jitter: about 1 s, 2 s, then 4 s.
const backoffMs = (attempt: number) => 2 ** attempt * 1000 * (0.5 + Math.random() / 2);
async function socialcrawl(url: URL) {
// One Idempotency-Key per request, reused on every retry, so a retried call is never charged twice.
const idempotencyKey = crypto.randomUUID();
for (let attempt = 0; ; attempt++) {
let res: Response;
let body: SocialCrawlResponse;
try {
res = await fetch(url, {
headers: {
"x-api-key": API_KEY,
"Idempotency-Key": idempotencyKey,
},
signal: AbortSignal.timeout(TIMEOUT_MS),
});
body = (await res.json()) as SocialCrawlResponse;
} catch (error) {
// A timeout, a dropped connection or a non-JSON gateway page: retry with the same key.
if (attempt >= MAX_RETRIES) throw error;
await sleep(backoffMs(attempt));
continue;
}
if (body.success) return body;
// Branch on error.type, never on the message text.
if (body.error.type === "RESOURCE_NOT_FOUND") return null; // refunded: nothing to read
const retryAfter = res.headers.get("Retry-After");
// SERVICE_UNAVAILABLE without Retry-After is a withdrawn endpoint: permanent.
const permanent = body.error.type === "SERVICE_UNAVAILABLE" && retryAfter === null;
if (!body.error.retryable || permanent || attempt >= MAX_RETRIES) {
throw new Error(`${body.error.type}: ${body.error.message} (request_id ${body.request_id})`);
}
// Retry-After (seconds) wins; otherwise back off.
await sleep(retryAfter ? Number(retryAfter) * 1000 : backoffMs(attempt));
}
}
const url = new URL("https://www.socialcrawl.dev/v1/amazon/product");
url.searchParams.set("asin", "B0FQFB8FMG");
url.searchParams.set("country", "US");
const body = await socialcrawl(url);
if (body) console.log(body.data);Parameters worth sending
country=USResults for one country.
Parameters
| Parameter | Required | Description |
|---|---|---|
| asin | Yes | 10-character Amazon ASIN (the product identifier). |
| country | No | Amazon marketplace as an ISO 3166-1 alpha-2 country code (default US). Supported: US, GB, CA, DE, FR, IT, ES, JP, IN, MX, BR, AU, NL. The same ASIN can be a different listing, price or stock state on each marketplace, so pass the one the ASIN came from. (US | GB | CA | DE | FR | IT | ES | JP | IN | MX | BR | AU | NL) |
What does the Amazon Product API return?
Every response follows one unified schema. Here is a real, unmodified response body, so you can see the exact fields you get back before spending a credit.
Example response
{
"success": true,
"platform": "amazon",
"endpoint": "/v1/amazon/product",
"data": {
"product": {
"id": "B0FQFB8FMG",
"url": "https://www.amazon.com/dp/B0FQFB8FMG",
"title": "Apple AirPods Pro 3 Wireless Earbuds, Active Noise Cancellation, Live Translation, Heart Rate Sensing, Hearing Aid Feature, Bluetooth Headphones, Spatial Audio, High-Fidelity Sound, USB-C Charging",
"description": "About this item WORLD’S BEST IN-EAR ACTIVE NOISE CANCELLATION — Removes up to 2x more unwanted noise than AirPods Pro 2* so you can stay fully immersed in the moment.*\nBREAKTHROUGH AUDIO PERFORMANCE — Experience breathtaking, three-dimensional audio with AirPods Pro 3. A new acoustic architecture delivers transformed bass, detailed clarity so you can hear every instrument, and stunningly vivid vocals.\nHEART RATE SENSING — Built-in heart rate sensing lets you track your heart rate and calories burned for up to 50 different workout types.* With iPhone, you will have access to the Move ring, step count, and the new Workout Buddy,* powered by Apple Intelligence.*\nLIVE TRANSLATION — Communicate across language barriers using Live Translation,* enabled by Apple Intelligence.*\nEXTENDED BATTERY LIFE — Get up to 8 hours of listening time with Active Noise Cancellation on a single charge. Or up to 10 hours in Transparency using the Hearing Aid feature.*\nSECURE IN-EAR FIT — All-new ear tips, now in five sizes, provide a more secure, personalized fit and better audio performance across the board.*\nHEARING HEALTH — Take a hearing test in the comfort of your home.* Use the Hearing Aid feature, now with automatic Conversation Boost, for clearer communication.* And active Hearing Protection helps prevent exposure to loud environmental noise.*\nPERSONALIZED LISTENING — Next-generation Adaptive EQ customizes a sound signature for your unique ear geometry and fit.* And inward-facing microphones measure what you’re hearing for real-time adjustments.\nMAGICAL EXPERIENCE — Automatic Switching lets you seamlessly switch between your Apple devices.* And Audio Sharing lets you share a song or show between two sets of AirPods on your iPhone, iPad, or Apple TV.*\nShow more See more product details",
"seller": null,
"brand": "Apple",
"price": {
"current": 199.99,
"original": 249,
"currency": "USD"
},
"rating": {
"average": 4.5,
"count": 12442
},
"image_urls": [
"https://m.media-amazon.com/images/I/61solmQSSlL._AC_SL1500_.jpg",
"https://m.media-amazon.com/images/I/71dt0UurPZL._AC_SL1500_.jpg"
],
"availability": "In Stock",
"reviews_count": null,
"specifications": [
{
"group": "Technical Details",
"name": "Product Dimensions",
"value": "1.1 x 0.8 x 1.2 inches"
},
{
"group": "Technical Details",
"name": "Item Weight",
"value": "2.56 ounces"
}
]
}
},
"credits_used": 5,
"credits_remaining": 9999,
"request_id": "req_example000000",
"cached": false,
"redacted": true
}Live sample illustrating the unified response shape. Field values reflect the record you query.
How does the Amazon Product API work?
Send a GET request with your API key and get back clean, structured JSON in our unified schema. Supported computed fields are populated when the source provides the required inputs.
Method
GET
Response
JSON
How do you scrape social media data in seconds?
The fastest social media scraping API for developers. Scrape profiles, posts, comments, and analytics from 69 platforms covering 10B+ monthly active users.
One schema, every platform
Query 69 platforms with identical response structures. Write your integration once.
Computed fields, not just scraped
When an endpoint supports these metrics and the source provides the required inputs, the normalized record includes engagement_rate, estimated_reach, content_category, and language. Ready to use.
See your data before you code
Visual Data Explorer. Paste any URL, get rich result cards, sortable tables, CSV export.
import requests
response = requests.get(
'https://www.socialcrawl.dev/v1/tiktok/profile',
params={'handle': 'charlidamelio'},
headers={'x-api-key': 'sc_YOUR_API_KEY'}
)
data = response.json(){
"success": true,
"platform": "tiktok",
"data": {
"author": {
"username": "charlidamelio",
"followers": 152400000
},
"engagement": {
"likes": 12400000000,
"engagement_rate": 0.087
},
"metadata": {
"language": "en",
"content_category": "lifestyle"
}
}
}Have a question? We got answers
Find answers to frequently asked questions about SocialCrawl's API, pricing, and capabilities.
Contact usHow do I get full Amazon product detail from an ASIN?
What fields does the Amazon Product API return?
How do I get the reviews for a product?
Can I get product data from non-US Amazon marketplaces?
How much does the Amazon Product API cost?
Ask AI about SocialCrawl
Ready to scrape Amazon Product data?
Get your API key and start pulling Amazon data in under 60 seconds.
