Malaysia
Names and codes: GeoNames, CC BY 4.0 · Boundary: Natural Earth, public domain · Refresh date not recorded · Sources and licenses
Codes and identifiers
- ISO alpha-2
- MY
- ISO alpha-3
- MYS
- ISO numeric
- 458
- FIPS 10-4
- MY
- GeoNames ID
- 1733045
Key facts
- Capital
- Kuala Lumpur
- Area
- 329,750 km²
- Population
- 31,528,585
- Currency
- Ringgit (MYR)
- Calling code
- +60
- Top-level domain
- .my
- Official languages
- ms-MY,en,zh,ta,te,ml,pa,th
Continent
- Name
- Asia
- Code
- AS
- In this dataset
- 51 countries
Location
- Latitude
- 2.5
- Longitude
- 112.5
- Min latitude
- 0.8513703410001057
- Min longitude
- 99.64522806000008
- Max latitude
- 7.35578034100007
- Max longitude
- 119.27808678500003
Boundary
The API call behind this page
Request
curl -H "X-API-Key: YOUR_KEY" \
"https://geosearch.dev/v1/countries/MY?fields=iso_code,iso3_code,name,capital,population,area_sq_km,currency_code,continent_code"
Response
{
"data": {
"area_sq_km": 329750,
"capital": "Kuala Lumpur",
"continent_code": "AS",
"currency_code": "MYR",
"iso3_code": "MYS",
"iso_code": "MY",
"name": "Malaysia",
"population": 31528585
}
}
Formatted for reading. The API returns the same JSON on one line.
Other endpoints for this country
/v1/countries/MY/regions/v1/cities?country=MY/v1/postal-codes?country=MY/v1/timezones?country=MY
Name in other languages
- Arabic
- ماليزيا
- Chinese
- 马来西亚
- English
- Malaysia
- French
- Malaisie
- German
- Malaysia
- Hindi
- मलेशिया
- Italian
- Malaysia
- Japanese
- マレーシア
- Korean
- 말레이시아
- Portuguese
- Malásia
- Russian
- Малайзия
- Spanish
- Malasia
- Total language variants
- 142
The API returns any of them with ?lang=.
Time zones
| IANA ID | UTC offset | DST offset |
|---|---|---|
| Asia/Kuala_Lumpur | UTC+08:00 | UTC+08:00 |
| Asia/Kuching | UTC+08:00 | UTC+08:00 |
Postal code format
- Format
- #####
- Pattern
^(\d{5})$
First-level administrative regions
- Selangor
- Johor
- Sabah
- Sarawak
- Perak
- Kuala Lumpur
- Kedah
- Kelantan
- Pulau Pinang
- Pahang
- Negeri Sembilan
- Terengganu
- Melaka
- Perlis
- Putrajaya
- Labuan
16 of 16 shown, largest first
Largest cities
| City | Population |
|---|---|
| Kuala Lumpur | 1,453,975 |
| Johor Bahru | 858,118 |
| Kampung Baru Subang | 833,571 |
| Petaling Jaya | 807,879 |
| Ipoh | 759,952 |
| Shah Alam | 740,750 |
| Subang Jaya | 708,296 |
| Bukit Rahman Putra | 607,000 |
| Pelentong | 583,640 |
| Malacca | 579,000 |
Coverage in this dataset
- Cities
- 21,672
- First-level regions
- 16
- Postal codes
- 2,818
- Name languages
- 142
- Boundary polygon
- Yes
What GeoSearch holds for this country in the current dataset. Counts change with each refresh.
Query this data yourself
The free tier includes every endpoint: 5,000 requests a month, no card.