placedb

Countries

๐Ÿ‡ฒ๐Ÿ‡ฌ Madagascar 22 administrative divisions

22 first-level administrative divisions (states, provinces, regions or counties, depending on the country) and 1,795 cities and towns, each with latitude and longitude. Public domain, free to download, no API key.

The country

ISO 3166-1
MG ยท MDG ยท 450
Capital
Antananarivo
Continent
Africa
Currency
MGA, ariary
Calling code
+261
Internet domain
.mg
Divisions
22
Cities and towns
1,795

Divisions

The 22 divisions of Madagascar

Counts are cities and towns inside each division.

Division ISO 3166-2 Cities and towns Population
Alaotra-Mangoro โ€“ 92 โ€“
Ambovombe-Androy โ€“ 1 โ€“
Amoron'i Mania โ€“ 61 โ€“
Ampasinambo โ€“ 1 โ€“
Analamanga โ€“ 142 โ€“
Analanjirofo โ€“ 37 โ€“
Androy โ€“ 58 โ€“
Anosy โ€“ 78 โ€“
Atsimo-Andrefana โ€“ 128 โ€“
Atsimo-Atsinanana โ€“ 98 โ€“
Betsiboka โ€“ 41 โ€“
Boeny โ€“ 50 โ€“
Bongolava โ€“ 32 โ€“
Diana Region โ€“ 73 โ€“
Haute Matsiatra โ€“ 96 โ€“
Ihorombe โ€“ 30 โ€“
Itasy โ€“ 57 โ€“
Melaky โ€“ 46 โ€“
Menabe โ€“ 59 โ€“
Sava Region โ€“ 86 805,300
Sofia โ€“ 126 โ€“
Vakinankaratra โ€“ 90 โ€“

A further 313 places could not be matched to a division and are listed separately in the API as "unassigned": true.

Get it

Both files, in one request each

# every division of Madagascar
curl -s https://api.placedb.org/v1/regions/MG.json

# the cities and towns of one division (id from the file above)
curl -s https://api.placedb.org/v1/cities/MG/<id>.json

No key, no account, no rate limit. The endpoints ยท try it live.