Get Geographic $2.00 / 1,000 calls

Cities by prefix (ES)

What this tool does

This tool helps you find city names in Spain that start with specific letters. It is designed for situations where you have a partial name or prefix and need to see a list of matching places. It helps you quickly identify locations without typing the full name.

When to use it

  • Finding the correct city spelling when you only remember the beginning of the name.
  • Building a list of possible locations for a dropdown menu based on user input.
  • Verifying if a specific prefix corresponds to a real city in Spain.
  • Quickly identifying multiple cities that start with the same letters for regional planning.

What to expect

You will get a list of city names that match the letters you entered. The list is sorted alphabetically and may include up to a hundred results. If no cities match, you will see an empty list.

Limitations

  • The tool only searches for cities within Spain.
  • It might not find very uncommon or misspelled prefixes.
  • The list is limited to the first hundred matches, so less common cities might not appear if many others start with the same letters.

When it fails

  • If the prefix you enter does not match any known city names, the list will be empty.
  • If the input is empty or invalid, the tool may not return any results.

Good to know

  • The results are deduplicated, so you will not see the same city name twice.
  • If the primary city database is unavailable, the system may fall back to a reference list to provide results.

Input data

Parameter Required Example Description
city Yes Barce Type the first few letters of a Spanish city name (e.g., 'Barce'). This field is required.

Output data

Field Description
name The full name of a Spanish city that matches your search (e.g., 'Barcelona').