# 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 for Locus Pro. Each call burns credits from your workspace balance.

## Access

**Base URL:** `https://api.paywithlocus.com/api/wrapped/credits/patientennavi-116117/`
**Auth:** `Authorization: Bearer <LOCUS_CREDITS_SECRET_KEY>` (an `lcr_` secret key or a scoped `lcac_` agent credential)
**Required header:** `Idempotency-Key: <fresh UUID per call>`. A retry with the same key replays the stored result without a new charge.
**Response:** the provider response after any endpoint-specific normalization. `X-Locus-Credits-Charged` carries the charge and `X-Locus-Credits-Balance` the remaining balance. Insufficient credits return `402` before the provider is called.
**Pricing:** estimated costs below are USD. Locus debits the credit equivalent at your workspace rate.

Full call contract: https://docs.paywithlocus.com/api-reference/introduction

> Using a Pay With Locus wallet key (`claw_` prefix)? Wallet routes are documented separately: https://docs.paywithlocus.com/wrapped-apis/for-agents

## 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/credits/patientennavi-116117/search-doctors \
  -H "Authorization: Bearer $LOCUS_CREDITS_SECRET_KEY" \
  -H "Idempotency-Key: $(uuidgen)" \
  -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/credits/patientennavi-116117/search-doctors-by-state \
  -H "Authorization: Bearer $LOCUS_CREDITS_SECRET_KEY" \
  -H "Idempotency-Key: $(uuidgen)" \
  -H "Content-Type: application/json" \
  -d '{"state":"<string>"}'
```

## Next steps

- [All wrapped API providers](https://paywithlocus.com/wapi/index.md): pick another provider.
- [Find and call tools](https://paywithlocus.com/agent/tools.md): price ceilings, async results, and errors.
- [Credits and billing](https://paywithlocus.com/agent/billing.md): what a call costs and how to add credits.
- [Agent docs index](https://paywithlocus.com/agent/index.md): every Locus agent page.