Skip to main content
You don’t need to write a prompt or a schema for Amazon. Send a link with "output": "json" and the price, rating, seller and stock come back as fields you can save straight away.

Scrape a product

Send the product link to Scrape with "output": "json":
When the job finishes, result.content holds the product. Here it is, shortened:
price is a number, so you can sort or compare it without parsing "$8.97" yourself. priceText keeps the price as Amazon shows it. listPrice is the struck-through price, and it’s null when the product isn’t discounted. This costs 1 credit. If Amazon can’t show the page (the product doesn’t exist on that marketplace, for example), the job fails with a message and you aren’t charged. If you leave output out, you get the page as Markdown instead, and the same fields are in result.data[0].structuredData.

Pick your own fields

You don’t have to take every field. Add a prompt or a schema and you get only what you ask for, named your way, as on any other page:
The AI that shapes the result costs about 1 more credit. Structured output explains how schemas work. You can paste product links in any shape you copy them: /dp/, /gp/product/, mobile links, or long links with the product name and ref= tracking in them. Other Amazon pages come back as Markdown.

Fields on each page

Products in different categories show different sections, so not every product has every field. A field the page doesn’t show comes back as null or an empty list. For example, the cable above has no “Top reviews” section, so topReviews is []. When a product page does show reviews, you usually get 8 to 13 of them.

Marketplaces

Every Amazon storefront works: amazon.com, .ca, .com.mx, .com.br, .co.uk, .ie, .de, .fr, .it, .es, .nl, .com.be, .se, .pl, .com.tr, .ae, .sa, .eg, .in, .co.jp, .sg, .com.au and .co.za. Prices and stock are what a shopper in that country sees, in the local currency. You don’t need to set proxyCountry for this.

Delivery location

Amazon decides availability, delivery dates and sometimes the price from the delivery address. If you don’t set one and Amazon says the product can’t ship to your location, Spidra sets the marketplace’s main postcode instead (10001 on amazon.com, SW1A 1AA on amazon.co.uk). To check a specific postcode, add deliveryZip to the URL:
deliverTo in the result then shows that address, and the delivery estimate is for it. Amazon shortens long place names, so you’ll see something like "Beverly H... 90210". If the postcode couldn’t be set, the result includes "warnings": ["deliveryZip was not applied to this page."]. deliveryZip works on Scrape only. Batch scrape doesn’t support it yet.

Reviews

Amazon only shows its full review pages (with paging, star filters and newest first) to signed-in shoppers. Without signing in, you still get the rating, the star breakdown, the “Customers say” summary and the reviews on the product page itself. To read the full review pages, pass the cookies from your own signed-in Amazon session on the same marketplace:
If the cookies are missing or expired, the job fails with a message and you aren’t charged. Logged-in pages shows how to copy cookies from your browser.

What doesn’t work

  • Sign-in, account, cart and checkout pages.
  • Product questions and answers, since Amazon doesn’t show them publicly.
  • More than one page of search results per link. Each search link returns one page, so use narrower searches or Amazon’s filters to reach more products.
  • A few products with their own layout, such as subscription plans. These come back as Markdown without the product fields.

Templates

If you’d rather fill in a form than write requests, the Amazon templates cover product details, search results, best sellers, offers from all sellers, top reviews, and where a product ranks for a keyword.
Check Amazon’s terms before you collect data from it. You’re responsible for how you use what you collect. Spidra isn’t affiliated with Amazon.