Skip to content
CityAPI.ORG

MADRID

Madrid · SPAIN (ES) · 40.42°N / 3.70°W

29
ADM1 · ID GeoNames 3,117,735

Madrid is a city in Spain with a population of 3,255,944. It sits at 40.42/-3.70, runs on Europe/Madrid, is 0 km from Sol.

Population 3,255,944
Place Type National Capital
Elevation n/a
Timezone Europe/Madrid

All facts

fields
Country
Spain
Subdivision
Madrid
Coords
40.42°N / 3.70°W
UTC offset
+1
DST
Observed

Proximity

nearest 10 · within 50 km
W Sol Madrid 8,164 0.1 km
N Madrid Centro Madrid 149,718 0.2 km
E Las Cortes Madrid 10,816 0.5 km
SW La Latina Madrid 10,747 0.7 km
S Embajadores Madrid 46,204 0.8 km
NE Justicia Madrid 18,219 0.9 km
S Lavapiés Madrid 44,630 0.9 km
W Palacio Madrid 23,501 1.0 km
N Universidad Madrid 32,783 1.1 km
E Jerónimos Madrid 6,825 1.5 km

Air access

nearby

Universities

linked

FAQ

9 questions
What is the population of Madrid?
3,255,944 people, per GeoNames.
Which timezone is Madrid in?
Europe/Madrid.
Which country is Madrid in?
Spain (ES).
Which airport serves Madrid?
Madrid-Cuatro Vientos Airport (LECU).
Does Madrid have a university?
Yes. Schiller International University, Madrid and Universidad Autónoma de Madrid.
What languages are spoken in Spain?
Spanish; Castilian.
What currency is used in Spain?
Euro.
How many cities are in Spain?
7,394 on record.
Which admin region is Madrid in?
Madrid.

Get this page as JSON

no auth
cURL 200 OK
$ curl https://api.cityapi.org/v1/cities/3117735

{
  "data": {
    "id": 3117735,
    "name": "Madrid",
    "ascii_name": "Madrid",
    "country_code": "ES",
    "population": 3255944,
    "elevation": null,
    "timezone_id": "Europe/Madrid",
    "feature_class": "P",
    "feature_code": "PPLC",
    "latitude": 40.4165,
    "longitude": -3.70256
  }
}

Context

comparatives
  • 398.8x the population of Sol.
  • 0 km from Sol.
  • Same timezone (Europe/Madrid) as 7,273 other cities in Spain.
CITYAPI · STATION BERLIN/DE · DATUM/2026-06-11 · BUILT BY BROTCODE Terms · Privacy · Impressum ·