HISPMD API Gateways

API Key Management

API key saved successfully

Some endpoints require an API key for authentication. Save your key here to automatically include it in requests.

API Endpoints

Main HIS Indicator Data New
Indicators
Indicators Group
Indicators Target
Data Sources
Data Sources Details
Regions
Facility Types
DHIS2 EIDM
DHIS2 Reporting Rates
GET https://hispmd.merqconsultancy.org/api/chart/public/data/hispm_data.php

Access Main HIS Indicator Data through this API endpoint. The response will be in JSON format containing all relevant data points.

Response will appear here...
GET https://hispmd.merqconsultancy.org/app/api/v1.php?table=moh_indicators&action=list&apikey=YOUR_API_KEY

Access Indicators through this API endpoint. The response will be in JSON format containing all relevant data points.

This endpoint requires an API key for authentication.

Response will appear here...
GET https://hispmd.merqconsultancy.org/app/api/v1.php?table=moh_indicator_groups&action=list&apikey=YOUR_API_KEY

Access Indicators Group through this API endpoint. The response will be in JSON format containing all relevant data points.

This endpoint requires an API key for authentication.

Response will appear here...
GET https://hispmd.merqconsultancy.org/app/api/v1.php?table=moh_indicators_target&action=list&apikey=YOUR_API_KEY

Access Indicators Target through this API endpoint. The response will be in JSON format containing all relevant data points.

This endpoint requires an API key for authentication.

Response will appear here...
GET https://hispmd.merqconsultancy.org/app/api/v1.php?table=moh_data_sources&action=list&apikey=YOUR_API_KEY

Access Data Sources through this API endpoint. The response will be in JSON format containing all relevant data points.

This endpoint requires an API key for authentication.

Response will appear here...
GET https://hispmd.merqconsultancy.org/app/api/v1.php?table=moh_ir_datasource&action=list&apikey=YOUR_API_KEY

Access Data Sources Details through this API endpoint. The response will be in JSON format containing all relevant data points.

This endpoint requires an API key for authentication.

Response will appear here...
GET https://hispmd.merqconsultancy.org/app/api/v1.php?table=moh_regions&action=list&apikey=YOUR_API_KEY

Access Regions through this API endpoint. The response will be in JSON format containing all relevant data points.

This endpoint requires an API key for authentication.

Response will appear here...
GET https://hispmd.merqconsultancy.org/app/api/v1.php?table=moh_facility_types&action=list&apikey=YOUR_API_KEY

Access Facility Types through this API endpoint. The response will be in JSON format containing all relevant data points.

This endpoint requires an API key for authentication.

Response will appear here...
GET https://hispmd.merqconsultancy.org/app/api/v1.php?table=eidm_hc&action=list&apikey=YOUR_API_KEY

Access DHIS2 EIDM through this API endpoint. The response will be in JSON format containing all relevant data points.

This endpoint requires an API key for authentication.

Response will appear here...
GET https://hispmd.merqconsultancy.org/app/api/v1.php?table=dhis2_reporting_rates&action=list&apikey=YOUR_API_KEY

Access DHIS2 Reporting Rates through this API endpoint. The response will be in JSON format containing all relevant data points.

This endpoint requires an API key for authentication.

Response will appear here...

How to Use These APIs

1

Authentication

Some API endpoints require authentication using an API key. Include your API key in the request URL or header:

// URL parameter method fetch('https://hispmd.merqconsultancy.org/app/api/v1.php?table=moh_indicators&action=list&apikey=YOUR_API_KEY') // OR header method fetch('https://hispmd.merqconsultancy.org/app/api/v1.php?table=moh_indicators&action=list', { headers: { 'Authorization': 'Bearer YOUR_API_KEY' } })
2

Making Requests

Use HTTP GET requests to retrieve data. All responses are in JSON format.

fetch('https://hispmd.merqconsultancy.org/api/chart/public/data/hispm_data.php') .then(response => response.json()) .then(data => console.log(data));
3

Response Handling

Successful responses will have a 200 status code. Errors will return appropriate HTTP status codes with error details in the response body.

{ "status": "success", "data": { ... }, "timestamp": "2025-03-28T12:00:00Z" }
4

Rate Limiting

API requests are limited to 100 requests per minute per API key. Exceeding this limit will result in a 429 status code.