Organisation Data Service - ORD API
Access the full dataset of health and social care organisations in England and Wales, such as trusts or GP practices, using our Organisation Data Service (ODS) Organisation Reference Data (ORD) API.
Rate limits
This API is not designed for high volume usage - to ensure a good level of service you should aim to keep usage below 5 requests per second. For more details, see rate limits.
We are working on increasing the capacity of this API. If you have an exceptional need for higher throughput, contact us to discuss your options.
Overview
Use this API to access details of health and social care organisations in England and Wales, such as trusts or GP practices, using our Organisation Data Service (ODS).
This ORD-compatible API contains the full dataset from ODS, including information on succession (history) and relationships.
We also have an ODS FHIR API which contains a reduced dataset, most useful for transactions.
You can:
- search for organisations
- get the organisation details for a given ODS code
- get a list of recently modified organisations
- get metadata for roles, relationships and record classes
- get a list of organisations that have been modified since a specific date to synchronise data locally
An ODS code is a unique identification code for an organisation that interacts with any area of the NHS. For a full list of the organisation types available, see CSV downloads.
This API returns the following full dataset for an organisation, when searched with an ODS code:
- organisation - ODS code, name, open date, close date, last change date and status if active or inactive
- address - house or flat number, line 1, line 2, line 3, town, postcode and country
- contacts - email, website, telephone and fax
- roles - primary and non-primary roles
- relationships - legal and operational relationships including history where it was captured by ODS
- succession - history of legal succession following reconfiguration or mergers
- additional attributes - data items included to support policy and pragmatic change
For the scope of data coverage of the ODS APIs, see Organisation Data Service - data coverage.
For a non-technical overview of how to build software that deals with organisations and healthcare services, see Building healthcare software - organisations and healthcare services.
Who can use this API
This API can only be used to support the delivery of health and social care.
API status and roadmap
This API is in production. View our roadmap.
If you have any other queries, contact us.
Service level
This API is a bronze service, meaning it is operational and supported only during business hours (8am to 6pm), Monday to Friday excluding bank holidays.
For more details, see service levels.
Technology
Network access
This API is available on the internet and, indirectly, on the Health and Social Care Network (HSCN).
Open source
Environments and testing
Environment | Base URL |
---|---|
User acceptance test (UAT) |
https://uat.directory.spineservices.nhs.uk/ORD/2-0-0/ |
Production | https://directory.spineservices.nhs.uk/ORD/2-0-0/ |
For example:
https://uat.directory.spineservices.nhs.uk/ORD/2-0-0/organisations/RJY
returns the full dataset for the organisation with ODS code RJY.
Integration testing
You can use the UAT environment to perform your integration testing.
Onboarding
This API is open-access, and there is no onboarding process or assurance required.
Interactions
The following table summarises the endpoints of this API.
Endpoint |
Endpoint URLs | Description |
---|---|---|
Organisation |
https://directory.spineservices.nhs.uk/ORD/2-0-0/organisations/<ods_code>? |
Returns the full dataset of a single organisation for the specified ODS code. |
Search |
https://directory.spineservices.nhs.uk/ORD/2-0-0/organisations?{search parameters}
|
Return a summary of multiple organisations when searched with one or many search parameters. |
Synchronise | https://directory.spineservices.nhs.uk/ORD/2-0-0/sync?{search parameters} | Returns a list of organisation records that have been modified since a specified date. |
Roles | https://directory.spineservices.nhs.uk/ORD/2-0-0/roles/<RoleId>?{parameters} | Retrieves CodeSystems information for Roles meta data when searched for a specified role id. |
https://directory.spineservices.nhs.uk/ORD/2-0-0/roles?{parameters} | Retrieves CodeSystems information for Roles meta data for all roles. | |
Relationships | https://directory.spineservices.nhs.uk/ORD/2-0-0/rels/<RelId>?{parameters} | Retrieves CodeSystems information for Relationships meta data when searched for a specific relationship id. |
https://directory.spineservices.nhs.uk/ORD/2-0-0/rels?{parameters} | Retrieves CodeSystems information for Relationships meta data for all relationships. | |
Record classes | https://directory.spineservices.nhs.uk/ORD/2-0-0/recordclasses/<RecordClassId>?{parameters} | Retrieves CodeSystems information for Record Classes meta data when searched for a specific record class id. |
https://directory.spineservices.nhs.uk/ORD/2-0-0/recordclasses?{parameters} | Retrieves CodeSystems information for Record Classes meta data for all record classes. | |
Notifications | https://directory.spineservices.nhs.uk/ORD/2-0-0/notifications | Returns a list of organisation records which have been deleted in the previous 185 days. It supports JSON format only. |
Additional guidance
For additional guidance on using the ODS ORD API, including data definitions, creating a baseline for a local copy of the ORD dataset, and the APIs endpoint details, see technical guidance - ORD.
Last edited: 12 June 2025 10:08 am