# CQC Care Directory - 57K England Care Locations & Ratings (`j0401/uk-cqc-care-directory`) Actor

Every active CQC care location in England (57k, OGL v3): care homes, home care, dentists, GP practices and clinics with provider, address, service types, local authority, region and the latest Overall/Safe/Effective/Caring/Responsive/Well-led rating. Search, filter or aggregate.

- **URL**: https://apify.com/j0401/uk-cqc-care-directory.md
- **Developed by:** [Wenhao Yang](https://apify.com/j0401) (community)
- **Categories:** Business, Developer tools
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $0.03 / 1,000 cqc care location records

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.
Since this Actor supports Apify Store discounts, the price gets lower the higher subscription plan you have.

Learn more: https://docs.apify.com/actors/running/actors-in-store.md#pay-per-event

## What's an Apify Actor?

An Actor is a serverless cloud program that runs on the Apify platform. It has two run modes.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.

Apify vocabulary and the platform model are defined once, in the agent quickstart at https://apify.com/agents.md.

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For examples already wired to this Actor's own input schema, see the [API](#api) section below.

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).

# README

## CQC Care Directory - 57K England Care Locations & Ratings

Every active care location on the Care Quality Commission register:
**57,107 locations** as of **22 October 2026**, with the **latest published
rating** for **35,121** of them. Care homes, home-care agencies, dentists,
GP practices, clinics, hospitals and independent healthcare providers, with
their operator, address, service types, council and region.

### Low cost

**From $0.00005 per record, down to $0.00003 at Gold.** Pay only for the
records you receive - the whole directory stays searchable, you are never
billed for the scan behind it.

### What you get per location

| field | meaning |
|---|---|
| `locationId`, `locationName`, `alsoKnownAs` | CQC location identifier and names |
| `providerName`, `providerId`, `brandName` | the registered operator and CQC brand label (many locations carry no brand) |
| `address`, `postcode`, `postcodeArea` | full address and postal area |
| `phone`, `website`, `locationUrl` | contact details and the CQC profile |
| `serviceTypes`, `specialisms` | what the location is registered to do |
| `careHome` | `Y` for a care home: the CQC flag where the ratings file covers the location, otherwise derived from the service type |
| `locationType` | `Social Care Org`, `Primary Medical Services`, `Primary Dental Care`, `Independent Healthcare Org`, `NHS Healthcare Organisation`, `Independent Ambulance` |
| `inspectionCategory` | CQC inspection category where published |
| `localAuthority`, `region`, `nhsRegion` | geography |
| `overallRating`, `overallRatingDate` | latest published Overall rating and its date |
| `safe`, `effective`, `caring`, `responsive`, `wellLed` | the five domain ratings |
| `lastChecked`, `ratingsAsAt`, `refreshedDate` | inspection and publication dates |

Ratings use the CQC scale: `Outstanding`, `Good`, `Requires improvement`,
`Inadequate`, plus `Not applicable`, `Insufficient evidence to rate` and
`No Approved Rating` (and, rarely, `Evidence requirements partially / not yet scored`). Locations without a published rating carry their
directory facts but no rating fields.

### Search it

