Western Sahara
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
- EH
- ISO alpha-3
- ESH
- ISO numeric
- 732
- FIPS 10-4
- WI
- GeoNames ID
- 2461445
Key facts
- Capital
- El-Aaiun
- Area
- 266,000 km²
- Population
- 273,008
- Currency
- Dirham (MAD)
- Calling code
- +212
- Top-level domain
- .eh
- Official languages
- ar,mey
Continent
- Name
- Africa
- Code
- AF
- In this dataset
- 58 countries
Location
- Min latitude
- 20.766913153000075
- Min longitude
- -17.104644334999932
- Max latitude
- 27.661465148999994
- Max longitude
- -8.680809081999882
Boundary
The API call behind this page
Request
curl -H "X-API-Key: YOUR_KEY" \
"https://geosearch.dev/v1/countries/EH?fields=iso_code,iso3_code,name,capital,population,area_sq_km,currency_code,continent_code"
Response
{
"data": {
"area_sq_km": 266000,
"capital": "El-Aaiun",
"continent_code": "AF",
"currency_code": "MAD",
"iso3_code": "ESH",
"iso_code": "EH",
"name": "Western Sahara",
"population": 273008
}
}
Formatted for reading. The API returns the same JSON on one line.
Other endpoints for this country
/v1/countries/EH/regions/v1/cities?country=EH/v1/postal-codes?country=EH/v1/timezones?country=EH
Name in other languages
- Arabic
- الصحراء الغربية
- Chinese
- 西撒哈拉
- English
- Western Sahara
- French
- Sahara Occidental
- German
- Westsahara
- Hindi
- पश्चिमी सहारा
- Italian
- Sahara Occidentale
- Japanese
- 西サハラ
- Korean
- 서사하라
- Portuguese
- Saara Ocidental
- Russian
- Западная Сахара
- Spanish
- Sáhara Occidental
- Total language variants
- 110
The API returns any of them with ?lang=.
Time zones
| IANA ID | UTC offset | DST offset |
|---|---|---|
| Africa/El_Aaiun | UTC+01:00 | UTC+01:00 |
Largest cities
| City | Population |
|---|---|
| Laayoune | 196,331 |
| Dakhla | 106,277 |
| Boujdour | 42,651 |
| El Marsa | 28,848 |
| Meharrize | 12,000 |
| Tichla | 6,036 |
| El Aargub | 5,020 |
| Bir Ganduz | 4,625 |
| Bir Ghandouz | 4,625 |
| Amgala | 4,398 |
Coverage in this dataset
- Cities
- 50
- First-level regions
- 0
- Postal codes
- 0
- Name languages
- 110
- 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.