Spain
Spain Autonomous Community Codes
When dealing with addresses or locations in Spain, our API uses the following autonomous community codes. These codes are based on the ISO 3166-2:ES standard for Spain's autonomous communities and cities.
Code | Name (Spanish) | Name (Regional) | Name (English) | Type |
---|---|---|---|---|
ES-AN | Andalucía | - | Andalusia | Autonomous Community |
ES-AR | Aragón | - | Aragon | Autonomous Community |
ES-AS | Principado de Asturias | - | Principality of Asturias | Autonomous Community |
ES-CN | Canarias | - | Canary Islands | Autonomous Community |
ES-CB | Cantabria | - | Cantabria | Autonomous Community |
ES-CL | Castilla y León | - | Castile and León | Autonomous Community |
ES-CM | Castilla-La Mancha | - | Castile-La Mancha | Autonomous Community |
ES-CT | Cataluña | Catalunya (ca) | Catalonia | Autonomous Community |
ES-CE | Ceuta | - | Ceuta | Autonomous City |
ES-EX | Extremadura | - | Extremadura | Autonomous Community |
ES-GA | Galicia | Galicia (gl) | Galicia | Autonomous Community |
ES-IB | Islas Baleares | Illes Balears (ca) | Balearic Islands | Autonomous Community |
ES-RI | La Rioja | - | La Rioja | Autonomous Community |
ES-MD | Comunidad de Madrid | - | Community of Madrid | Autonomous Community |
ES-ML | Melilla | - | Melilla | Autonomous City |
ES-MC | Región de Murcia | - | Region of Murcia | Autonomous Community |
ES-NC | Comunidad Foral de Navarra | Nafarroako Foru Komunitatea (eu) | Chartered Community of Navarre | Autonomous Community |
ES-PV | País Vasco | Euskadi (eu) | Basque Country | Autonomous Community |
ES-VC | Comunidad Valenciana | València (ca) | Valencian Community | Autonomous Community |
Usage Notes
- Spain is divided into:
- 17 Autonomous Communities (Comunidades Autónomas)
- 2 Autonomous Cities (Ciudades Autónomas) in North Africa
- All codes follow the format 'ES-' followed by two letters
- Several regions have co-official languages:
- Catalonia (ES-CT): Catalan
- Galicia (ES-GA): Galician
- Balearic Islands (ES-IB): Catalan
- Valencian Community (ES-VC): Valencian/Catalan
- Basque Country (ES-PV): Basque
- Navarre (ES-NC): Basque (in certain zones)
- Notable regions:
- Madrid (ES-MD) contains the capital city Madrid
- Ceuta (ES-CE) and Melilla (ES-ML) are Spanish territories in North Africa
- When specifying locations in Spain in your API requests, please use these exact codes for the autonomous community or city
Updated 2 months ago