# Offers & offer check

> For AI agents: the index of these docs is at https://scrapelyserp.com/docs/llms.txt (every page it lists has a Markdown version like this one).

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 {#overview}

| Question | Endpoint | Per call | Typical per item | Live on |
| --- | --- | --- | --- | --- |
| Who sells this, at what price, and who holds the buy box? | `POST /v1/offers` | 1–100 ids | about 150,000 ids per credit | Amazon (`us`) |
| The same, for one product page | `GET /v1/products/{id}/offers` | 1 id | about 150,000 per credit | Amazon (`us`) |
| Can I still buy this exact offer right now? | `POST /v1/offers/check` | 1–2,000 offers | about 8 million offers per credit | Amazon (`us`) |

All three take `platform` and `marketplace` like every item endpoint and answer in the same [envelope](/docs/responses#envelope), charged for the data they move ([Credits](/docs/credits)). Where they are not live yet they answer `501` with `"coming_soon": true` and charge nothing.

## Every offer on a listing {#offers}

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 a `lite` ASIN; one with more costs more, since every offer is read. `totalOffers` says 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.
- **`condition`** filters to `new` or `used` (every non-new condition). It filters the offers read, so on very crowded listings a `used` request may not see every used offer. `buyboxOfferListingId` is 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 `unavailable` and cost nothing.

:::codeGroup{syncKey="lang"}
```bash title="cURL"
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"}'
```
```python title="Python"
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))
```
```javascript title="Node.js"
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`](/reference/offers#get-offers), [`GET /v1/products/{id}/offers`](/reference/offers#get-product-offers)

## Offer check {#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 |
| --- | --- |
| `buyable: true` | The retailer accepts this exact offer for purchase now. Scarce, back-ordered and pre-order offers count. |
| `buyable: false` | It cannot be bought: pulled, sold out, or not a real offer id. The answer does not say which. |
| `status: "unavailable"` | No answer this time, so nothing was charged for it: ask again. |

:::hint{style="warning" title="A yes or no, not a price"}
The answer carries no price or stock level: read those from [Product data](/docs/products). 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](/docs/watchlists#pipelines), 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`](/reference/offers#check-offers)

---

## For AI agents

- This page for a human reader: https://scrapelyserp.com/docs/offers
- The whole space as one Markdown file: https://scrapelyserp.com/docs/llms-full.txt
- Live search + fetch over MCP: https://scrapelyserp.com/docs/_api/public/orgs/affc5b0f-d3c2-423a-8143-9d10db5736ae/spaces/981e6275-da3f-446c-82de-889f59c83b6f/mcp
  - Install (Claude CLI): `claude mcp add scrapely --transport http https://scrapelyserp.com/docs/_api/public/orgs/affc5b0f-d3c2-423a-8143-9d10db5736ae/spaces/981e6275-da3f-446c-82de-889f59c83b6f/mcp`

This Markdown is the same content the page renders — safe to quote and to ground answers in.
