How to get Hospital listing?

Hi everyone,

I’m currently working on building an API that retrieves a complete list of registered hospitals (preferably NHS-recognised) across the UK.

:pushpin: Objective:

To create an API endpoint that returns hospital data such as:

  • Hospital name

  • ODS code

  • Address/postcode

  • Contact details

  • Organisation status/type

  • Region (if available)

The idea is to make this accessible for integrations into our systems.


Hello Team,

Can you please help us by providing API which will give me NHS registered Hospital or GP listing ?

We’re into urgent need of that API ?

not my specific area, but have you looked into the Organisational Data Service and their ORD API Organisation Data Service - ORD API - NHS England Digital

another option could be the Service Search API which display a lot of what you mention above Service Search API - versions 1 and 2 - NHS England Digital

Thank you so much, Stewart for your reply.

why we require this listing is to display near by NHS or GP’s to user. So we will be having nearby NHS or GP listing or MapView. Where user can select and get details or Navigate.

Yes, we verified both suggested APIs:

For first API - we will need to send ORG ID and related details will be returned. Currently we don’t have any organisation details with us.

2nd API : Who can use this API

These APIs can only be used where there is a legal basis to do so. Make sure you have a valid use case before you go too far with your development. Also no sandbox or any testing environment available for this api.

Both your suggested APIs are not fulfilling our requirement.

Gaurav

the valid use case will be the same for most NHS Api’s - it doesn’t preclude you from using it - you just need to be able to get your use case assessed to make sure it is suitable - most Direct Care use cases are supported.

RE the sandbox for the service search API, have you seen this page as it lists many below for the different data it provides

NHS Website Content API v2 - NHS England Digital which if you see the section which incudes

hope this helps