# Turquoise — 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 and compare healthcare procedure prices across different providers in your area to find the most affordable options. Get estimated costs, provider quality ratings, and side-by-side price comparisons to make informed decisions about your medical care.

**Category:** Healthcare | **Website:** [turquoise.health/](https://turquoise.health/) | **Docs:** [parse.bot/marketplace/98eb8de1-244d-4d06-af5e-80c0bb512e04/turquoise-health-api](https://parse.bot/marketplace/98eb8de1-244d-4d06-af5e-80c0bb512e04/turquoise-health-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-turquoise-health-api-98eb8de1/`
**Auth:** `Authorization: Bearer <LOCUS_API_KEY>`

## Endpoints

### list_services

List all available medical service/procedure packages with their codes. Each service has a short alphanumeric code (e.g. 'GA002') and a human-readable procedure name. These codes are the required input for search_care. The full catalog is returned in a single response with no pagination.

**Estimated cost:** Metered

_No parameters required._

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/parse-turquoise-health-api-98eb8de1/list_services \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{}'
```

### search_care

Search for healthcare providers and their prices for a given medical procedure and location. Returns paginated results (20 per page) sorted by price. Each provider record includes name, facility type, city/state location, distance from the searched ZIP, a dollar price string, numeric price amount, price qualifier (e.g. 'up to'), price relativity versus regional average (e.g. 'Significantly lower'), care quality rating, and a provider ID for further detail lookups.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `distance` | string | No | Search radius in miles. |
| `location` | string | Yes | 5-digit US ZIP code for the search location (e.g. '10001'). |
| `max_price` | string | No | Maximum price filter in dollars (e.g. '5000'). Omitting returns all prices. |
| `min_price` | string | No | Minimum price filter in dollars (e.g. '500'). Omitting returns all prices. |
| `page` | integer | No | Page number for pagination (20 results per page). |
| `service` | string | Yes | Service/procedure code from list_services (e.g. 'GA002' for Colonoscopy, 'RA005' for MRI without Contrast). |
| `sort_by` | string | No | Sort order for results. |

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/parse-turquoise-health-api-98eb8de1/search_care \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"distance":"<string>","location":"<string>","max_price":"<string>","min_price":"<string>","page":"<integer>","service":"<string>","sort_by":"<string>"}'
```
