# Pricez — 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.

> Access data from pricez.co.il.

**Category:** Food & Dining | **Website:** [www.pricez.co.il/](https://www.pricez.co.il/) | **Docs:** [parse.bot/marketplace/93cbb8b2-aade-49ec-8818-2da8394d4c36/pricez-co-il-api](https://parse.bot/marketplace/93cbb8b2-aade-49ec-8818-2da8394d4c36/pricez-co-il-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-pricez-co-il-api-93cbb8b2/`
**Auth:** `Authorization: Bearer <LOCUS_API_KEY>`

## Endpoints

### get_product_prices

Retrieve per-store prices and stock availability for a specific product. Returns every store carrying the product with its current price, unit price, stock status, and last-updated date. The product_id comes from search_products results.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `product_id` | string | Yes | Numeric product ID from search_products results (e.g. 89737). |

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/parse-pricez-co-il-api-93cbb8b2/get_product_prices \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"product_id":"<string>"}'
```

### search_products

Full-text search over PriceZ's grocery/pharmacy product catalog. Returns products matching the query with their national price range, category, and supplier. Results are paginated (53 per page); auto-iterated by the SDK.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `page` | integer | No | Page number for results pagination. |
| `query` | string | Yes | Search text in Hebrew or product name (e.g. חלב, שוקולד). |

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