Offers & offer check
Product data tells you about the featured (buy-box) offer. Offers go one level down: every seller on a listing, and whether an exact offer can still be bought.
Product data tells you about the featured (buy-box) offer. Offers go one level down: every seller on a listing, and whether an exact offer can still be bought.
Three questions, three endpoints
Question | Endpoint | Per call | Typical per item | Live on |
|---|---|---|---|---|
Who sells this, at what price, and who holds the buy box? |
| 1–100 ids | about 150,000 ids per credit | Amazon ( |
The same, for one product page |
| 1 id | about 150,000 per credit | Amazon ( |
Can I still buy this exact offer right now? |
| 1–2,000 offers | about 8 million offers per credit | Amazon ( |
All three take platform and marketplace like every item endpoint and answer in the same envelope, charged for the data they move (Credits). Where they are not live yet they answer 501 with "coming_soon": true and charge nothing.
Every offer on a listing
For each id, /v1/offers returns up to 31 offers: the featured offer first, then the rest cheapest first. Each offer has its price, shipping, condition, seller (with rating), whether the retailer ships it, its stock and delivery lines, and an offerListingId that names exactly that offer.
Cost follows the answer: a listing with one offer or none (about half of all listings, and every
not_found) costs about as much as aliteASIN; one with more costs more, since every offer is read.totalOfferssays which. The call is estimated at the crowded-listing rate and charged for what it actually moved: one credit covers about 150,000 crowded listings.conditionfilters toneworused(every non-new condition). It filters the offers read, so on very crowded listings ausedrequest may not see every used offer.buyboxOfferListingIdis reported even when the filter hides the featured offer.Timing: a 100-id call usually takes well under a minute; allow 180 seconds. Ids not reached in time come back
unavailableand cost nothing.
- cURL
- Python
- Node.js
curl -X POST "https://api.scrapelyserp.com/v1/offers" \
-H "Authorization: Bearer $SCRAPELY_API_KEY" \
-H "Content-Type: application/json" \
-d '{"platform":"amazon","ids":["B0009KNLV6"],"condition":"new"}'import os
import requests
HEADERS = {"Authorization": f"Bearer {os.environ['SCRAPELY_API_KEY']}"}
r = requests.post(
"https://api.scrapelyserp.com/v1/offers",
headers=HEADERS,
json={"platform": "amazon", "ids": ["B0009KNLV6"], "condition": "new"},
timeout=180,
)
r.raise_for_status()
data = r.json()
cheapest = min(data["results"][0]["offers"], key=lambda o: o["price"] + (o.get("shipping") or 0))const res = await fetch('https://api.scrapelyserp.com/v1/offers', {
method: 'POST',
headers: {
Authorization: `Bearer ${process.env.SCRAPELY_API_KEY}`,
'Content-Type': 'application/json',
},
body: JSON.stringify({ platform: 'amazon', ids: ['B0009KNLV6'], condition: 'new' }),
signal: AbortSignal.timeout(180_000),
});
if (!res.ok) throw new Error((await res.json()).error.code);
const data = await res.json();
const cheapest = data.results[0].offers.toSorted((a, b) => a.price + (a.shipping ?? 0) - b.price - (b.shipping ?? 0))[0];Full reference → POST /v1/offers, GET /v1/products/{id}/offers
Offer check
Once you know which offers matter (the buy box you track, the seller you buy from), ask whether each one can still be bought, as often as you like, at about 8 million checks per credit. Send each offer as { asin, offerListingId }, exactly as a products result (buybox.offerListingId, Amazon lite and full) or an offers result returned it.
Answer | Means |
|---|---|
| The retailer accepts this exact offer for purchase now. Scarce, back-ordered and pre-order offers count. |
| It cannot be bought: pulled, sold out, or not a real offer id. The answer does not say which. |
| No answer this time, so nothing was charged for it: ask again. |
A yes or no, not a price
The answer carries no price or stock level: read those from Product data. Keep offer ids exactly as returned; a mistyped one reads the same as a gone offer.
2,000 offers usually take 15–20 seconds. In a watchlist, the amazon.offer_check scraper checks the buy-box offer an earlier step found, on every run, billed the same way.
Full reference → POST /v1/offers/check