SerpBase
Back to Blog

Amazon Search API: Product Results, Prices and Ratings as JSON

Get the Amazon search results page as JSON: ASINs, prices, list prices, ratings, review counts and badges. Tested request, sample fields and a price snapshot script.

November 24, 2026
By SerpBase Team2 min read

Short answer: POST a keyword to /amazon/search and you get the Amazon results page as JSON — product IDs (ASINs), titles, prices, list prices, ratings, review counts, badges and delivery text, in the order Amazon shows them.

Amazon's own Product Advertising API is tied to an Associates account and its sales requirements, which is why most price trackers and research tools read the public search page instead.

The request

curl -X POST 'https://api.serpbase.dev/amazon/search' \
  -H 'Content-Type: application/json' \
  -H 'X-API-Key: YOUR_API_KEY' \
  -d '{"q":"wireless headphones","domain":"amazon.com"}'

domain picks the marketplace, for example amazon.com. Send page for later pages; pagination.has_more tells you whether there is one.

What comes back

We ran this on 24 November 2026: 16 products in 2.5 seconds. Each item in products looks like this (trimmed):

{
  "position": 1,
  "id": "B0GHY4PR3N",
  "title": "JBL Tune 530BT (2026) – Wireless On-Ear Bluetooth Headphones (Black)",
  "price": {"amount": "29.95", "display": "$29.95", "symbol": "$"},
  "list_price": {"amount": "59.95", "display": "$59.95", "symbol": "$"},
  "rating": 4.3,
  "reviews_count": "328",
  "sales_display": "10K+ bought in past month",
  "badges": ["Overall Pick"],
  "link": "https://www.amazon.com/JBL-Tune-530BT-Ear-Headphones/dp/B0GHY4PR3N/"
}

Items also carry variants (for example other colours, each with its own ASIN), media (image URLs) and delivery.text.

Python: a small price snapshot

import csv, requests

r = requests.post(
    "https://api.serpbase.dev/amazon/search",
    headers={"X-API-Key": "YOUR_API_KEY"},
    json={"q": "wireless headphones", "domain": "amazon.com"},
    timeout=60,
).json()

with open("snapshot.csv", "w", newline="") as f:
    w = csv.writer(f)
    w.writerow(["position", "asin", "price", "list_price", "rating", "title"])
    for p in r.get("products", []):
        w.writerow([p["position"], p["id"],
                    (p.get("price") or {}).get("amount"),
                    (p.get("list_price") or {}).get("amount"),
                    p.get("rating"), p["title"]])

Run it on a schedule and you have a price and position history per keyword.

Things that trip people up

  • Not every item has a price. Out-of-stock listings and some multi-seller listings show none, so treat price as optional.
  • reviews_count and amount are strings. Convert them before doing arithmetic.
  • Results depend on the delivery location. The response includes the location Amazon applied to the page.
  • position is the order on the page. Items also carry attributes.organic_position.

Related endpoints

/amazon/product returns one product page by ASIN, and /amazon/autocomplete returns the search-box suggestions shoppers see.

Cost and limits

Each request costs 2 credits. Requests that fail are not charged. The response is always HTTP 200 with a status field: 0 means success, anything else comes with an error string, so check status rather than the HTTP code. New accounts get 500 free credits without a card.