Skip to content
Scrappa Get API key
reBuy API 1 credit / request

reBuy Recommended Product API Documentation

GET https://scrappa.co/api/rebuy/compare

Get a recommended comparable product for the numeric id from a search result. The requested id is echoed as source_id. Returns the buy price and the sell-to-us price per condition grade A0 to A4. Prices are numbers in EUR. One credit per successful request. Failed requests are not billed.

reBuy Recommended Product API Documentation 1 credit / request

Endpoint

Request preview
GET
https://scrappa.co/api/rebuy/compare
Auth header
x-api-key
Cost
1 credit / request
id = 1234567890
Response preview
200 OK
{
    "data": {
        "id": 12684558,
        "source_id": 15331709,
        "conditions": [
            {
                "grade": "A0",
                "label": "A0",
                "buy_price": {
                    "amount": 4.95,
                    "currency": "EUR"
                },
                "sell_price": {
                    "amount": 2.5,
...

Parameters

Start with the required fields, then add optional filters only when your use case needs them.

Runnable path

1 required parameter needed before sending a request.

id integer Required

Product id from a reBuy search result

Example value 1234567890

Response Schema

Example response fields are illustrative; inspect the JSON before integrating.

Example response fields

Scan these fields before integrating.

data meta success
JSON Response
200 OK
{
    "data": {
        "id": 12684558,
        "source_id": 15331709,
        "conditions": [
            {
                "grade": "A0",
                "label": "A0",
                "buy_price": {
                    "amount": 4.95,
                    "currency": "EUR"
                },
                "sell_price": {
                    "amount": 2.5,
                    "currency": "EUR"
                }
            }
        ]
    },
    "meta": {
        "billable": true,
        "endpoint_family": "compare"
    },
    "success": true
}

Errors

Handle these documented responses before retrying or showing customer-facing failures.

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.

Generate Code with AI

Copy a ready-made prompt with all the endpoint details, parameters, and example responses. Paste it into ChatGPT, Claude, or any AI assistant to instantly generate working code.

Try It Live

Test this endpoint in our interactive playground with real data.