# reBuy Product API Documentation

<p>Open one public reBuy product by its numeric id, or by the url from a search result. Category and slug are optional. Returns the buy price per grade A0 to A4, the sell-to-us price, rating, identifiers, full size image URLs and the public schema fallback. Prices are numbers in EUR and dates use ISO 8601. One credit per successful request. Failed requests are not billed.</p>

- **Documentation:** [https://scrappa.co/docs/rebuy-api/rebuy_product](https://scrappa.co/docs/rebuy-api/rebuy_product)
- **API group:** reBuy API
- **Endpoint:** `GET https://scrappa.co/api/rebuy/product`

## Authentication

Send your Scrappa API key in the `X-API-KEY` request header. Paid endpoints also support accountless x402 payments when called without an API key.

## Parameters

| Parameter | Type | Required | Description |
| --- | --- | --- | --- |
| `url` | string | No | Product url from a reBuy search result |
| `id` | integer | No | Numeric product id from a reBuy search result |
| `category` | string | No | Category segment from the product url |
| `slug` | string | No | Slug segment from the product url |

## Example response

```json
{
    "data": {
        "id": 15331709,
        "price": {
            "amount": 4.95,
            "currency": "EUR"
        },
        "title": "The Vanishing Bookshop",
        "conditions": [
            {
                "grade": "A0",
                "buy_price": {
                    "amount": 4.95,
                    "currency": "EUR"
                }
            }
        ]
    },
    "meta": {
        "billable": true,
        "endpoint_family": "product"
    },
    "success": true
}
```

## Errors

| Status | Error | Description |
| --- | --- | --- |
| 404 | Not Found | No product exists for this id. Failed requests are not billed. |
| 503 | Upstream Unavailable | The source is temporarily unreachable. Failed requests are not billed. |

## More Scrappa resources

- [API documentation](https://scrappa.co/docs)
- [Full LLM-readable API reference](https://scrappa.co/llms-full.txt)
- [OpenAPI specification](https://scrappa.co/docs/api.json)
- [Pricing](https://scrappa.co/pricing)
