# Mydealz — 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 deals on MyDealz.de and retrieve detailed information including ratings, merchant details, pricing, and community feedback across multiple pages. Find the best deals with access to temperature scores and comment counts to help you make informed purchasing decisions.

**Category:** Marketplaces | **Website:** [mydealz.de/](https://mydealz.de/) | **Docs:** [parse.bot/marketplace/0b88dc22-559d-4923-bb87-2dd1ff8dde84/mydealz-de-api](https://parse.bot/marketplace/0b88dc22-559d-4923-bb87-2dd1ff8dde84/mydealz-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-mydealz-de-api-0b88dc22/`
**Auth:** `Authorization: Bearer <LOCUS_API_KEY>`

## Endpoints

### search_deals

Full-text search over deals on MyDealz.de. Returns a paginated list of deals matching the query keyword, each with pricing, community temperature rating, comment count, merchant, expiry status, and image. Pagination advances via integer page number. An empty query returns trending deals. Each page returns up to 30 deals.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `page` | integer | No | Page number for pagination (1-based). |
| `query` | string | No | Search keyword. Supports multi-word queries (e.g. 'Philips Hue', 'Smart Home'). Omitting returns trending deals. |

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