Madagascar
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
- MG
- ISO alpha-3
- MDG
- ISO numeric
- 450
- FIPS 10-4
- MA
- GeoNames ID
- 1062947
Key facts
- Capital
- Antananarivo
- Area
- 587,040 km²
- Population
- 26,262,368
- Currency
- Ariary (MGA)
- Calling code
- +261
- Top-level domain
- .mg
- Official languages
- fr-MG,mg
Continent
- Name
- Africa
- Code
- AF
- In this dataset
- 58 countries
Location
- Latitude
- -20
- Longitude
- 47
- Min latitude
- -25.59856536299992
- Min longitude
- 43.22291100400008
- Max latitude
- -11.943617445999905
- Max longitude
- 50.503916863000086
Boundary
The API call behind this page
Request
curl -H "X-API-Key: YOUR_KEY" \
"https://geosearch.dev/v1/countries/MG?fields=iso_code,iso3_code,name,capital,population,area_sq_km,currency_code,continent_code"
Response
{
"data": {
"area_sq_km": 587040,
"capital": "Antananarivo",
"continent_code": "AF",
"currency_code": "MGA",
"iso3_code": "MDG",
"iso_code": "MG",
"name": "Madagascar",
"population": 26262368
}
}
Formatted for reading. The API returns the same JSON on one line.
Other endpoints for this country
/v1/countries/MG/regions/v1/cities?country=MG/v1/postal-codes?country=MG/v1/timezones?country=MG
Name in other languages
- Arabic
- مدغشقر
- Chinese
- 马达加斯加
- English
- Madagascar
- French
- Madagascar
- German
- Madagaskar
- Hindi
- मेडागास्कर
- Italian
- Madagascar
- Japanese
- マダガスカル
- Korean
- 마다가스카르
- Portuguese
- Madagascar
- Russian
- Мадагаскар
- Spanish
- Madagascar
- Total language variants
- 138
The API returns any of them with ?lang=.
Time zones
| IANA ID | UTC offset | DST offset |
|---|---|---|
| Indian/Antananarivo | UTC+03:00 | UTC+03:00 |
Postal code format
- Format
- ###
- Pattern
^(\d{3})$
First-level administrative regions
- Analamanga Region
- Vakinankaratra Region
- Atsimo-Andrefana Region
- Sofia Region
- Atsinanana Region
- Haute Matsiatra Region
- Alaotra Mangoro Region
- Analanjirofo Region
- Sava Region
- Atsimo-Atsinanana Region
- Boeny Region
- Androy Region
- Itasy Region
- Diana Region
- Amoron'i Mania Region
- Anosy Region
- Fitovinany Region
- Vatovavy Region
- Menabe Region
- Bongolava Region
- Ihorombe Region
- Betsiboka Region
- Melaky Region
23 of 23 shown, largest first
Largest cities
| City | Population |
|---|---|
| Antananarivo | 1,349,501 |
| Toamasina | 345,107 |
| Antsirabe | 260,907 |
| Mahajanga | 260,556 |
| Fianarantsoa | 203,105 |
| Toliara | 178,725 |
| Antsiranana | 136,959 |
| Sambava | 89,003 |
| Imerintsiatosika | 74,085 |
| Antalaha | 71,898 |
Coverage in this dataset
- Cities
- 24,174
- First-level regions
- 23
- Postal codes
- 0
- Name languages
- 138
- 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.