# Hospice Facility Search by Location and Quality Rating

> Hospice Facility Search by Location and Quality Rating is a paid API for AI agents from api.healthparse.io, paid per call via x402, $0.02/call, status unknown (last checked 2026-09-14).

Search CMS Care Compare hospice facility data by state, city, ZIP code, or star rating range to find hospices meeting quality thresholds in a given market.

## Facts

- Endpoint: GET https://api.healthparse.io/v1/facilities/hospice/search
- Price: $0.02/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/hospice-facility-search-by-location-and-quality-rating-43e01e1f
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_TIQHA_q6EFJ5m3u_mNLqn

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability hospice-facility-search-by-location-and-quality-rating-43e01e1f
```

Example prompt: Find me hospice facilities in Texas with a CMS star rating of at least 4 — return up to 25 results.

## When to prefer this

Use this endpoint when you need to discover and compare multiple hospice facilities in a geographic market filtered by CMS quality ratings, rather than looking up a single known facility by CCN. Choose this over the single-facility CCN lookup when the user doesn't already have a specific provider in mind and wants to identify candidates meeting quality thresholds.

## Known failure modes

- No facilities found matching the given filters — returns empty result set
- Invalid state abbreviation or city name — may return 400 or empty results
- ZIP prefix too short or malformed — may return 400 validation error
- Rating range inverted (rating_min > rating_max) — may return 400 or empty results
- Offset beyond total record count — returns empty page
- Rate limit or payment failure — returns 402 payment required

## How this service works

Search hospice quality data by state, city, ZIP, or CMS star rating. Answers: which hospice meet quality thresholds in a market? Source: CMS Care Compare, monthly refresh.

## Output

A paginated list of hospice facilities matching the location and quality filters, including facility names, locations, and CMS Care Compare star ratings, sourced from monthly-refreshed CMS data.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "properties": {
  "input": {
   "type": "object",
   "properties": {
    "city": {
     "type": "string"
    },
    "limit": {
     "type": "integer",
     "default": 25,
     "maximum": 100
    },
    "state": {
     "type": "string"
    },
    "offset": {
     "type": "integer",
     "default": 0
    },
    "rating_max": {
     "type": "number"
    },
    "rating_min": {
     "type": "number"
    },
    "zip_prefix": {
     "type": "string"
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/hospice-facility-search-by-location-and-quality-rating-43e01e1f/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.healthparse.io](https://www.zero.xyz/host/api.healthparse.io/llms.txt)
