MyVaccination API

Free to Use Varies (check documentation)

Overview

MyVaccination is a free public API providing vaccination statistics for Malaysia, including data on doses administered, vaccine types, and regional breakdowns. It requires no authentication and is easy to query with simple HTTP GET requests. Developers can use it to build dashboards tracking Malaysia's vaccination rollout.

Beginner Tip

The data is organized by date and state, so start with the national-level endpoint before drilling into state-specific data to understand the overall structure.

Available Data

country name and code
population
capital city
region and subregion
flag image URL
Use case: Integrate vaccination data for malaysia data into web and mobile applications

Example Response

JSON Response
{
  "name": "Japan",
  "capital": "Tokyo",
  "population": 125800000,
  "region": "Asia",
  "languages": [
    "Japanese"
  ],
  "flag": "https://flagcdn.com/jp.svg",
  "currencies": [
    {
      "code": "JPY",
      "name": "Japanese yen"
    }
  ]
}

Field Reference

date Date of the vaccination record in YYYY-MM-DD format.
daily_partial Number of people who received their first dose on that date.
daily_full Number of people who completed the full vaccination course on that date.
cumul_partial Cumulative count of partially vaccinated individuals up to that date.
cumul_full Cumulative count of fully vaccinated individuals up to that date.

Implementation Example

Request
const url = "https://documenter.getpostman.com/view/16605343/Tzm8GG7u";
const response = await fetch(url);
if (!response.ok) throw new Error(`Request failed: ${response.status}`);
const data = await response.json();
console.log(data);

What Can You Build?

Note: These code examples are AI-generated and unverified. Always refer to the official API documentation for accurate usage.

Common Errors & Troubleshooting

File not found / 404 The dataset path or filename has changed in the GitHub repository
Check the CITF-Malaysia GitHub repository directly for the latest file paths.
CSV instead of JSON format The dataset is provided as CSV files, not a REST JSON API
Parse the CSV using a library like Papa Parse (JS) or pandas (Python) before processing the data.
Stale data The data may not update in real time
Check the repository commit history to confirm how frequently the data files are updated.

Metadata Score Breakdown

Estimated from metadata — endpoint not independently tested

This score is estimated from observable metadata — HTTPS support, authentication model, declared CORS, and documentation reachability — because the API requires authentication or exposes no publicly testable endpoint. The five-signal breakdown is only shown for live-tested APIs.

Metadata estimate · endpoint not independently tested

Technical Specifications

Auth No Auth
HTTPS REQUIRED
CORS UNKNOWN
Category Health
Difficulty Beginner
Verified: 2026-04-04

Related Tags

Similar APIs

View All →