# Shop Rewe — 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 grocery products across REWE's online catalog and instantly see current prices for your specific German postal code. Find the items you need with real-time pricing information to compare costs and plan your shopping efficiently.

**Category:** Food & Dining | **Website:** [shop.rewe.de/](https://shop.rewe.de/) | **Docs:** [parse.bot/marketplace/388f7fb6-dcab-49bb-bebd-68a51ed156f8/shop-rewe-de-api](https://parse.bot/marketplace/388f7fb6-dcab-49bb-bebd-68a51ed156f8/shop-rewe-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-shop-rewe-de-api-388f7fb6/`
**Auth:** `Authorization: Bearer <LOCUS_API_KEY>`

## Endpoints

### search_products

Search REWE online grocery products by name within a specific German postal code area. Prices are specific to the nearest market serving the given postal code. Results are paginated and include product details such as GTIN/EAN, current price in EUR, discount status, grammage, and image URLs.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `page` | integer | No | Page number for pagination. |
| `per_page` | integer | No | Number of products per page. Maximum observed: 40. |
| `postal_code` | string | Yes | 5-digit German postal code (PLZ). Determines which market's prices and availability are returned. |
| `query` | string | Yes | Product search term (e.g. 'Milch', 'Bio Joghurt', 'Nutella'). |

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