Zipcodes by prefix (ES)
What this tool does
Use this tool to find a list of postcodes that start with a specific sequence of numbers. It works best for Spain (ES) but can also search worldwide if you specify a country.
Please note that the list is limited to a small number of results and may not include every possible postcode.
Common uses
- Autocomplete postcode fields in forms to reduce typing errors.
- Verify if a user-entered postcode is valid and exists in the system.
- Find potential postcodes when only the first few digits are known.
Input data
| Parameter | Required | Example | Description |
|---|---|---|---|
zipcode | Yes | 080 | Enter the first few digits of the postcode you are looking for (for example, 080 for Barcelona or 28 for Madrid). This is required. |
Output data
| Field | Description |
|---|---|
value | A list of postcodes that start with the digits you entered. For example, if you search for '080', it might return '08001', '08002'. |