# Get product offers

Return the current All Offers Display entries for an Amazon ASIN.

- Platform: [Amazon Commerce](https://docs.upscrape.com/docs/platforms/amazon)
- Capability ID: `amazon.product.offers`
- Cost: 1 credit per request
- Maximum runtime: 45 seconds
- Execute endpoint: `POST https://data.upscrape.com/execute`

## Request

Use the exact public capability ID in the shared execute envelope.

```bash
curl --request POST \
  --url https://data.upscrape.com/execute \
  --header "Authorization: Bearer YOUR_API_KEY" \
  --header "Content-Type: application/json" \
  --header "Prefer: wait=30" \
  --data '{
  "input": {
    "asin": "B0CP9YB3Q4",
    "limit": 20
  },
  "capability": "amazon.product.offers"
}'
```

## Input

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `asin` | `string` | Yes | Asin supplied for this request. |
| `limit` | `integer` | No | Maximum number of results to return. |

### Example input

```json
{
  "asin": "B0CP9YB3Q4",
  "limit": 20
}
```

## Response

Successful output is returned in `results[0].data`. Raw platform output is intentionally open-ended and may evolve with the upstream source.

### Illustrative sample output

This redacted fixture is an example, not a fixed response schema.

```json
{
  "asin": "B0CP9YB3Q4",
  "has_next": false,
  "offers": [
    {
      "asin": "B0CP9YB3Q4",
      "condition": "New",
      "currency": "USD",
      "delivery": "FREE delivery Friday, August 21 on orders shipped by Amazon over $35",
      "position": 1,
      "price": "$31.00",
      "prime": false,
      "seller_id": "AS3PH96JPNM1O",
      "seller_name": "Sold by BH Prime Seller rating is 5 out of 5 stars (1794 ratings) 98% positive over last 12 months",
      "ships_from": "Ships from Amazon.com"
    }
  ],
  "source": "All Offers Display AJAX fragment"
}
```
### Illustrative output fields

Derived from the sample above for orientation only. These fields are not a fixed response schema.

| Path | Observed type | Example |
| --- | --- | --- |
| `asin` | `string` | B0CP9YB3Q4 |
| `has_next` | `boolean` | false |
| `offers` | `array` | 1 items |
| `offers` | `array` | 1 items |
| `source` | `string` | All Offers Display AJAX fragment |

## Execution behavior

A `200` response completed inline. A `202` response was queued; poll `GET /jobs/{id}` until the job reaches `completed` or `failed`. Use an `Idempotency-Key` when retrying must not create a duplicate logical job.

## Related documentation

- [Authentication](https://docs.upscrape.com/docs/api/authentication)
- [Jobs and results](https://docs.upscrape.com/docs/api/jobs)
- [Errors and retries](https://docs.upscrape.com/docs/api/errors)
- [Idempotency](https://docs.upscrape.com/docs/api/idempotency)
