Peru

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
PE
ISO alpha-3
PER
ISO numeric
604
FIPS 10-4
PE
GeoNames ID
3932488

Key facts

Capital
Lima
Area
1,285,220 km²
Population
31,989,256
Currency
Sol (PEN)
Calling code
+51
Top-level domain
.pe
Official languages
es-PE,qu,ay

Continent

Name
South America
Code
SA
In this dataset
14 countries

South America in the country atlas

Location

Latitude
-10
Longitude
-75.25
Min latitude
-18.337746206368088
Min longitude
-81.33755752899992
Max latitude
-0.02909271199992247
Max longitude
-68.68425248299991

Boundary

Peru

The API call behind this page

Request

curl -H "X-API-Key: YOUR_KEY" \
  "https://geosearch.dev/v1/countries/PE?fields=iso_code,iso3_code,name,capital,population,area_sq_km,currency_code,continent_code"

Response

{
  "data": {
    "area_sq_km": 1285220,
    "capital": "Lima",
    "continent_code": "SA",
    "currency_code": "PEN",
    "iso3_code": "PER",
    "iso_code": "PE",
    "name": "Peru",
    "population": 31989256
  }
}

Formatted for reading. The API returns the same JSON on one line.

Other endpoints for this country

  • /v1/countries/PE/regions
  • /v1/cities?country=PE
  • /v1/postal-codes?country=PE
  • /v1/timezones?country=PE
Get a free API key

Name in other languages

Arabic
بيرو
Chinese
秘鲁
English
Peru
French
Pérou
German
Peru
Hindi
पेरू
Italian
Perù
Japanese
ペルー
Korean
페루
Portuguese
Peru
Russian
Перу
Spanish
Perú
Total language variants
147

The API returns any of them with ?lang=.

Time zones

IANA ID UTC offset DST offset
America/Lima UTC-05:00 UTC-05:00

Postal code format

Format
#####
Pattern
^(\d{5})$

First-level administrative regions

  • Departamento de Lima
  • Provincia de Lima
  • Departamento de Piura
  • Departamento de La Libertad
  • Departamento de Puno
  • Departamento de Cajamarca
  • Provincia Constitucional del Callao
  • Departamento de Junín
  • Departamento de Arequipa
  • Departamento de Cusco
  • Departamento de Lambayeque
  • Departamento de Ancash
  • Departamento de Loreto
  • Departamento de Ica
  • Departamento de San Martín
  • Departamento de Huánuco
  • Departamento de Ayacucho
  • Departamento de Huancavelica
  • Departamento de Amazonas
  • Departamento de Ucayali
  • Departamento de Apurímac
  • Departamento de Pasco
  • Departamento de Tacna
  • Departamento de Tumbes

24 of 26 shown, largest first

Largest cities

City Population
Lima 7,737,002
Callao 1,226,200
Arequipa 1,195,700
Trujillo 1,067,700
Piura 630,000
Chiclayo 609,400
Huancayo 456,250
Cusco 428,450
Iquitos 377,609
Pucallpa 326,040

Coverage in this dataset

Cities
47,492
First-level regions
26
Postal codes
96,943
Name languages
147
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.