Product

An amazon.com product by ASIN: title, brand, price, list price, rating, review count, availability, seller and feature bullets.

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

GET/v1/amazon/product

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

Parameters

NameTypeDescription
asinrequired string ASIN, the 10-character product id (B00FLYWNYQ), or an amazon.com product URL that contains it (/dp/B00FLYWNYQ or /gp/product/B00FLYWNYQ). The product is read on amazon.com; a URL of another Amazon marketplace is not accepted.

Example request

curl "https://pipefetch.com/v1/amazon/product?asin=B00FLYWNYQ" \
  -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": {
    "asin": "B00FLYWNYQ",
    "url": "https://www.amazon.com/dp/B00FLYWNYQ",
    "country": "us",
    "marketplace": "amazon.com",
    "title": "Instant Pot Duo 6 Qt 7-in-1 Electric Pressure Cooker, Stainless Steel",
    "brand": "Instant Pot",
    "category": "Home & Kitchen",
    "breadcrumbs": [
      "Home & Kitchen",
      "Kitchen & Dining"
    ],
    "price": 96.79,
    "listPrice": 109.99,
    "discountAmount": 13.2,
    "discountPercent": 12,
    "currency": "USD",
    "formattedPrice": "$96.79",
    "rating": 4.7,
    "reviewCount": 186710,
    "inStock": true,
    "availability": "In Stock",
    "soldBy": "Amazon.com",
    "shipsFrom": "Amazon.com",
    "soldByAmazon": true,
    "bestSellersRank": [],
    "bullets": [
      "7-IN-1 FUNCTIONALITY: Pressure cook, slow cook, rice cooker, yogurt maker, steamer, sauté pan and food warmer.. PFOA/PTFE-free cooking.",
      "QUICK ONE-TOUCH COOKING: 13 customizable Smart Programs for pressure cooking ribs, soups, beans, rice, poultry, yogurt, desserts and more."
    ],
    "description": null,
    "imageCount": 6,
    "hasVideo": true,
    "hasAPlusContent": false,
    "variantAsins": [
      "B06Y1YD5W7"
    ]
  },
  "credits": {
    "used": 1,
    "remaining": 99
  }
}

Good to know

  • The endpoint reads amazon.com, the United States store, with prices in US dollars. Other Amazon marketplaces are not offered yet: a URL of another marketplace is refused, and an ASIN that amazon.com does not list answers 404 product_not_found.
  • price is the price of the offer Amazon features on the product page. listPrice and the discount fields are filled only when Amazon shows a higher crossed-out price. When the page features no offer, price, soldBy and shipsFrom are null.
  • Reviews themselves are not included: rating is the average star rating and reviewCount the number of ratings Amazon shows beside it. The addresses of the product images are not included either, only imageCount.
  • bestSellersRank lists the categories Amazon ranks the product in, the top-level department first. It is an empty list when the page Amazon serves carries no rank, and description is null when the listing has no description block. Both are the case in the sample response.
  • Amazon sometimes answers with a bot check instead of the product. The request then fails with 502 upstream_error, costs nothing and can be retried.

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 Product API page.