Search

One page of Amazon search results in any of 22 Amazon stores: each product's ASIN, title, price, list price, rating, number of ratings, "bought in past month", badges and position.

Try it in the dashboard 10 free credits when you sign up, no card.

GET/v1/amazon/search

Costs 1 credit per request. Only requests that return data are charged.

Parameters

NameTypeDescription
qrequired string What you would type into Amazon's search box, up to 200 characters.
countryoptional string The Amazon store to search, by country code: US, UK, DE, FR, IT, ES, NL, BE, IE, SE, PL, TR, CA, MX, BR, JP, IN, AU, SG, AE, SA, EG. Without it: US (amazon.com). Prices come back in the store's currency.
sortoptional string relevance: Amazon's own order (Featured). price-low, price-high: by price. reviews: by average customer review. newest: newest arrivals. bestsellers: by sales. One of: relevance, price-low, price-high, reviews, newest, bestsellers. Default: relevance.
pageoptional integer Which results page, 1 to 20 (Amazon shows at most 20). Default: 1. From 1 to 20.

Example request

curl "https://pipefetch.com/v1/amazon/search?q=wireless+mouse" \
  -H "x-api-key: YOUR_API_KEY"

Example response

A real answer to the request above. Long texts and lists are shortened here, and the people who wrote comments, reviews or posts are replaced by a stand-in.

200 OK · application/json
{
  "data": {
    "search": {
      "q": "wireless mouse",
      "country": "US",
      "sort": "relevance",
      "page": 1,
      "totalResults": 48238
    },
    "products": [
      {
        "position": 1,
        "organicPosition": 1,
        "asin": "B07CMS5Q6P",
        "title": "Logitech G305 LIGHTSPEED Wireless Gaming Mouse, Hero 12K Sensor - Black",
        "subtitle": "12,000 DPI, lightweight, 6 programmable buttons, 250h battery life, on-board memory, PC/Mac, lightweight gaming mouse",
        "brand": null,
        "url": "https://www.amazon.com/dp/B07CMS5Q6P",
        "price": 26.99,
        "currency": "USD",
        "listPrice": 49.99,
        "listPriceLabel": "List:",
        "discountPercent": 46,
        "unitPrice": null,
        "unitPriceUnit": null,
        "rating": 4.6,
        "reviewCount": 40865,
        "boughtPastMonth": 10000,
        "isSponsored": false,
        "isAmazonChoice": true,
        "amazonChoiceLabel": "Overall Pick",
        "isBestSeller": false,
        "bestSellerCategory": null,
        "badges": [
          "Limited time deal",
          "Amazon's Choice: Overall Pick"
        ],
        "coupon": null,
        "promotion": null,
        "delivery": "Join Prime to get FREE delivery Thu, Dec 3",
        "fastestDelivery": "Or Non-members get FREE delivery Sun, Dec 6 on $35 of items shipped by Amazon",
        "variations": null,
        "otherOffers": "17+ used & new offers",
        "otherOffersFrom": 25.37,
        "image": "https://m.media-amazon.com/images/I/51sg9BLSMTL._AC_UY654_QL65_.jpg"
      },
      {
        "position": 2,
        "organicPosition": 2,
        "asin": "B09Y8K2HJN",
        "title": "HP X3000 G3 Wireless Mouse - Black, 15-Month Battery, Side Grips for Control, Travel-Friendly, Blue LED, Powerful 1600 DPI Optical Sensor, Compatible …",
        "subtitle": null,
        "brand": null,
        "url": "https://www.amazon.com/dp/B09Y8K2HJN",
        "price": 11.99,
        "currency": "USD",
        "listPrice": 18.99,
        "listPriceLabel": "List:",
        "discountPercent": 37,
        "unitPrice": null,
        "unitPriceUnit": null,
        "rating": 4.5,
        "reviewCount": 11206,
        "boughtPastMonth": 10000,
        "isSponsored": false,
        "isAmazonChoice": false,
        "amazonChoiceLabel": null,
        "isBestSeller": false,
        "bestSellerCategory": null,
        "badges": [],
        "coupon": null,
        "promotion": null,
        "delivery": "Join Prime to get FREE delivery Thu, Dec 3",
        "fastestDelivery": "Or Non-members get FREE delivery Sun, Dec 6 on $35 of items shipped by Amazon",
        "variations": null,
        "otherOffers": null,
        "otherOffersFrom": null,
        "image": "https://m.media-amazon.com/images/I/610qzHRTFOL._AC_UY654_QL65_.jpg"
      }
    ]
  },
  "credits": {
    "used": 1,
    "remaining": 99
  }
}

Good to know

  • One request is one page of results, as Amazon shows it: 16 to 60 products depending on the kind of product. Ask for page=2, page=3 and so on for more; each page is a request.
  • position is the place on the page among all products, ads included; organicPosition leaves ads out and is null for an ad. isSponsored marks ads that Amazon shows as product cards. Sponsored brand banners and video ads are not products and are not returned.
  • reviewCount is the exact number of ratings, not the rounded "(40.8K)" Amazon prints. boughtPastMonth is Amazon's "10K+ bought in past month" as a number (10000); Amazon rounds it down.
  • Outside the United States, Amazon hides the price of a product it does not deliver to the United States, where the endpoint reads from. Such products come back with price null; everything else is filled. On amazon.com almost every product has a price.
  • A search with no results answers 404 no_results and costs nothing. When Amazon refuses the page, the request answers 502 upstream_error, costs nothing and can be sent again.

Errors

Every error has the same shape, and none of them is charged. The full list is in the error reference.

Looking for an overview and use cases? See the Amazon Search API page.