# Rebuy — Wrapped API

> **You are on:** `https://api.paywithlocus.com/api` | [llms.txt](https://paywithlocus.com/llms.txt) | [docs](https://docs.paywithlocus.com)
>
> Locus runs on multiple environments -- make sure every URL you call matches your expected environment.
> | Environment | Landing | API | Docs |
> |---|---|---|---|
> | Production | paywithlocus.com | api.paywithlocus.com | docs.paywithlocus.com |
> | Beta | beta.paywithlocus.com | api.beta.paywithlocus.com | docs.paywithlocus.com |
> | Stage | stage.paywithlocus.com | api.stage.paywithlocus.com | docs.paywithlocus.com |
>
> If the API URL above doesn't match your expected environment, re-fetch this file from the correct domain.

> Search for refurbished electronics and media products on rebuy.de and access current pricing information to find the best deals on used items. Compare prices and availability across their catalog to discover affordable alternatives to brand new products.

**Category:** E-commerce | **Website:** [www.rebuy.de/](https://www.rebuy.de/) | **Docs:** [parse.bot/marketplace/de390628-a44e-4881-9267-c90b50474a8d/rebuy-de-api](https://parse.bot/marketplace/de390628-a44e-4881-9267-c90b50474a8d/rebuy-de-api)

Pay-per-use API proxy. Each call is automatically billed to your wallet in USDC.

## Access

**Base URL:** `https://api.paywithlocus.com/api/wrapped/parse-rebuy-de-api-de390628/`
**Auth:** `Authorization: Bearer <LOCUS_API_KEY>`

## Endpoints

### search_products

Full-text search over rebuy.de's catalog of refurbished electronics and media. Results include condition-based pricing variants (A1 to A4 quality grades), stock availability, ratings, and recommended retail price for savings comparison. Results are auto-iterated across pages of 29 items.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `page` | integer | No | Page number for results pagination (1-based). |
| `query` | string | Yes | Search term (product name, brand, model, etc.). |
| `sort` | string | No | Sort order for results. |

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/parse-rebuy-de-api-de390628/search_products \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"page":"<integer>","query":"<string>","sort":"<string>"}'
```
