Vehicle registrations API Reference
3 routes. Base URL https://api.apifor.dev, authenticated with x-api-key. Failed calls are not charged. Overview, limits and sources are on the Vehicle registrations API page.
GET
/v1/vehicle-registrations1 creditNew cars and motorcycles registered, counted by month, day or year, or by maker, model, fuel, state or body type, with filters on each. Counts only, no per-vehicle data. Malaysia since 2000. 1 credit.
| Parameter | In | Type | Rules |
|---|---|---|---|
| country | query | string | ISO 3166-1 alpha-2 · ISO 3166-1 alpha-2. MY today; omit for every covered country |
| class | query | string | one of car, motorcycle · car or motorcycle |
| maker | query | string | Maker, any case (e.g. PERODUA) |
| model | query | string | Model, any case (cars only) |
| fuel | query | string | petrol, diesel, electric, hybrid_petrol, ... |
| state | query | string | JPJ office state or Rakan Niaga |
| type | query | string | JPJ body type, e.g. motokar, jip, pick_up |
| from | query | string | YYYY, YYYY-MM or YYYY-MM-DD |
| to | query | string | YYYY, YYYY-MM or YYYY-MM-DD |
| group_by | query | string | one of day, month, year, class, type, maker, model, fuel, state · default month · month (default), day, year, class, type, maker, model, fuel, state |
| limit | query | integer | 1 to 2000 · default 400 · Groups returned |
curl 'https://api.apifor.dev/v1/vehicle-registrations' \
-H 'x-api-key: YOUR_API_KEY'{
"success": true,
"data": [
{
"country": "MY",
"maker": "BYD",
"registrations": 14407
},
{
"country": "MY",
"maker": "PROTON",
"registrations": 8890
},
{
"country": "MY",
"maker": "TESLA",
"registrations": 7282
}
],
"meta": {
"group_by": "maker",
"filters": {
"class": null,
"maker": null,
"model": null,
"fuel": "electric",
"state": null,
"type": null,
"from": "2025-01-01",
"to": "2025-12-31"
},
"total_registrations": 55594,
"groups": 69,
"truncated": true,
"granularity": "month",
"coverage": [
"MY"
],
"attribution": {
"country": "MY",
"source": "Road Transport Department Malaysia (JPJ), Ministry of Transport, via data.gov.my",
"license": "Creative Commons Attribution 4.0 International (CC BY 4.0)",
"license_url": "https://creativecommons.org/licenses/by/4.0/",
"source_url": "https://data.gov.my/data-catalogue/registration_transactions_car",
"attribution_page": "https://developer.data.gov.my/faq",
"notice": "Source: JPJ via data.gov.my (CC BY 4.0). Counts aggregated by APIFor from the published registration transactions; state is the JPJ offic..."
},
"sources": [
{
"country": "MY",
"source": "Road Transport Department Malaysia (JPJ), Ministry of Transport, via data.gov.my",
"license": "Creative Commons Attribution 4.0 International (CC BY 4.0)",
"license_url": "https://creativecommons.org/licenses/by/4.0/",
"source_url": "https://data.gov.my/data-catalogue/registration_transactions_car",
"attribution_page": "https://developer.data.gov.my/faq",
"notice": "Source: JPJ via data.gov.my (CC BY 4.0). Counts aggregated by APIFor from the published registration transactions; state is the JPJ offic..."
}
]
}
}200OK400Invalid parameters (refunded)
GET
/v1/vehicle-registrations/summary1 creditHeadline for a period (default: last 12 months held): totals by class and fuel, electric and hybrid share, top makers, top car models, split by state. 1 credit.
| Parameter | In | Type | Rules |
|---|---|---|---|
| country | query | string | ISO 3166-1 alpha-2 · ISO 3166-1 alpha-2. MY today; omit for every covered country |
| class | query | string | one of car, motorcycle · car or motorcycle |
| maker | query | string | Maker, any case (e.g. PERODUA) |
| model | query | string | Model, any case (cars only) |
| fuel | query | string | petrol, diesel, electric, hybrid_petrol, ... |
| state | query | string | JPJ office state or Rakan Niaga |
| type | query | string | JPJ body type, e.g. motokar, jip, pick_up |
| from | query | string | YYYY, YYYY-MM or YYYY-MM-DD |
| to | query | string | YYYY, YYYY-MM or YYYY-MM-DD |
curl 'https://api.apifor.dev/v1/vehicle-registrations/summary' \
-H 'x-api-key: YOUR_API_KEY'{
"success": true,
"data": {
"country": "MY",
"period": {
"from": "2025-11-01",
"to": "2026-10-31"
},
"latest_date": "2026-10-31",
"filters": {
"class": null,
"maker": null,
"model": null,
"fuel": null,
"state": null,
"type": null
},
"total_registrations": 1683835,
"electric_share_pct": 5.32,
"hybrid_share_pct": 3.07,
"by_class": [
{
"class": "car",
"registrations": 890711,
"share_pct": 52.9
},
{
"class": "motorcycle",
"registrations": 793124,
"share_pct": 47.1
}
],
"by_fuel": [
{
"fuel": "petrol",
"registrations": 1499354,
"share_pct": 89.04
},
{
"fuel": "electric",
"registrations": 89518,
"share_pct": 5.32
}
],
"top_makers": [
{
"maker": "YAMAHA",
"registrations": 384344,
"share_pct": 22.83
},
{
"maker": "PERODUA",
"registrations": 346736,
"share_pct": 20.59
}
],
"top_car_models": [
{
"maker": "PERODUA",
"model": "BEZZA",
"registrations": 99476,
"share_pct": 5.91
},
{
"maker": "PROTON",
"model": "SAGA",
"registrations": 89174,
"share_pct": 5.3
}
],
"by_state": [
{
"state": "Rakan Niaga",
"registrations": 1443121,
"share_pct": 85.7
},
{
"state": "W.P. Kuala Lumpur",
"registrations": 62281,
"share_pct": 3.7
}
]
},
"meta": {
"coverage": [
"MY"
],
"attribution": {
"country": "MY",
"source": "Road Transport Department Malaysia (JPJ), Ministry of Transport, via data.gov.my",
"license": "Creative Commons Attribution 4.0 International (CC BY 4.0)",
"license_url": "https://creativecommons.org/licenses/by/4.0/",
"source_url": "https://data.gov.my/data-catalogue/registration_transactions_car",
"attribution_page": "https://developer.data.gov.my/faq",
"notice": "Source: JPJ via data.gov.my (CC BY 4.0). Counts aggregated by APIFor from the published registration transactions; state is the JPJ offic..."
},
"sources": [
{
"country": "MY",
"source": "Road Transport Department Malaysia (JPJ), Ministry of Transport, via data.gov.my",
"license": "Creative Commons Attribution 4.0 International (CC BY 4.0)",
"license_url": "https://creativecommons.org/licenses/by/4.0/",
"source_url": "https://data.gov.my/data-catalogue/registration_transactions_car",
"attribution_page": "https://developer.data.gov.my/faq",
"notice": "Source: JPJ via data.gov.my (CC BY 4.0). Counts aggregated by APIFor from the published registration transactions; state is the JPJ offic..."
}
]
}
}200OK400Invalid parameters (refunded)
GET
/v1/vehicle-registrations/coverageFreeCountries this service covers, with sources, licences, row counts and country-only fields. Free (0 credits), still needs an API key. Price note: Free.
curl 'https://api.apifor.dev/v1/vehicle-registrations/coverage' \
-H 'x-api-key: YOUR_API_KEY'{
"success": true,
"data": {
"service": "vehicle-registrations",
"global": false,
"country_param": "optional",
"param_name": "country",
"countries": [
{
"country": "MY",
"market": null,
"subdivision_levels": [
"state"
],
"rows": 541971,
"updated_at": "2026-12-01",
"sources": [
{
"name": "JPJ car registration transactions (data.gov.my)",
"url": "https://data.gov.my/data-catalogue/registration_transactions_car",
"licence": "CC BY 4.0",
"attribution": "Source: JPJ via data.gov.my (CC BY 4.0)"
},
{
"name": "JPJ motorcycle registration transactions (data.gov.my)",
"url": "https://data.gov.my/data-catalogue/registration_transactions_motorcycle",
"licence": "CC BY 4.0",
"attribution": "Source: JPJ via data.gov.my (CC BY 4.0)"
}
],
"local_fields": [],
"notes": "New cars and motorcycles registered since 2000, counted by month x body type (motokar, jip, pick_up, window_van, motokar_pelbagai_utiliti..."
}
]
}
}200Coverage