Short answer: POST the ASIN to /amazon/product and you get the product page as JSON: title, price, list price, availability, rating, seller, delivery, images, bullet points and variants. One request per ASIN, 2 credits.
The request
curl -X POST 'https://api.serpbase.dev/amazon/product' \
-H 'Content-Type: application/json' \
-H 'X-API-Key: YOUR_API_KEY' \
-d '{"asin":"B09B8V1LZ3","domain":"amazon.com"}'
What comes back
Run on 29 November 2026; the answer took 4.2 seconds (shortened):
{
"status": 0,
"credits_charged": 2,
"url": "https://www.amazon.com/dp/B09B8V1LZ3?psc=1&th=1",
"product": {
"id": "B09B8V1LZ3",
"parent_id": "B0BF73CTQF",
"title": "Amazon Echo Dot (5th gen), Vibrant sounding speaker, Great for bedrooms, dining rooms and offices, Designed for Alexa+, Charcoal",
"price": {"amount": "39.99", "display": "$39.99 with 50 percent savings", "symbol": "$"},
"list_price": {"amount": "79.99", "display": "$79.99", "symbol": "$"},
"availability": "In Stock",
"rating": 4.7,
"badges": ["Amazon's Choice"],
"sales_display": "10K+ bought in past month",
"seller": {"name": "Amazon.com"},
"delivery": {"date": "December 5 - 9", "free": true, "text": "FREE delivery December 5 - 9 Or fastest delivery December 4 - 7"},
"returns": {"text": "FREE refund/replacement until Jan 31, 2027"},
"selected_variant_id": "B09B8V1LZ3"
}
}
The same answer also had highlights (6 bullet points), media (23 images), variants (8 colour and size options, each with its own ASIN and link), offers and brand.
Four ASINs, same day
| ASIN | Product | price.amount | availability | rating | Time |
|---|---|---|---|---|---|
| B0BDHWDR12 | Apple AirPods Pro (2nd Gen) | 266.00 | In Stock | 4.7 | 3.6 s |
| B09B8V1LZ3 | Echo Dot (5th gen) | 39.99 (list 79.99) | In Stock | 4.7 | 4.2 s |
| B08C1W5N87 | Fire TV Stick | none | Currently unavailable. | 4.7 | 19.5 s |
| B07FZ8S74R | Echo Dot (3rd Gen) | none | Currently unavailable. | 4.7 | 4.7 s |
All four succeeded. The two discontinued products came back with "sold_out": true, an empty delivery object and no price, offers or seller at all. The AirPods page, sold by a third party, also had seller.id and a specifications table of 9 rows (model number, weight, date first available).
Python: price check for a list of ASINs
import time, requests
API = "https://api.serpbase.dev"
HEADERS = {"X-API-Key": "YOUR_API_KEY"}
def amazon_product(asin, domain="amazon.com"):
r = requests.post(API + "/amazon/product", headers=HEADERS, timeout=60,
json={"asin": asin, "domain": domain}).json()
if r["status"] != 0:
raise RuntimeError(f'{asin}: {r.get("error")}')
return r["product"]
for asin in ["B09B8V1LZ3"]:
p = amazon_product(asin)
if p.get("id") != asin:
print(asin, "-> page is for another product:", p.get("id"))
continue
if p.get("sold_out") or "price" not in p:
print(asin, "| unavailable |", p["title"][:50])
else:
was = p.get("list_price", {}).get("amount")
print(asin, "|", p["price"]["amount"], "| list", was, "|", p["availability"],
"| rating", p.get("rating"), "|", p["title"][:50])
time.sleep(1)
Our run printed B09B8V1LZ3 | 39.99 | list 79.99 | In Stock | rating 4.7 | Amazon Echo Dot (5th gen), ....
Things that trip people up
- Read
price.amount, notprice.display. The display text can carry extra words:$39.99 with 50 percent savings. - No price is normal for an unavailable product. The key is absent, not null or zero. Check
sold_outand use.get. - Keys vary by page.
list_price,variants,specifications,seller.idandsales_displayappear only when the page has them. brandis the byline as printed:Brand: Amazonon one page,Visit the Apple Storeon another. Strip the prefix, or take the brand fromspecificationswhen it is there.- Check the ASIN list before a big run. A placeholder ASIN we made up (
B000000000) did not fail: Amazon served a page at that address, so the answer wasstatus0 and charged. A wrong ASIN costs the same as a right one. - Review texts are not in this answer. You get the overall
rating; this endpoint does not return individual reviews. - We tested
amazon.comonly. Other marketplaces go indomain; test yours before relying on it.
Related
To find ASINs by keyword first, use Amazon search; for keyword ideas, Amazon autocomplete. The same pattern for another retailer: Walmart product API.
Cost and limits
2 credits per product; failed requests are not charged. Credits cost $0.25–$0.50 per 1,000 depending on the plan, so 1,000 product lookups are 2,000 credits. New accounts get 500 free credits without a card.
- Parameters: Amazon product docs
- Try it in the browser: Amazon product details
- Credit packs: pricing