/nhs/services/search
Search NHS service organisations near a UK postcode by service type (GP, dentist, pharmacy, hospital, optician, mental health, 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.
Price: 5 credits
💡 AI Hint: 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.
⚠️ Common errors: 412: Postcode could not be resolved or no services found
Authorizations
API token from the dashboard
Headers
Body
Type of NHS service to search for
gp, dentist, pharmacy, hospital, nhs_sight_test, accident_and_emergency, mental_health, podiatrist, sexual_health_clinic, hiv_treatment, breast_screening, abdominal_aortic_aneurysm_screening, diabetic_eye_screening, chlamydia_screening, sti_testing, emergency_contraception, free_condoms, sexual_health_advice, young_people_sexual_health, rape_and_sexual_assault_referral, drug_treatment, drug_addiction_support, stop_smoking, healthwatch, pals, social_care, pregnancy_testing, sensory_impairments, physical_disabilities UK postcode to search around
1"SW1A 1AA"
"M1 1AE"
Max number of results to return
x >= 1Max scrapping execution timeout (in seconds)
20 <= x <= 1500Restrict results to organisations matching these attributes
GpAcceptingNewPatients, GpAcceptingOutOfAreaPatients, PharmacyOpenNow, ConsultationRoom, CarParking, DisabledCarParking, StepFreeAccess, WheelchairAccess, DentistAcceptingChildren, DentistAcceptingAdults, DentistAcceptingFreeCare