# Patientennavi 116117 — 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 available doctors and psychotherapists across Germany by entering a zip code or city name to find nearby medical professionals. Get detailed information about healthcare providers registered with the official 116117 directory to locate the right specialist for your needs.

**Category:** Healthcare | **Website:** [patientennavi.116117.de/askPlz.xhtml](https://patientennavi.116117.de/askPlz.xhtml) | **Docs:** [parse.bot/marketplace/7e6c8f02-c9f1-4505-b6bb-70d10b66b57a/patientennavi-116117-de-api](https://parse.bot/marketplace/7e6c8f02-c9f1-4505-b6bb-70d10b66b57a/patientennavi-116117-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-patientennavi-116117-de-api-7e6c8f02/`
**Auth:** `Authorization: Bearer <LOCUS_API_KEY>`

## Endpoints

### search_doctors

Search for doctors and psychotherapists near a given German location. Accepts a German zip code or city name, resolves it to a geographic area, and returns up to 120 practitioners sorted by distance. Each result includes name, specialties, address, contact details, coordinates, spoken languages, accessibility information, and distance in meters. When more than 120 results exist the response indicates more_results_available=true; the API does not expose server-side pagination beyond this initial batch.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `location` | string | Yes | German zip code (e.g. '10115', '80331') or city name (e.g. 'Berlin', 'Hamburg', 'München'). The value is resolved to a geographic search area via the site's location API. |

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/parse-patientennavi-116117-de-api-7e6c8f02/search_doctors \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"location":"<string>"}'
```

### search_doctors_by_state

Search for doctors and psychotherapists across an entire German state. Queries multiple representative cities within the state, deduplicates practitioners by name and address, and returns a combined list of unique results. Each result includes the same fields as search_doctors (name, specialties, address, contact details, coordinates, languages, accessibility). The number of upstream requests scales with the number of representative cities for the state (1–5 depending on state size); response time can be several seconds for large states. Returns all unique practitioners found across the queried locations.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `state` | string | Yes | German state name (Bundesland). Accepted values: Baden-Württemberg, Bayern, Berlin, Brandenburg, Bremen, Hamburg, Hessen, Mecklenburg-Vorpommern, Niedersachsen, Nordrhein-Westfalen, Rheinland-Pfalz, Saarland, Sachsen, Sachsen-Anhalt, Schleswig-Holstein, Thüringen. |

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/parse-patientennavi-116117-de-api-7e6c8f02/search_doctors_by_state \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"state":"<string>"}'
```
