# Ehlers Danlos — Wrapped API

> **You are on:** `https://api.beta.paywithlocus.com/api` | [llms.txt](https://beta.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 the Ehlers-Danlos Society's healthcare professionals directory and support group listings. Search and filter providers by location, specialty, profession, and language, and retrieve full provider profiles including contact details and credentials.

**Category:** Healthcare | **Website:** [ehlers-danlos.com/](https://ehlers-danlos.com/) | **Docs:** [parse.bot/marketplace/7219dfec-6e1b-4027-9484-7f484bddaa8f/ehlers-danlos-com-api](https://parse.bot/marketplace/7219dfec-6e1b-4027-9484-7f484bddaa8f/ehlers-danlos-com-api)

Pay-per-use API proxy for Locus Pro. Each call burns credits from your workspace balance.

## Access

**Base URL:** `https://api.beta.paywithlocus.com/api/wrapped/credits/ehlers-danlos/`
**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

### Get all providers

Bulk retrieve providers by iterating through multiple pages of the directory. Returns all provider summaries from the requested pages. Each provider includes name, slug, profession, specialties, location, phone, email, and website.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `max_pages` | integer | No | Maximum number of pages to iterate through |

```bash
curl -X POST https://api.beta.paywithlocus.com/api/wrapped/credits/ehlers-danlos/get-all-providers \
  -H "Authorization: Bearer $LOCUS_CREDITS_SECRET_KEY" \
  -H "Idempotency-Key: $(uuidgen)" \
  -H "Content-Type: application/json" \
  -d '{"max_pages":"<integer>"}'
```

### Get directory filters

Extract all available filter options from the healthcare professionals directory search form. Returns a single object with arrays of countries, states/regions, specialties, professions, languages, and program flags that can be used as filter values in search_providers.

**Estimated cost:** Metered

_No parameters required._

```bash
curl -X POST https://api.beta.paywithlocus.com/api/wrapped/credits/ehlers-danlos/get-directory-filters \
  -H "Authorization: Bearer $LOCUS_CREDITS_SECRET_KEY" \
  -H "Idempotency-Key: $(uuidgen)" \
  -H "Content-Type: application/json" \
  -d '{}'
```

### Get provider detail

Retrieve full details for a specific healthcare professional by their slug identifier. Returns comprehensive information including name, credentials, profession, specialties, contact details, practice name and address, geographic coordinates, program memberships, and last-updated date.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `slug` | string | Yes | Provider slug from search_providers results (e.g. 'zahra-syed', 'kimberly-norton') |

```bash
curl -X POST https://api.beta.paywithlocus.com/api/wrapped/credits/ehlers-danlos/get-provider-detail \
  -H "Authorization: Bearer $LOCUS_CREDITS_SECRET_KEY" \
  -H "Idempotency-Key: $(uuidgen)" \
  -H "Content-Type: application/json" \
  -d '{"slug":"<string>"}'
```

### Get support groups

Search the EDS/HSD support groups and charities directory. Returns paginated results with group name, slug, location, phone, email, and website. Supports filtering by country, state, listing type, and keyword search.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `country` | string | No | Country name to filter by (e.g. 'United States', 'Canada') |
| `keyword` | string | No | Search keyword |
| `listing_type` | string | No | Listing type filter |
| `page` | integer | No | Page number for pagination |
| `state` | string | No | State/Region name to filter by |

```bash
curl -X POST https://api.beta.paywithlocus.com/api/wrapped/credits/ehlers-danlos/get-support-groups \
  -H "Authorization: Bearer $LOCUS_CREDITS_SECRET_KEY" \
  -H "Idempotency-Key: $(uuidgen)" \
  -H "Content-Type: application/json" \
  -d '{"country":"<string>","keyword":"<string>","listing_type":"<string>","page":"<integer>","state":"<string>"}'
```

### Search providers

Search the healthcare professionals directory with optional filters for country, state, profession, specialty, language, and program flags. Returns paginated results sorted by last updated. Each provider summary includes name, slug, profession, specialties, location, phone, email, and website. Use get_directory_filters to discover valid filter values.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `address` | string | No | Location search string (city, state, or zip code with country) |
| `country` | string | No | Country name to filter by (e.g. 'United States', 'Canada', 'Australia'). Use get_directory_filters to retrieve valid values. |
| `filters` | string | No | Comma-separated program flags (e.g. 'ECHO Participant,CNE Member'). Use get_directory_filters to retrieve valid values. |
| `languages` | string | No | Comma-separated language names to filter by (e.g. 'English,Spanish'). Use get_directory_filters to retrieve valid values. |
| `page` | integer | No | Page number for pagination |
| `professions` | string | No | Comma-separated profession names to filter by (e.g. 'Physical Therapist/Physiotherapist,Chiropractor'). Use get_directory_filters to retrieve valid values. |
| `specialties` | string | No | Comma-separated specialty names to filter by (e.g. 'Genetics,Pain Medicine'). Use get_directory_filters to retrieve valid values. |
| `state` | string | No | State/Region value in format 'CODE - Name' (e.g. 'CA - California', 'ON - Ontario'). Use get_directory_filters to retrieve valid values. |

```bash
curl -X POST https://api.beta.paywithlocus.com/api/wrapped/credits/ehlers-danlos/search-providers \
  -H "Authorization: Bearer $LOCUS_CREDITS_SECRET_KEY" \
  -H "Idempotency-Key: $(uuidgen)" \
  -H "Content-Type: application/json" \
  -d '{"address":"<string>","country":"<string>","filters":"<string>","languages":"<string>","page":"<integer>","professions":"<string>","specialties":"<string>","state":"<string>"}'
```

## Next steps

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