# Aplaceformom — 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 senior care facilities across the country, view detailed information about specific facilities, read resident reviews, and explore state-level senior care overviews. Access comprehensive data on facility types, pricing, availability, contact information, and ratings.

**Category:** Healthcare | **Website:** [aplaceformom.com/](https://aplaceformom.com/) | **Docs:** [parse.bot/marketplace/5c888fd9-dec2-45b6-8bda-f831c9e511c1/aplaceformom-com-api](https://parse.bot/marketplace/5c888fd9-dec2-45b6-8bda-f831c9e511c1/aplaceformom-com-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-aplaceformom-com-api-5c888fd9/`
**Auth:** `Authorization: Bearer <LOCUS_API_KEY>`

## Endpoints

### get_facility_details

Retrieve full details for a specific senior living facility by its slug. Returns structured data including name, description, address, geo coordinates, telephone, aggregate rating, amenities, and pricing when available. Slug is obtained from search_facilities results.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `slug` | string | Yes | Facility slug from search results (e.g., 'atria-forest-hills-72809'). |

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/parse-aplaceformom-com-api-5c888fd9/get_facility_details \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"slug":"<string>"}'
```

### get_facility_reviews

Retrieve reviews and aggregate ratings for a specific facility. Returns up to 20 most recent reviews embedded in the facility page's structured data. Each review includes content, date, author name, and numeric rating.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `slug` | string | Yes | Facility slug from search results (e.g., 'atria-forest-hills-72809'). |

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/parse-aplaceformom-com-api-5c888fd9/get_facility_reviews \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"slug":"<string>"}'
```

### get_state_overview

Get an overview of senior living options in a specific state, including a list of cities with facilities. Results vary by care type; assisted-living has the most comprehensive city coverage.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `care_type` | string | No | Care type slug: assisted-living, memory-care, independent-living, home-care. |
| `state` | string | Yes | State name or 2-letter abbreviation (e.g., 'New York' or 'NY'). |

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/parse-aplaceformom-com-api-5c888fd9/get_state_overview \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"care_type":"<string>","state":"<string>"}'
```

### search_facilities

Search for senior living facilities by location and care type. Returns a paginated list of facilities matching the given city and state. Requires either a query in 'City, ST' format or both city and state parameters. Pagination via page parameter; each page returns ~20-30 communities.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `care_type` | string | No | Care type slug: assisted-living, memory-care, independent-living, home-care. |
| `city` | string | No | City name (e.g., 'New York'). Required if query is not provided. |
| `page` | integer | No | Page number for pagination. |
| `query` | string | No | Search query in 'City, ST' format (e.g., 'New York, NY'). If provided, city and state are extracted from it. |
| `state` | string | No | State name or 2-letter abbreviation (e.g., 'New York' or 'NY'). Required if query is not provided. |

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/parse-aplaceformom-com-api-5c888fd9/search_facilities \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"care_type":"<string>","city":"<string>","page":"<integer>","query":"<string>","state":"<string>"}'
```
