{"api":{"id":"api_7b2595551e5452bdbb599c90","slug":"nhs-organisations","name":"NHS Organisations Directory API","description":"NHS England's official directory of health organisations (GP practices, pharmacies, trusts and more), one row each with role in words, status, postcode, full address and the organisations it is linked to.","kind":"ready_made","visibility":"public","domain":"directory.spineservices.nhs.uk","source_url":"https://directory.spineservices.nhs.uk/ORD/2-0-0/organisations","category":"health","record_type":"generic","active_version":"1.0","units_per_1k":2000,"health":"unknown","auto_repair":false,"last_checked_at":null,"last_run_at":null,"fields_count":10,"created_at":"2026-12-06T03:57:27.690Z","updated_at":"2026-12-06T03:57:27.690Z","runnable":true,"egress":null,"repairs":[],"repairs_total":0,"how":"Runs on a reader we built and maintain by hand for this site.","fields":[{"name":"org_id","type":"string","description":"The NHS organisation code (ODS code).","required":true,"coverage":1,"example":"C3O9X"},{"name":"name","type":"string","description":"Organisation name.","required":false,"coverage":1,"example":"COMMUNITY PHARMACY WEST YORKSHIRE"},{"name":"status","type":"string","description":"Active or Inactive.","required":false,"coverage":1,"example":"Active"},{"name":"primary_role","type":"string","description":"Main role in words, such as PHARMACY or GP PRACTICE.","required":false,"coverage":1,"example":"NON-NHS ORGANISATION"},{"name":"primary_role_code","type":"string","description":"Main role code, such as RO182.","required":false,"coverage":1,"example":"RO157"},{"name":"postcode","type":"string","description":"Postcode.","required":false,"coverage":1,"example":"LS11 5HL"},{"name":"last_change_date","type":"date","description":"Day the record last changed.","required":false,"coverage":1,"example":"2020-11-06"},{"name":"address","type":"string","description":"Full address on one line.","required":false,"coverage":1,"example":"BROOKLANDS COURT, CARR MOOR SIDE, LEEDS, WEST YORKSHIRE, LS11 5HL, ENGLAND"},{"name":"relationships","type":"array","description":"Linked organisations, each as code and role in words.","required":false,"coverage":1,"example":["QWO (STRATEGIC PARTNERSHIP)"]},{"name":"url","type":"url","description":"Directory record of the organisation.","required":false,"coverage":1,"example":"https://directory.spineservices.nhs.uk/ORD/2-0-0/organisations/C3O9X"}],"inputs":[{"name":"name","type":"string","description":"Optional organisation name words (at least 3 letters).","example":"pharmacy"},{"name":"postcode","type":"string","description":"Optional postcode or the start of one.","example":"LS1"},{"name":"role","type":"string","description":"Optional NHS role by name or code, such as PHARMACY, GP PRACTICE, NHS TRUST or RO182.","example":"pharmacy"},{"name":"active_only","type":"boolean","description":"Only organisations that are still active.","default":true,"example":true},{"name":"max_records","type":"integer","description":"Most organisations to return.","example":1000}],"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","additionalProperties":true,"properties":{"address":{"description":"Full address on one line.","type":"string"},"last_change_date":{"description":"Day the record last changed.","format":"date","type":"string"},"name":{"description":"Organisation name.","type":"string"},"org_id":{"description":"The NHS organisation code (ODS code).","type":"string"},"postcode":{"description":"Postcode.","type":"string"},"primary_role":{"description":"Main role in words, such as PHARMACY or GP PRACTICE.","type":"string"},"primary_role_code":{"description":"Main role code, such as RO182.","type":"string"},"relationships":{"description":"Linked organisations, each as code and role in words.","type":"array"},"status":{"description":"Active or Inactive.","type":"string"},"url":{"description":"Directory record of the organisation.","format":"uri","type":"string"}},"required":["org_id"],"title":"NHS Organisations Directory API","type":"object"},"samples":[{"org_id":"C3O9X","name":"COMMUNITY PHARMACY WEST YORKSHIRE","status":"Active","primary_role":"NON-NHS ORGANISATION","primary_role_code":"RO157","postcode":"LS11 5HL","last_change_date":"2020-11-06","address":"BROOKLANDS COURT, CARR MOOR SIDE, LEEDS, WEST YORKSHIRE, LS11 5HL, ENGLAND","relationships":["QWO (STRATEGIC PARTNERSHIP)"],"url":"https://directory.spineservices.nhs.uk/ORD/2-0-0/organisations/C3O9X"},{"org_id":"FA670","name":"HORSFORTH - PHARMACY PLUS HEALTH","status":"Active","primary_role":"PHARMACY","primary_role_code":"RO182","postcode":"LS18 4SE","last_change_date":"2025-06-12","address":"GOLDEN BANK HOUSE, BROADGATE LANE, HORSFORTH, LEEDS, LS18 4SE, ENGLAND","relationships":["QWO (STRATEGIC PARTNERSHIP)","O2C4T (PHARMACY HEADQUARTER)"],"url":"https://directory.spineservices.nhs.uk/ORD/2-0-0/organisations/FA670"},{"org_id":"FCV80","name":"WHINMOOR PHARMACY","status":"Active","primary_role":"PHARMACY","primary_role_code":"RO182","postcode":"LS14 2EH","last_change_date":"2021-02-10","address":"46A WHITE LAITHE APPROACH, LEEDS, WEST YORKSHIRE, LS14 2EH, ENGLAND","relationships":["P8CE (PHARMACY HEADQUARTER)","Q52 (NHS ENGLAND (REGION, LOCAL OFFICE))","Q72 (NHS ENGLAND (REGION, LOCAL OFFICE))","QWO (STRATEGIC PARTNERSHIP)"],"url":"https://directory.spineservices.nhs.uk/ORD/2-0-0/organisations/FCV80"}],"validation":{"checked_at":"2026-12-06T03:57:27.599Z","field_coverage":{"address":1,"last_change_date":1,"name":1,"org_id":1,"postcode":1,"primary_role":1,"primary_role_code":1,"relationships":1,"status":1,"url":1},"fresh_read":false,"identity_unique":true,"issues":["Imported from a hand-built source. Field names and types come from its published schema; no live read was made for this check."],"level":"preview","pages_checked":0,"passed":true,"records_checked":3},"links":{"run":"https://pullrow.dev/v1/apis/api_7b2595551e5452bdbb599c90/run","openapi":"https://pullrow.dev/v1/apis/api_7b2595551e5452bdbb599c90/openapi.json","contract":"https://pullrow.dev/v1/apis/api_7b2595551e5452bdbb599c90/contract.json","page":"https://pullrow.dev/catalog/nhs-organisations"},"runs_30d":0,"success_rate_30d":null,"price_per_1k_usd":2,"featured":false,"reliability":{"window_days":30,"runs":0,"completed":0,"succeeded":0,"failed":0,"success_rate":null,"last_run_at":null},"demo":{"available":false,"max_records":0,"reason":"Every run of this API costs us money, so it has no free live demo. The sample records on its page show what it returns.","code":"demo_not_available"},"meta":{"limitations":["Each organisation needs one extra request for its address and links, so the API reads about four organisations a second; 1,000 organisations take around five minutes.","Give at least one of name (3 letters or more), postcode or role: the directory refuses a search with none.","Role takes one NHS role name such as PHARMACY, GP PRACTICE or NHS TRUST, or a code such as RO182; a word that fits several roles is refused with the list of matches.","A postcode needs at least the outward part (such as LS1 or M1 1AE); a bare letter pair such as LS is refused.","The directory covers England and the wider UK health system; Scotland, Wales and Northern Ireland have only some entries.","Open Government Licence v3.0 (NHS England Organisation Data Service): credit NHS England as the source.","The directory is updated daily; last_change_date shows when each record last changed. Phone numbers are not included."]},"plain":{"summary":null,"source":"rules","fields":[{"name":"org_id","label":"Organisation ID","description":"The NHS organisation code (ODS code).","group":"Technical","shown":false,"written":false},{"name":"name","label":"Organisation name","description":"","group":"Basics","shown":true,"written":false},{"name":"status","label":"Status","description":"Active or Inactive.","group":"Basics","shown":true,"written":false},{"name":"primary_role","label":"Primary role","description":"Main role in words, such as PHARMACY or GP PRACTICE.","group":"Basics","shown":true,"written":false},{"name":"primary_role_code","label":"Primary role code","description":"Main role code, such as RO182.","group":"Basics","shown":true,"written":false},{"name":"postcode","label":"Postcode","description":"","group":"Location","shown":true,"written":false},{"name":"last_change_date","label":"Last change date","description":"Day the record last changed.","group":"Dates","shown":true,"written":false},{"name":"address","label":"Address","description":"Full address on one line.","group":"Location","shown":true,"written":false},{"name":"relationships","label":"Relationships","description":"Linked organisations, each as code and role in words.","group":"Basics","shown":true,"written":false},{"name":"url","label":"Link","description":"Directory record of the organisation.","group":"Links","shown":true,"written":false}],"inputs":[{"name":"name","label":"Name","help":"Optional organisation name words (at least 3 letters).","example":"pharmacy","written":false},{"name":"postcode","label":"Postcode","help":"Optional postcode or the start of one.","example":"LS1","written":false},{"name":"role","label":"Role","help":"Optional NHS role by name or code, such as PHARMACY, GP PRACTICE, NHS TRUST or RO182.","example":"pharmacy","written":false},{"name":"active_only","label":"Active only","help":"Only organisations that are still active.","example":"true","written":false},{"name":"max_records","label":"Maximum records","help":"Most organisations to return.","example":"1000","written":false}]}},"incidents":[]}