Get Geographic $2.00 / 1,000 calls

Cities by phone (ES)

What this tool does

This tool helps you find city or district names based on a telephone number. It is designed for users who need to verify the geographic origin of a phone line within the Spain network. The service checks if the digits you provide match known local prefixes.

When to use it

  • Verifying the local area of a Spanish business number
  • Checking if a customer phone number is based in a specific region
  • Validating lead data by confirming the phone location
  • Enriching contact records with city information

What to expect

You will receive a list of possible city or district names. If the number is not valid or has no known location, you will get an empty list.

Limitations

  • This tool only works for Spanish telephone numbers
  • It may not find a match for very short or incomplete numbers
  • Results may include multiple districts if the prefix is shared

When it fails

  • The phone number provided is too short to identify a district
  • The number contains non-digit characters
  • No matching districts were found in the database

Good to know

  • The tool looks for the longest matching prefix to find the most specific location
  • Results are sorted alphabetically for easy reading

Input data

Parameter Required Example Description
phone Yes 938499145 Enter a Spanish phone number as text, for example '938499145'. This field is required.

Output data

Field Description
name A list of city or district names associated with the phone prefix, for example ['Barcelona'] or an empty list if none are found.