Get Geographic $1.50 / 1,000 calls

City by zipcode (ES)

What this tool does

Use this tool to find the city or cities associated with a Spanish postal code. It helps you verify geographic data and ensure your records point to the correct location within Spain.

When to use it

  • Verifying the address of a customer in Spain.
  • Cleaning up a list of Spanish postal codes to identify missing city names.
  • Confirming the general area for a delivery destination.
  • Checking if a postal code belongs to a specific city in your dataset.

What to expect

The tool returns the name of the city or a list of possible cities. If the postal code is valid and linked to a location, you will see the city name. If the code is not recognized or has no associated city, you will see an empty result.

Limitations

  • This tool only works for postal codes in Spain.
  • Some postal codes may correspond to multiple areas, so you might see more than one city name.
  • Accuracy depends on the reference data available for Spanish postal codes.
  • It does not provide street-level precision, only the city or general zone.

When it fails

  • If the postal code is not in the correct format for Spain.
  • If the postal code is not found in the reference data.
  • If the system is temporarily unable to process the request due to internal errors.

Good to know

  • Spanish postal codes can sometimes cover more than one city or district, so reviewing the result is useful.
  • Ensure you enter the full five-digit Spanish postal code for the best accuracy.

Input data

Parameter Required Example Description
zipcode Yes 08012 Enter the Spanish postcode in plain text format (for example, '08012'). This field is required.

Output data

Field Description
result The name of the city associated with the postcode. If the postcode is not found or is invalid, this field will be empty.