# Medicare API: Search nursing homes

> Finds U.S. nursing homes on Medicare Care Compare by name, city and state, or ZIP code. Results include star ratings, ownership, fines from the last three years, and Care Compare links.

Unofficial. Not affiliated with or endorsed by Medicare.

- Page: https://fous.com/methods/medicare.gov/search-nursing-homes
- Method: `medicare.gov/search_nursing_homes`, version 1
- Website: medicare.gov
- Returns: name, star ratings, beds, residents, fines, ownership, abuse warning, address, phone, Care Compare link
- Effect: read (it gets data and changes nothing)
- Sign-in: none needed
- Cost: 1 credit per completed run (1¢ with pay as you go); failed runs are free
- Verified: Nov 2, 2026

## Inputs

| Field | Type | Required | In the run below | Description |
|---|---|---|---|---|
| `state` | string | no | `"Florida"` | Optional state name or two-letter code. Example: Florida. |
| `search` | string | yes | `"Tampa, FL"` | Nursing home name, city and state, or ZIP code. Example: Tampa, FL. |
| `max_results` | integer | no | `2` | Maximum number of homes to return. Example: 20. Default 20. |

## Output

From a run on Oct 23, 2026. Its input:

```json
{
  "state": "Florida",
  "search": "Tampa, FL",
  "max_results": 2
}
```

Its output:

```json
{
  "nursing_homes": [
    {
      "name": "Palm Garden Of Tampa",
      "phone": "(813) 972-8775",
      "address": "3612 E 138TH AVE, TAMPA, FL 33613",
      "total_fines": 0,
      "fines_currency": "USD",
      "ownership_type": "For profit - Corporation",
      "number_of_fines": 0,
      "staffing_rating": 3,
      "care_compare_link": "https://www.medicare.gov/care-compare/details/nursing-home/105591",
      "abuse_warning_shown": false,
      "overall_star_rating": 4,
      "quality_measures_rating": 5,
      "cms_certification_number": "105591",
      "health_inspection_rating": 3,
      "number_of_certified_beds": 120,
      "average_residents_per_day": 114.7
    },
    {
      "name": "Rehabilitation And Healthcare Center Of Tampa",
      "phone": "(813) 872-2771",
      "address": "4411 N HABANA AVE, TAMPA, FL 33614",
      "total_fines": 231152,
      "fines_currency": "USD",
      "ownership_type": "Non profit - Corporation",
      "number_of_fines": 2,
      "staffing_rating": 4,
      "care_compare_link": "https://www.medicare.gov/care-compare/details/nursing-home/105234",
      "abuse_warning_shown": false,
      "overall_star_rating": 1,
      "quality_measures_rating": 4,
      "cms_certification_number": "105234",
      "health_inspection_rating": 1,
      "number_of_certified_beds": 174,
      "average_residents_per_day": 163.2
    }
  ]
}
```

## Run it

From code, with a Fous API key in `FOUS_API_KEY`; the answer's `data` holds the output:

```bash
curl https://api.fous.com/v1/runs \
  -H "Authorization: Bearer $FOUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"method":"medicare.gov/search_nursing_homes","input":{"state":"Florida","search":"Tampa, FL","max_results":2}}'
```

From an AI agent connected to the Fous MCP server: its `run` with the same method and input. To connect one, give it `set up https://fous.com/SKILL.md`.

## Ask your agent

- Find nursing homes in Phoenix, AZ with good star ratings
- I need a list of nursing facilities in ZIP code 60614 with their fines and ownership info
- Look up Sunrise Care Center in Ohio and show me its phone number and address
- Which skilled nursing homes near Tampa, FL have had abuse warnings recently?
- On medicare.gov, show me the number of beds and residents at homes in Vermont, limit to 10 results

## Input schema

