APIs / Idealista / Phones Prefixes
Idealista: Phones Prefixes
Phones Prefixes from Idealista as JSON. 1 credit per successful call.
GET /v1/idealista/phones-prefixes
Parameters
Send parameters in the query string.
| Parameter | Type | Required | Allowed values |
|---|---|---|---|
country | string | Required | es, it, pt, fr |
language | string | Required | Up to 8 characters |
Example request
Idealista
GET/v1/idealista/phones-prefixes?country=es&language=es
{
"success": true,
"data": {
"featuredPrefixes": [
{
"prefix": "34",
"countryCode": "ES",
"countryName": "España",
"language": "es"
},
{
"prefix": "49",
"countryCode": "DE",
"countryName": "Alemania",
"language": "es"
},
{
"prefix": "33",
"countryCode": "FR",
"countryName": "Francia",
"language": "es"
}
],
"allPrefixes": [
{
"prefix": "376",
"countryCode": "AD",
"countryName": "Andorra",
"language": "es"
},
{
"prefix": "971",
"countryCode": "AE",
"countryName": "Emiratos Árabes Unidos",
"language": "es"
},
{
"prefix": "93",
"countryCode": "AF",
"countryName": "Afganistán",
"language": "es"
}
]
},
"meta": {
"duration_ms": 363,
"endpoint_family": "phones_prefixes"
}
}200 OKJSONX-Credits-Used: 1
Recorded 12 Nov 2026 and shortened.
Run this endpoint in the playground with your own parameters. 1 credit per successful call; failed calls are free.
Response fields
Each item in data.featuredPrefixes has these 4 fields, read from a recorded call that returned 242 items. The recording leaves out fields that were empty, so a live call can return more.
| Field | Type |
|---|---|
prefix | string |
countryCode | string |
countryName | string |
language | string |