Libya
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
- LY
- ISO alpha-3
- LBY
- ISO numeric
- 434
- FIPS 10-4
- LY
- GeoNames ID
- 2215636
Key facts
- Capital
- Tripoli
- Area
- 1,759,540 km²
- Population
- 6,678,567
- Currency
- Dinar (LYD)
- Calling code
- +218
- Top-level domain
- .ly
- Official languages
- ar-LY,it,en
Continent
- Name
- Africa
- Code
- AF
- In this dataset
- 58 countries
Location
- Latitude
- 28
- Longitude
- 17
- Min latitude
- 19.496123759000014
- Min longitude
- 9.286543823000073
- Max latitude
- 33.18122531500005
- Max longitude
- 25.156260613000086
Boundary
The API call behind this page
Request
curl -H "X-API-Key: YOUR_KEY" \
"https://geosearch.dev/v1/countries/LY?fields=iso_code,iso3_code,name,capital,population,area_sq_km,currency_code,continent_code"
Response
{
"data": {
"area_sq_km": 1759540,
"capital": "Tripoli",
"continent_code": "AF",
"currency_code": "LYD",
"iso3_code": "LBY",
"iso_code": "LY",
"name": "Libya",
"population": 6678567
}
}
Formatted for reading. The API returns the same JSON on one line.
Other endpoints for this country
/v1/countries/LY/regions/v1/cities?country=LY/v1/postal-codes?country=LY/v1/timezones?country=LY
Name in other languages
- Arabic
- ليبيا
- Chinese
- 利比亚
- English
- Libya
- French
- Libye
- German
- Libyen
- Hindi
- लीबिया
- Italian
- Libia
- Japanese
- リビア
- Korean
- 리비아
- Portuguese
- Líbia
- Russian
- Ливия
- Spanish
- Libia
- Total language variants
- 145
The API returns any of them with ?lang=.
Time zones
| IANA ID | UTC offset | DST offset |
|---|---|---|
| Africa/Tripoli | UTC+02:00 | UTC+02:00 |
First-level administrative regions
- Sha‘bīyat Banghāzī
- Tripoli
- Sha‘bīyat Mişrātah
- Al Jafārah
- Al Marqab
- Jabal al Gharbi District
- Az Zāwiyah
- An Nuqāţ al Khams
- Al Jabal al Akhḑar
- Al Wāḩāt
- Surt
- Darnah
- Al Buţnān
- Sabhā
- Nālūt
- Al Marj
- Murzuq
- Wādī ash Shāţi’
- Wādī al Ḩayāt
- Al Kufrah
- Al Jufrah
- Ghāt
22 of 22 shown, largest first
Largest cities
| City | Population |
|---|---|
| Tripoli | 1,302,947 |
| Benghazi | 757,490 |
| Misratah | 355,657 |
| Zliten | 203,790 |
| Al Khums | 201,943 |
| Az Zāwīyah | 200,000 |
| Zawiya | 186,123 |
| Janzūr | 154,389 |
| Sabha | 149,329 |
| Tobruk | 141,499 |
Coverage in this dataset
- Cities
- 909
- First-level regions
- 22
- Postal codes
- 0
- Name languages
- 145
- 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.