El Salvador
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
- SV
- ISO alpha-3
- SLV
- ISO numeric
- 222
- FIPS 10-4
- ES
- GeoNames ID
- 3585968
Key facts
- Capital
- San Salvador
- Area
- 21,040 km²
- Population
- 6,420,744
- Currency
- Dollar (USD)
- Calling code
- +503
- Top-level domain
- .sv
- Official languages
- es-SV
Continent
- Name
- North America
- Code
- NA
- In this dataset
- 42 countries
Location
- Latitude
- 13.83333
- Longitude
- -88.91667
- Min latitude
- 13.158636786000045
- Min longitude
- -90.11477901199993
- Max latitude
- 14.445372620000086
- Max longitude
- -87.69319351199994
Boundary
The API call behind this page
Request
curl -H "X-API-Key: YOUR_KEY" \
"https://geosearch.dev/v1/countries/SV?fields=iso_code,iso3_code,name,capital,population,area_sq_km,currency_code,continent_code"
Response
{
"data": {
"area_sq_km": 21040,
"capital": "San Salvador",
"continent_code": "NA",
"currency_code": "USD",
"iso3_code": "SLV",
"iso_code": "SV",
"name": "El Salvador",
"population": 6420744
}
}
Formatted for reading. The API returns the same JSON on one line.
Other endpoints for this country
/v1/countries/SV/regions/v1/cities?country=SV/v1/postal-codes?country=SV/v1/timezones?country=SV
Name in other languages
- Arabic
- السلفادور
- Chinese
- 萨尔瓦多
- English
- El Salvador
- French
- Salvador
- German
- El Salvador
- Hindi
- अल सल्वाडोर
- Italian
- El Salvador
- Japanese
- エルサルバドル
- Korean
- 엘살바도르
- Portuguese
- El Salvador
- Russian
- Сальвадор
- Spanish
- El Salvador
- Total language variants
- 139
The API returns any of them with ?lang=.
Time zones
| IANA ID | UTC offset | DST offset |
|---|---|---|
| America/El_Salvador | UTC-06:00 | UTC-06:00 |
Postal code format
- Format
- CP ####
- Pattern
^(?:CP)*(\d{4})$
First-level administrative regions
- Departamento de San Salvador
- Departamento de La Libertad
- Departamento de Santa Ana
- Departamento de San Miguel
- Departamento de Sonsonate
- Departamento de Usulután
- Departamento de Ahuachapán
- Departamento de La Paz
- Departamento de La Unión
- Departamento de Cuscatlán
- Departamento de Chalatenango
- Departamento de Morazán
- Departamento de San Vicente
- Departamento de Cabañas
14 of 14 shown, largest first
Largest cities
| City | Population |
|---|---|
| San Salvador | 525,990 |
| Soyapango | 329,708 |
| San Miguel | 247,126 |
| Santa Ana | 176,661 |
| Mejicanos | 160,317 |
| Santa Tecla | 124,694 |
| Apopa | 112,158 |
| Delgado | 71,594 |
| Sonsonate | 59,468 |
| San Marcos | 54,615 |
Coverage in this dataset
- Cities
- 4,889
- First-level regions
- 14
- Postal codes
- 0
- Name languages
- 139
- 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.