Official registers near each address (UK)
find_official_placesWhat open map data doesn't have, from the official registers. England (the Care Quality Commission's register, our copy, with each place's latest rating and date): A&E departments (NHS hospitals with a full emergency department: CQC rates their urgent and emergency services and critical care; with the A&E's rating and the NHS trust that runs it), urgent care (urgent treatment centres and minor injuries units, including hospitals whose A&E became one), hospitals (NHS or independent), GP practices, care homes, nursing homes, dentists, hospices; and NHS community pharmacies from the NHS's own register (England, Wales, Isle of Man; ODS code and UPRN, on their building where the register gives it). UK (the Food Standards Agency, live): food businesses with their hygiene rating. For up to 500 addresses or points (100 for food): the nearest (mode nearest), how many within a radius (count) or a list (list), straight-line km; or mode at: the registered place AT each address (send the business name as name), e.g. the hygiene rating of each restaurant on a customer list or the CQC rating of each care home, matched by name and postcode and saying how; a row that can't be matched says why and lists what is registered there. Filter by rating (Outstanding, Good, Requires improvement, Inadequate, not rated), NHS or independent, food type, hygiene score. Each place carries its register IDs (CQC location, NHS ODS code, UPRN, FSA FHRS), a link to its official page and its source; CQC covers England and the NHS pharmacy register England and Wales; addresses outside a register are told so. Use find_nearby for everything else (shops, stations, parks).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| n | No | How many places to return per record. | |
| nhs | No | Hospitals: true for NHS only, false for independent only. | |
| kind | Yes | ||
| mode | No | at: the registered place at each address itself (send name). | nearest |
| rating | No | CQC ratings to keep, e.g. ["Requires improvement", "Inadequate"]. For A&E, the rating of its urgent and emergency services. | |
| source | No | Instead of typing rows: { sheet: "<Google Sheets link>", tab?: "Sites" } (shared with the InstaMaps service account, or viewable by anyone with the link), { file: "<Drive link to a CSV or Excel file>" }, or { run: "<run_id from an earlier answer>" }. Columns are found by their headers (id, name, address or its parts, lat/lng); name them if they aren't obvious (id_column, address_column, lat_column, lng_column; from_column and to_column for road distances). Rows with coordinates are used as they are. | |
| records | No | {id, address} or {id, lat, lng}. Send your own ids to merge results back. | |
| addresses | No | Or plain addresses/postcodes, numbered from 1. | |
| food_type | No | restaurant, takeaway, pub, supermarket, shop, hotel, school, caring, mobile or manufacturer. | |
| radius_km | No | How far to look. Defaults: A&E 60, hospital 30, GP 10, care home 10, pharmacy 5, food 1. | |
| background | No | With source: run as a background job and answer at once with job_id (automatic past 200 rows). Check with get_job; write_to_sheet with the job_id puts the results in the sheet as they finish. | |
| max_hygiene | No | ||
| min_hygiene | No | ||
| include_specialist | No | A&E: also the eye and children's hospitals' emergency departments (left out by default). |