/nhs/services/search

POST /api/nhs/services/search

Price: 5 credits

Search NHS service organisations near a UK postcode by service type (GP, dentist, pharmacy, hospital, optician, podiatrist, sexual health, screening and many more), optionally narrowed by attributes such as accepting new patients or open now. Returns each organisation's ODS code, name, type, address, phone, distance, status flags, online registration link (GP) and profile URL, ordered nearest first.

How to use it

Find NHS organisations near a UK postcode. Pass service_type (gp, dentist, pharmacy, hospital, ...) and postcode (e.g. 'SW1A 1AA'); optionally filters (e.g. GpAcceptingNewPatients, PharmacyOpenNow). Returns id (ODS code), name, org_type_code, address, phone, distance_miles, status, registration_url and detail_url for each match. Feed id + service_type into nhs/services for the full profile.

Parameters

Request body

Response

Errors

Response headers