# Reebelo — 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 Reebelo's refurbished products, browse categories and brands, check real-time pricing and condition-based costs, read customer reviews, and discover current deals all in one place. Get detailed product information including SKU prices and collections to compare and find the best secondhand electronics and accessories.

**Category:** E-commerce | **Website:** [reebelo.com/](https://reebelo.com/) | **Docs:** [parse.bot/marketplace/29b467b0-91da-4be3-aa01-f6752ec95e92/reebelo-com-api](https://parse.bot/marketplace/29b467b0-91da-4be3-aa01-f6752ec95e92/reebelo-com-api)

Pay-per-use API proxy for Locus Pro. Each call burns credits from your workspace balance.

## Access

**Base URL:** `https://api.paywithlocus.com/api/wrapped/credits/reebelo/`
**Auth:** `Authorization: Bearer <LOCUS_CREDITS_SECRET_KEY>` (an `lcr_` secret key or a scoped `lcac_` agent credential)
**Required header:** `Idempotency-Key: <fresh UUID per call>`. A retry with the same key replays the stored result without a new charge.
**Response:** the provider response after any endpoint-specific normalization. `X-Locus-Credits-Charged` carries the charge and `X-Locus-Credits-Balance` the remaining balance. Insufficient credits return `402` before the provider is called.
**Pricing:** estimated costs below are USD. Locus debits the credit equivalent at your workspace rate.

Full call contract: https://docs.paywithlocus.com/api-reference/introduction

> Using a Pay With Locus wallet key (`claw_` prefix)? Wallet routes are documented separately: https://docs.paywithlocus.com/wrapped-apis/for-agents

## Endpoints

### Get all categories

Retrieve all top-level and sub-categories available on Reebelo, including nested children and category PKs for use with other endpoints.

**Estimated cost:** Metered

_No parameters required._

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/credits/reebelo/get-all-categories \
  -H "Authorization: Bearer $LOCUS_CREDITS_SECRET_KEY" \
  -H "Idempotency-Key: $(uuidgen)" \
  -H "Content-Type: application/json" \
  -d '{}'
```

### Get category brands

Retrieve all available brands for a category or collection slug, with offer counts per brand.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `slug` | string | Yes | Category or collection slug (e.g. 'smartphones', 'laptops', 'tablets') |

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/credits/reebelo/get-category-brands \
  -H "Authorization: Bearer $LOCUS_CREDITS_SECRET_KEY" \
  -H "Idempotency-Key: $(uuidgen)" \
  -H "Content-Type: application/json" \
  -d '{"slug":"<string>"}'
```

### Get collection by brand

Retrieve products filtered by a specific brand ID. Returns paginated SKU items for the given brand.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `brand_id` | string | Yes | Brand ID from get_category_brands (e.g. 'brd-merms4aeBz6hYtWCral7Vps' for Apple) |
| `limit` | integer | No | Max results per page. |
| `offset` | integer | No | Pagination offset. |

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/credits/reebelo/get-collection-by-brand \
  -H "Authorization: Bearer $LOCUS_CREDITS_SECRET_KEY" \
  -H "Idempotency-Key: $(uuidgen)" \
  -H "Content-Type: application/json" \
  -d '{"brand_id":"<string>","limit":"<integer>","offset":"<integer>"}'
```

### Get condition prices for product

Retrieve a mapping of condition to best price for each variant (storage/color combination) of a product model. Keys are formatted as 'storage | color' and values are objects mapping condition names to prices in dollars.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `psku` | string | Yes | Product SKU prefix (e.g. 'P-IPHONE15PRO', 'P-IPHONE15') |

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/credits/reebelo/get-condition-prices-for-product \
  -H "Authorization: Bearer $LOCUS_CREDITS_SECRET_KEY" \
  -H "Idempotency-Key: $(uuidgen)" \
  -H "Content-Type: application/json" \
  -d '{"psku":"<string>"}'
```

### Get deals

Retrieve current deals and featured sale items. Returns paginated items with pricing, filters by categories, brands, and price range.

**Estimated cost:** Metered

_No parameters required._

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/credits/reebelo/get-deals \
  -H "Authorization: Bearer $LOCUS_CREDITS_SECRET_KEY" \
  -H "Idempotency-Key: $(uuidgen)" \
  -H "Content-Type: application/json" \
  -d '{}'
```

### Get product detail

Retrieve full product details for a specific device model by slug. Returns product info with specifications, features, FAQ, and available SKU variants with pricing.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `slug` | string | Yes | Product slug (e.g. 'apple-iphone-15', 'apple-iphone-15-pro'). Use the slug from search results or collection pages. |

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/credits/reebelo/get-product-detail \
  -H "Authorization: Bearer $LOCUS_CREDITS_SECRET_KEY" \
  -H "Idempotency-Key: $(uuidgen)" \
  -H "Content-Type: application/json" \
  -d '{"slug":"<string>"}'
```

### Get product listing

Retrieve products in a category by PK. Returns paginated SKU items with offers and product details. Omitting category_pk returns all products.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `category_pk` | string | No | Category PK from get_all_categories (e.g. '02h610t3d104' for Smartphones). Omitting returns all products. |
| `limit` | integer | No | Max results per page. |
| `offset` | integer | No | Pagination offset. |

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/credits/reebelo/get-product-listing \
  -H "Authorization: Bearer $LOCUS_CREDITS_SECRET_KEY" \
  -H "Idempotency-Key: $(uuidgen)" \
  -H "Content-Type: application/json" \
  -d '{"category_pk":"<string>","limit":"<integer>","offset":"<integer>"}'
```

### Get product reviews

Retrieve reviews for a product or vendor using the review file hash. The hash can be found in vendor/product page data.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `review_hash` | string | Yes | Review file hash (e.g. 'a527af7f41c040487dc974586f293efd'). Derived from vendor or product page data. |

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/credits/reebelo/get-product-reviews \
  -H "Authorization: Bearer $LOCUS_CREDITS_SECRET_KEY" \
  -H "Idempotency-Key: $(uuidgen)" \
  -H "Content-Type: application/json" \
  -d '{"review_hash":"<string>"}'
```

### Get sku price

Retrieve pricing information for SKUs matching a product SKU prefix or specific SKU ID. Returns SKU items with offers and pricing details.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `psku` | string | No | Product SKU prefix (e.g. 'P-IPHONE15PRO'). At least one of psku or sku_id is required. |
| `sku_id` | string | No | Specific SKU ID to filter results (e.g. 'sku-mi9dfpu5kNRlYU1ocmE8Dpn'). At least one of psku or sku_id is required. |

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/credits/reebelo/get-sku-price \
  -H "Authorization: Bearer $LOCUS_CREDITS_SECRET_KEY" \
  -H "Idempotency-Key: $(uuidgen)" \
  -H "Content-Type: application/json" \
  -d '{"psku":"<string>","sku_id":"<string>"}'
```

### Search products

Search for products by keyword. Returns matching product items with pricing ranges, brand, and category info. Supports filtering by categories, brands, variants, and price range.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `query` | string | Yes | Search keyword (e.g. 'iPhone 15', 'MacBook') |

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/credits/reebelo/search-products \
  -H "Authorization: Bearer $LOCUS_CREDITS_SECRET_KEY" \
  -H "Idempotency-Key: $(uuidgen)" \
  -H "Content-Type: application/json" \
  -d '{"query":"<string>"}'
```

## Next steps

- [All wrapped API providers](https://paywithlocus.com/wapi/index.md): pick another provider.
- [Find and call tools](https://paywithlocus.com/agent/tools.md): price ceilings, async results, and errors.
- [Credits and billing](https://paywithlocus.com/agent/billing.md): what a call costs and how to add credits.
- [Agent docs index](https://paywithlocus.com/agent/index.md): every Locus agent page.