Please wait...

InLife Accredited Hospitals

By: Qymera


This API lists all the accredited hospitals in the country.



Overview

  • This API lists all the accredited hospitals in the country.
  • It can be used by hospitals, doctor associations and other organizations to make it easier for patients to find quality facilities that offer the right services at a reasonable price.
Using the API

We built the API to be as self-documenting as possible, but if you find yourself overwhelmed, we organized this site into four major areas.

  • Getting started introduces you to the operations offered by the API.
  • API calls gives you a hands-on experience of those operations with an interactive console.

Getting Started

The current version of the API lives at https://gateway.qymera.tech/qymera/sb/inlife/v1/.

  • https://gateway.qymera.tech/qymera/sb/inlife/v1/hospitals/accredited
Endpoints
Endpoint What it does
/hospitals/accredited Get List of Accredited InLife Hospitals in the Country

API Calls

Headers
Key Value Description
accept application/json
x-ibm-client-id Use the given application credential id
x-ibm-client-secret Use the given application credential secret
/hospitals/accredited
Implementation Notes

Get List of Accredited InLife Hospitals in the country

Sample Request:
curl --request GET \
  --url 'https://gateway.qymera.tech/qymera/sb/inlife/v1/hospitals/accredited' \
  --header 'accept: application/json' \
  --header 'x-ibm-client-id: REPLACE_THIS_VALUE' \
  --header 'x-ibm-client-secret: REPLACE_THIS_VALUE'
Request:

GET

https://gateway.qymera.tech/qymera/sb/inlife/v1/hospitals/accredited

Response:

200

[
    {
        "options": {
            "classes": "ninja_table_row_0 nt_row_id_548"
        },
        "value": {
            "nameofhospital": "COTABATO MEDICAL SPECIALIST HOSPITAL",
            "city": "COTABATO CITY",
            "region": "ARMM",
            "address": "QUEZON AVENUE COTABATO CITY",
            "___id___": "548"
        }
    },
    {
        "options": {
            "classes": "ninja_table_row_1 nt_row_id_549"
        },
        "value": {
            "nameofhospital": "NOTRE DAME DE CHARTRES HOSPITAL",
            "city": "BAGUIO CITY",
            "region": "CAR",
            "address": "25 GEN. LUNA ROAD BAGUIO CITY",
            "___id___": "549"
        }
    },
    {
        "options": {
            "classes": "ninja_table_row_2 nt_row_id_550"
        },
        "value": {
            "nameofhospital": "ST. LOUIS UNIVERSITY HOSPITAL-BAGUIO",
            "city": "BAGUIO CITY",
            "region": "CAR",
            "address": "ASSUMPTION RD.EXT., BAGUIO CITY",
            "___id___": "550"
        }
    }
]

404

{
    "code": -14,
    "message": "Something went wrong to hospital fetching service."
}