Amazon Search API
Send the words of a search and get the Amazon results page back as JSON: every product with its ASIN, title, price and list price, star rating, exact number of ratings, "bought in past month", Best Seller and Amazon's Choice badges, and its position, organic and with ads. Any of 22 Amazon stores, any page from 1 to 20.
- 10 free credits
- No card needed
- No scraper to build or maintain
curl "https://pipefetch.com/v1/amazon/search?q=wireless+mouse" \
-H "x-api-key: YOUR_API_KEY"const res = await fetch('https://pipefetch.com/v1/amazon/search?q=wireless+mouse', {
headers: { 'x-api-key': process.env.PIPEFETCH_API_KEY },
});
const { data, credits } = await res.json();import os, requests
res = requests.get(
"https://pipefetch.com/v1/amazon/search",
params={"q": "wireless mouse"},
headers={"x-api-key": os.environ["PIPEFETCH_API_KEY"]},
)
data = res.json()["data"]What you get
- One page of results as Amazon shows it, 16 to 60 products, each with its position and its organic position (ads left out of the count)
- ASIN, title, the line under the title, brand where Amazon shows one, and a clean product link
- Price, crossed-out list price with its label ("List:" or "Typical:"), discount, unit price, coupon and multi-buy promotion
- Star rating, the exact number of ratings, and "bought in past month" as a number
- Ad, Best Seller (with its category) and Amazon's Choice flags, every other badge, the delivery promise and the image
{
"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
}
}One GET request
Everything the endpoint accepts. The full reference, with the complete example response, is in the docs.
GET/v1/amazon/search
Costs 1 credit per request. Only requests that return data are charged.
Parameters
| Name | Type | Description |
|---|---|---|
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. |
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.
What people build with it
Keyword rank tracking
Search for your keywords on a schedule and store where your ASINs stand, organically and with ads, page by page.
Product and niche research
Compare the prices, ratings, number of ratings and monthly purchases of everything Amazon shows for a search.
Price and deal monitoring
Watch list prices, discounts, coupons and promotions across a category, in any of 22 Amazon stores.
Product search for AI agents
An agent that shops or compares products gets Amazon's results for a query in one tool call.
Buy credits once. Use them whenever.
This endpoint costs 1 credit per request, and a request that returns no data costs nothing. Move the slider to see what your volume costs.
A request costs 1 credit. Requests that return nothing are free.
- $2.42 per 1,000 credits
- About $12.08 a month at this pace
- Lasts about 2.4 months at this pace
- Credits never expire
Questions and answers
Is this the official Amazon API?
No. Pipefetch is an independent service and is not affiliated with Amazon. It returns what Amazon's public search page shows to a visitor who is not signed in. You need no Amazon account and no Product Advertising API access: one Pipefetch API key is enough.
Which Amazon stores can I search?
US, UK, DE, FR, IT, ES, NL, BE, IE, SE, PL, TR, CA, MX, BR, JP, IN, AU, SG, AE, SA and EG, chosen with country. Prices come back in the store's own currency.
Why is the price null for some products?
Amazon hides the price of a product it does not deliver to the visitor's country, and the endpoint reads from the United States. On amazon.com almost every product has a price; in other stores, products that are not delivered to the United States come back with price null and everything else filled.
How many products does a request return, and how do I get more?
One request is one results page, 16 to 60 products depending on the kind of product. Send page=2, page=3 and so on, up to Amazon's limit of 20 pages; each page is a request.
Are ads included?
Products Amazon shows as sponsored product cards are included and flagged with isSponsored, and organicPosition leaves them out. Sponsored brand banners and video ads are not products and are not returned.
What if Amazon refuses the page, or the search has no results?
A refused page answers 502 upstream_error, costs nothing and can be sent again. A search with no results answers 404 no_results and costs nothing either.
What does a request cost?
One request costs 1 credit. Credit packs start at $9 for 3,000 credits, never expire, and a request that returns no data is not charged. New accounts get 10 free credits without a card.
More Amazon APIs
-
1 credit / 50
Amazon Best Sellers API
An Amazon Best Sellers, New Releases, Movers & Shakers, Most Wished For or Most Gifted list, top 100, in any of 22 Amazon stores: rank, ASIN, title, price, rating and number of ratings.
GET /v1/amazon/bestsellers -
1 credit
Amazon Product API
An amazon.com product by ASIN: title, brand, price, list price, rating, review count, availability, seller and feature bullets.
GET /v1/amazon/product
Other sources
YouTubeInstagramWebsitesTikTokFacebookGoogleThreadsLinkedInApp storesSteamXPinterestAirbnbReal estateKeywordsJob boardsEventbriteShopify storesPublic tendersTrustpilotProduct HuntAudio & video
Make your first request in a minute
Sign in, copy your key and call an endpoint. Your account starts with 10 free credits.