# Gelbe Seiten — 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 businesses on Gelbe Seiten (gelbeseiten.de) by keyword and location, and retrieve full business details including contact information, opening hours, categories, and reviews.

**Category:** Business Directories | **Website:** [gelbeseiten.de/](https://gelbeseiten.de/) | **Docs:** [parse.bot/marketplace/3cbd9114-cea7-4ac7-9521-41fdb99306b7/gelbeseiten-de-api](https://parse.bot/marketplace/3cbd9114-cea7-4ac7-9521-41fdb99306b7/gelbeseiten-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-gelbeseiten-de-api-3cbd9114/`
**Auth:** `Authorization: Bearer <LOCUS_API_KEY>`

## Endpoints

### get_business_detail

Retrieve full details for a specific business including email, website, opening hours, categories, and reviews. The uuid is obtained from search_businesses results. Returns a single business record with all available contact and operational information.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `uuid` | string | Yes | The unique ID (realid) of the business, obtained from search_businesses results[*].uuid. |

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/parse-gelbeseiten-de-api-3cbd9114/get_business_detail \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"uuid":"<string>"}'
```

### search_businesses

Full-text search over the Gelbe Seiten business directory by keyword and location. Returns paginated results with basic contact info per listing. Page 1 returns up to 50 results; subsequent pages return 10. Each item includes a uuid usable with get_business_detail for full information.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `page` | integer | No | The page number to retrieve. |
| `what` | string | Yes | The keyword or category to search for (e.g., 'steuerberater', 'autohaus', 'restaurant'). |
| `where` | string | Yes | The location to search in (e.g., 'hamburg', 'berlin', 'münchen'). |

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/parse-gelbeseiten-de-api-3cbd9114/search_businesses \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"page":"<integer>","what":"<string>","where":"<string>"}'
```