- **Name** - `name="Henley House"` (substring).
- **Provider** - `provider="Greensleeves"` (substring, one operator's estate).
- **Postcode** - `postcode="IP1"` (prefix; spaces are ignored).
- **Council / region** - `localAuthority="Suffolk"`, `region="London"`.
- **Service type** - `serviceType="Dentist"`, `"Residential homes"`,
  `"Nursing homes"`, `"Homecare agencies"`.
- **Rating** - `rating="Requires improvement"`, `"Outstanding"`.
- **Care homes only** - `careHome=true` (14,874 locations: the CQC flag plus locations whose service type is Residential or Nursing homes).
- **Exact location** - `locationId="1-10000302982"`.

### Example inputs

**One operator's sites**

```json
{ "provider": "Greensleeves", "maxResults": 50 }
```

**Care homes rated Outstanding in London**

```json
{ "region": "London", "serviceType": "Residential homes",
  "rating": "Outstanding", "maxResults": 50 }
```

**Dentists in one postcode area**

```json
{ "postcode": "SW1", "serviceType": "Dentist", "maxResults": 100 }
```

### Aggregate it

Set `groupBy` with no filters for a whole-directory rollup, or with filters
for a scoped one:

```json
{ "mode": "aggregate", "groupBy": "region" }
```

`groupBy` = `rating` (default), `serviceType`, `region`, `localAuthority`,
`locationType` or `careHome`. Every row carries `groupKey`, `groupCount`,
`groupBy` and `totalMatched`. A location with several service types is
counted once per type, so the `serviceType` counts sum to more than
`totalMatched`.

The default (empty) run returns the whole-directory rating summary.
A search returns at most 5,000 records per run - use filters (postcode prefix,
region, service type) to page through the directory.

### Source and licence

Care Quality Commission open data, published weekly (directory) and monthly
(ratings) under the **Open Government Licence v3**, which permits commercial
reuse with attribution. Records are location- and provider-level: for
individual or partnership providers the registered name is a personal name
(the public register publishes it as such); no manager-level or contact data
from the separate filter file is used. The CQC filter
files that carry registered-manager names are deliberately not used.

Data sources: [CQC - using CQC data](https://www.cqc.org.uk/about-us/transparency/using-cqc-data).

### Related actors

Also available in this account:

- **UK Charity Register** - charitable providers, with income and expenditure.
- **UK Companies House** - the full UK company register (~5.7M companies), for looking up providers that are companies.
- **UK Food Hygiene** - the FSA food-business register.

### Use it from an AI agent (MCP)

Connect any MCP client to `https://mcp.apify.com/?tools=j0401/uk-cqc-care-directory` to load this dataset as a single tool beside the tools you already have - same records, same per-record pricing.

# Actor input Schema

## `mode` (type: `string`):

search = filter the directory. aggregate = one row per group. warm = owner maintenance: rebuild the snapshot from the CQC source and upload it (no filters). Leave blank to auto-route: filters -> search, no filters -> aggregate.

## `name` (type: `string`):

Location name or trading name substring, case-insensitive (e.g. "Henley House").

## `provider` (type: `string`):

Provider / operator name substring, case-insensitive (e.g. "Greensleeves").

## `postcode` (type: `string`):

Postcode or prefix; spaces are ignored (e.g. "SW1A" or "IP1 6TB").

## `localAuthority` (type: `string`):

Exact council name, case-insensitive (e.g. "Suffolk").

## `region` (type: `string`):

CQC region.

## `serviceType` (type: `string`):

Service type substring, case-insensitive (e.g. "Residential homes", "Nursing homes", "Homecare agencies", "Dentist").

## `locationType` (type: `string`):

Exact location type, e.g. "Social Care Org", "Primary Medical Services", "Primary Dental Care", "Independent Healthcare Org", "NHS Healthcare Organisation". Blank for unrated locations.

## `rating` (type: `string`):

Exact latest Overall rating: Outstanding, Good, Requires improvement, Inadequate, Not applicable, Insufficient evidence to rate, No Approved Rating (rarely: Evidence requirements partially / not yet scored).

## `careHome` (type: `boolean`):

true = only care homes (the CQC flag, plus locations whose service type is Residential or Nursing homes). false (default) = no filter.

## `locationId` (type: `string`):

Exact CQC location ID (e.g. "1-10000302982").

## `groupBy` (type: `string`):

rating -> latest Overall rating; serviceType -> service category; region / localAuthority -> geography; locationType -> CQC location type; careHome -> care home flag. Blank defaults to rating.

## `maxResults` (type: `integer`):

Cap the number of search records pushed (0 = the default 50, maximum 5000). Aggregate returns every group.

## Actor input object example

```json
{
  "careHome": false,
  "maxResults": 50
}
```

# Actor output Schema

## `recordsUrl` (type: `string`):

CQC care location records - as JSON

## `datasetUrl` (type: `string`):

No description

## `runUrl` (type: `string`):

No description

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {};

// Run the Actor and wait for it to finish
const run = await client.actor("j0401/uk-cqc-care-directory").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = {}

# Run the Actor and wait for it to finish
run = client.actor("j0401/uk-cqc-care-directory").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
for item in client.dataset(run.default_dataset_id).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{}' |
apify call j0401/uk-cqc-care-directory --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,j0401/uk-cqc-care-directory"
        }
    }
}
```

The hosted server signs you in with OAuth on first connect, so no API token belongs in this config. Clients without OAuth support can send an `Authorization: Bearer <APIFY_API_TOKEN>` header instead, using a token from API & Integrations in Apify Console (https://console.apify.com/settings/integrations).

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/Cc5Zmlox3aOV9xYNm/builds/plpZcu1nkcs4SlogH/openapi.json
