- Sources: The Spanish dataset is compiled from official government sources.
- Update frequency: Monthly. The API is refreshed during the month.
- Spain uses five-digit postal codes. The first two digits,
01to52, identify one of the 50 provinces or the autonomous cities of Ceuta (51) and Melilla (52). For example,28001is a postal code in the city of Madrid.
Details on data:
- Addresses include the fields
street,streetNumber,postalCode,settlement,municipality,provinceandstate. Thestatefield holds the autonomous community (comunidad autónoma), such as Comunidad de Madrid. - Postal codes are text: in the provinces
01to09they start with a zero, such as08002in Barcelona. - Names that are official in two languages carry both forms, separated by a slash, such as
Donostia/San SebastiánandAraba/Álava. - House numbers are returned as the source writes them:
03and3are different addresses, andS-N(sin número) marks an address without a number. - One house number can have several entrances (portales), each with its own
addressId. When a request matches several of them, the API lists theiraddressIdvalues to choose from.