Get Geographic $1.50 / 1,000 calls

City by name (ES)

What this tool does

This tool helps you find the official name of a place when you only have a part of its name or a spelling variation. It is designed for users who need to correct or complete location data by matching partial text against a known list of cities.

When to use it

  • Correcting misspelled city names in your customer lists
  • Standardizing location data from different sources
  • Finding the correct full name when you only know the start of a city name
  • Cleaning up addresses that contain incomplete location information

What to expect

The tool returns the standard name of the city that best matches your input text.

Limitations

  • The tool only checks against a specific subset of locations and may not cover every small village or area
  • If multiple cities share the same starting letters, the tool picks one specific match which might not be the one you intended
  • It does not account for regional context, so the same name in different regions may be treated as the same entry

When it fails

  • The input text does not match any known city name in the supported list

Good to know

  • Shorter inputs are more likely to match multiple places, so the result is just one of the possible options

Input data

Parameter Required Example Description
city Yes Bar Type the beginning of the city name you are looking for (e.g. 'Bar' for Barcelona). This is required. If you type letters that do not match any city in Spain, you will get an empty result.

Output data

Field Description
result The name of the city that matched your search. For example, if you search for 'Bar', it returns 'Barcelona'. If no city is found, it returns an empty text field.