Provinces by name (ES)
What this tool does
This tool helps you find specific provinces within Spain based on the name you provide. It is useful for verifying geographic data or populating dropdown menus with accurate province names. It simplifies the process of matching a partial name to a valid Spanish province.
When to use it
- Auto-completing province fields in customer forms
- Validating address data for Spanish entries
- Preparing lists for regional reporting
- Ensuring consistent province naming in databases
What to expect
You will receive a list of matching province names. If no matches are found, the tool will indicate that the name could not be matched.
Limitations
- It only searches for provinces in Spain
- It returns up to one hundred matches
- It may not find matches if the name is too short or ambiguous
When it fails
- If the entered name does not match any known Spanish province
- If the system encounters a temporary internal error
Good to know
- Enter the full name or the first few letters of the province
- Results are sorted alphabetically
Input data
| Parameter | Required | Example | Description |
|---|---|---|---|
province | Yes | B | Type the first few letters of the province name to search. For example, type 'B' to find provinces starting with B. This field is required. |
Output data
| Field | Description |
|---|---|
name | Returns the full name of each matching province as a list. For example, if you type 'B', you might get ['Barcelona']. |