Developers
Nigeria Health Finder shares its listings with other systems through a REST API, a FHIR R4 server and a change feed. Without credentials you see what the public sees; partners with an agreement may see more.
REST API
Search and read services, locations, organisations and practitioners as JSON. Without credentials you can make 60 requests a minute and 10,000 a day from one address.
https://api.hark.health/v1/d/nigeriaOpenAPI document (every request and response) (opens in a new tab)
FHIR R4 server
Read and search Organization, Location, HealthcareService, Practitioner, PractitionerRole and Endpoint resources in FHIR 4.0.1, as JSON. The server is read only.
https://api.hark.health/v1/d/nigeria/fhirCapabilityStatement (what the server supports) (opens in a new tab)
Resources claim these profiles ():
Change feed and webhooks
Partners keep a copy up to date by following the change feed, or by having changes sent to their own system as signed webhooks. Both need partner credentials.
https://api.hark.health/v1/d/nigeria/changesGetting access
Partner credentials (OAuth 2.0 client credentials) come from the directory's team, who decide what you may read and do.
https://api.hark.health/oauth/tokenWhat a partner client may be allowed to do
- search:read
- Search services and autocomplete
- graph:read
- Read organisations, locations, services, practitioners and roles, including filtered lists
- feed:read
- Read the change feed
- export:run
- Request and download exports
- webhooks:manage
- Register webhook endpoints that receive the change feed (needs feed:read too)
To ask for access, contact Nigeria Health Finder through its About page.