```json
{
  "type": "object",
  "required": [
    "search"
  ],
  "properties": {
    "state": {
      "type": "string",
      "description": "Optional state name or two-letter code. Example: Florida."
    },
    "search": {
      "type": "string",
      "minLength": 1,
      "description": "Nursing home name, city and state, or ZIP code. Example: Tampa, FL."
    },
    "max_results": {
      "type": "integer",
      "default": 20,
      "maximum": 100,
      "minimum": 1,
      "description": "Maximum number of homes to return. Example: 20."
    }
  }
}
```

## Output schema

```json
{
  "type": "object",
  "required": [
    "nursing_homes"
  ],
  "properties": {
    "nursing_homes": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string"
          },
          "phone": {
            "type": [
              "string",
              "null"
            ]
          },
          "address": {
            "type": [
              "string",
              "null"
            ]
          },
          "total_fines": {
            "type": [
              "number",
              "null"
            ]
          },
          "fines_currency": {
            "type": "string"
          },
          "ownership_type": {
            "type": [
              "string",
              "null"
            ]
          },
          "number_of_fines": {
            "type": [
              "integer",
              "null"
            ]
          },
          "staffing_rating": {
            "type": [
              "integer",
              "null"
            ]
          },
          "care_compare_link": {
            "type": "string"
          },
          "abuse_warning_shown": {
            "type": "boolean"
          },
          "overall_star_rating": {
            "type": [
              "integer",
              "null"
            ]
          },
          "quality_measures_rating": {
            "type": [
              "integer",
              "null"
            ]
          },
          "cms_certification_number": {
            "type": "string"
          },
          "health_inspection_rating": {
            "type": [
              "integer",
              "null"
            ]
          },
          "number_of_certified_beds": {
            "type": [
              "integer",
              "null"
            ]
          },
          "average_residents_per_day": {
            "type": [
              "number",
              "null"
            ]
          }
        }
      }
    }
  }
}
```

## See more

- [Medicare API: Search hospitals](https://fous.com/methods/medicare.gov/search-hospitals.md): Finds U.S. hospitals by name, city and state, or ZIP code, with Medicare overall and patient survey star ratings, contact details, and Care Compare links. Ratings may be unavailable for some hospitals.
- [HHS API: Search healthcare providers](https://fous.com/methods/npiregistry.cms.hhs.gov/search-providers.md): Finds US healthcare providers by name, place, specialty and provider type in the NPI Registry, with practice contact details and primary taxonomy. Results may include providers with similar names.
- [HHS API: Get provider by NPI](https://fous.com/methods/npiregistry.cms.hhs.gov/get-provider.md): Looks up a provider in the NPI Registry by 10-digit NPI number and returns the public name, specialties, addresses, contact details and registry dates.
- [NHS API: Search nearby services](https://fous.com/methods/nhs.uk/search-nearby-services.md): Find nearby NHS service listings from a UK postcode or town, nearest first. NHS service search covers England; urgent_care returns A&E listings. Hours, patient availability and websites are null when not shown.
- [Homes.com API: Search homes for sale](https://fous.com/methods/homes.com/search-homes.md): Searches Homes.com homes for sale in a US city, neighborhood, or ZIP code, with optional price, bedroom, bathroom and home type filters. Returns listings in site order; days on market is null when not shown.
- [Apartments.com API: Search apartments](https://fous.com/methods/apartments.com/search-apartments.md): Searches Apartments.com rentals by city, neighborhood, or ZIP code, with optional rent, bedroom, pet, and page filters. Rent and availability wording is returned when displayed; missing details are null.
- [ProPublica API: Search nonprofits by name](https://fous.com/methods/projects.propublica.org/search-nonprofits.md): Finds U.S. nonprofits by organization name, optionally filtered by state and city, with the latest reported revenue and assets.
- [Yellow Pages API: Search businesses](https://fous.com/methods/yellowpages.com/search-businesses.md): Finds local US businesses on Yellow Pages by name or category and a city, state or ZIP. Returns listings with phone numbers in Yellow Pages order, excluding labeled ads; contact details, ratings and hours appear when listed.
- [All Medicare methods](https://fous.com/methods/medicare.gov.md)
