๐ฑ๐พ Libya 22 administrative divisions
22 first-level administrative divisions (states, provinces, regions or counties, depending on the country) and 430 cities and towns, each with latitude and longitude. Public domain, free to download, no API key.
The country
- ISO 3166-1
- LY ยท LBY ยท 434
- Capital
- Tripoli
- Continent
- Africa
- Currency
- LYD, Libyan dinar
- Calling code
- +218
- Internet domain
- .ly
- Divisions
- 22
- Cities and towns
- 430
Divisions
The 22 divisions of Libya
22 of them carry an ISO 3166-2 code. Counts are cities and towns inside each division.
| Division | ISO 3166-2 | Cities and towns | Population |
|---|---|---|---|
| Al Wahat District | LY-WA | 24 | โ |
| Benghazi | LY-BA | 14 | 631,555 |
| Butnan District | LY-BU | 22 | โ |
| Derna District | LY-DR | 30 | โ |
| Ghat District | LY-GT | 2 | โ |
| Jabal al Akhdar | LY-JA | 45 | โ |
| Jabal al Gharbi District | LY-JG | 33 | 304,159 |
| Jafara | LY-JI | 13 | โ |
| Jufra | LY-JU | 6 | โ |
| Kufra District | LY-KF | 11 | 50,104 |
| Marj District | LY-MJ | 31 | โ |
| Misrata District | LY-MI | 26 | โ |
| Murqub | LY-MB | 44 | โ |
| Murzuq District | LY-MQ | 19 | โ |
| Nalut District | LY-NL | 17 | โ |
| Nuqat al Khams District | LY-NQ | 16 | โ |
| Sabha District | LY-SB | 7 | โ |
| Sirte District | LY-SR | 19 | 141,378 |
| Tripoli District | LY-TB | 15 | โ |
| Wadi al Hayaa District | LY-WD | 19 | โ |
| Wadi al Shatii District | LY-WS | 2 | โ |
| Zawiya District | LY-ZA | 14 | โ |
A further 1 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 Libya
curl -s https://api.placedb.org/v1/regions/LY.json
# the cities and towns of one division (id from the file above)
curl -s https://api.placedb.org/v1/cities/LY/<id>.json
No key, no account, no rate limit. The endpoints ยท try it live.