🇪🇸Spain
España
Spain is a sovereign country in Southern Europe, Europe. Its capital is Madrid. It has a population of about 47,351,567 across 505,992 km² — roughly 94 people per km². The currency is the Euro (EUR €). The official language is Spanish. Its ISO 3166 codes are ES, ESP, 724, and the international calling code is +34.
Key facts about Spain
GET/alpha/ESOther names for Spain
Largest cities in Spain (12)
GET/cities?country=ESCountries bordering Spain (5)
GET/borders/spainFrequently asked questions about Spain
What is the capital of Spain?
The capital of Spain is Madrid.
What is the population of Spain?
Spain has a population of about 47,351,567, the 30th largest in the world.
What currency is used in Spain?
Spain uses the Euro (EUR, symbol €).
What languages are spoken in Spain?
The main language of Spain is Spanish.
What is the calling code for Spain?
The international dialing code for Spain is +34.
Which countries border Spain?
Spain shares land borders with Andorra, France, Gibraltar, Portugal, and Morocco.
Query Spain from the API
Every value on this page is available from the free REST API — no key required. Each endpoint below is filled in for Spain; copy any URL and run it.
GET countries.dev/alpha/ESGET countries.dev/alpha/ESPGET countries.dev/numericcode/724GET countries.dev/cioc/ESPGET countries.dev/name/spainGET countries.dev/region/EuropeGET countries.dev/subregion/Southern%20EuropeGET countries.dev/currency/EURGET countries.dev/lang/esGET countries.dev/callingcode/34GET countries.dev/timezone/UTCGET countries.dev/tld/esGET countries.dev/demonym/SpanishGET countries.dev/capital/Madrid