# Therealreal — 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 luxury resale products and access detailed information including real-time pricing, availability status, and high-quality product images. Build applications that help users discover authenticated secondhand designer items with complete product details.

**Category:** Marketplaces | **Website:** [therealreal.com/](https://therealreal.com/) | **Docs:** [parse.bot/marketplace/d05bb53c-e199-41be-be06-7aa1e6990534/therealreal-com-api](https://parse.bot/marketplace/d05bb53c-e199-41be-be06-7aa1e6990534/therealreal-com-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-therealreal-com-api-d05bb53c/`
**Auth:** `Authorization: Bearer <LOCUS_API_KEY>`

## Endpoints

### get_product_details

Get detailed product information including all associated images, full HTML description, pricing, condition, and availability. Accepts a product URL as returned by search_products. Returns a single product object with richer data than the search listing.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `url` | string | Yes | Full product URL from search_products results (e.g. 'https://www.therealreal.com/products/women/handbags/crossbody-bags/<product-slug>') |

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/parse-therealreal-com-api-d05bb53c/get_product_details \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"url":"<string>"}'
```

### search_products

Search for products by keyword with pagination. Returns a list of products with basic info including price, availability status, and primary image. Each page contains up to 120 items. Results are ordered by relevance by default.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `page` | integer | No | Page number to retrieve (1-based) |
| `query` | string | Yes | Search keyword (e.g. 'bags', 'shoes', 'Louis Vuitton') |

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