---
title: "reBuy API: Compare | Perceptlayer"
description: "Compare from reBuy as JSON. 1 credit per successful call."
url: https://perceptlayer.com/apis/rebuy/compare
---

[APIs](https://perceptlayer.com/apis) / [reBuy](https://perceptlayer.com/apis/rebuy) / Compare

# reBuy: Compare

Compare from reBuy as JSON. 1 credit per successful call.

GET `/v1/rebuy/compare`

## Parameters

Send parameters in the query string.

| Parameter | Type | Required | Allowed values |
| --- | --- | --- | --- |
| `id` | integer | Required | Any |

## Example request

reBuy

GET /v1/rebuy/compare?id=15331709 

```
{
  "success": true,
  "data": {
    "id": 15607940,
    "title": "Die geheimnisvolle Bäckerei in der rue de Paris",
    "url": "https://www.rebuy.de/i,15607940",
    "price": {
      "amount": 4.49,
      "original": 15.95,
      "discount_percent": 72,
      "currency": "EUR"
    },
    "conditions": [
      {
        "grade": "A0",
        "label": "A0",
        "buy_price": {
          "amount": 15.95,
          "currency": "EUR"
        },
        "quantity": 100
      },
      {
        "grade": "A1",
        "label": "A1",
        "buy_price": {
          "amount": 4.99,
          "currency": "EUR"
        },
        "sell_price": {
          "amount": 1.04,
          "currency": "EUR"
        },
        "quantity": 49
      },
      {
        "grade": "A2",
        "label": "A2",
        "buy_price": {
          "amount": 4.49,
          "currency": "EUR"
        },
        "sell_price": {
          "amount": 1.04,
          "currency": "EUR"
        },
        "quantity": 1
      }
    ],
    "sell_price": {
      "amount": 1.04,
      "currency": "EUR"
    },
    "rating": {
      "average": 0,
      "count": 0
    },
    "images": [
      "https://www.rebuy.de/rebuy-production-akeneo/7/a/c/f/7acf7a84ad4f3a327b2fe710c4a51c23c0115496_frontcover_media_file__REBUY__15607940__1.jpg?t=1775816162"
    ],
    "identifiers": {
      "isbn": "3985852790",
      "ean": "9783985852796"
    },
    "source_id": 15331709
  },
  "meta": {
    "endpoint_family": "compare",
    "duration_ms": 12240
  }
}
```

200 OK JSON X-Credits-Used: 1

Recorded 30 Nov 2026 and shortened.

[Run this endpoint in the playground](https://perceptlayer.com/apis/rebuy?try=compare#playground) with your own parameters. 1 credit per successful call; failed calls are free.

## Response fields

`data` has these 10 fields, read from a recorded call. The recording leaves out fields that were empty, so a live call can return more.

| Field | Type |
| --- | --- |
| `id` | integer |
| `title` | string |
| `url` | url |
| `price` | object |
| `conditions` | object\[\] |
| `sell_price` | object |
| `rating` | object |
| `images` | string\[\] |
| `identifiers` | object |
| `source_id` | integer |
