Real estate API·135 credits per call

Resolve specific Idealista location IDs instantly.

Submit a region or district ID to get structured geographic metadata. No more manual coordinate mapping or regional hierarchy maintenance.

POSTautomatio.ai/api/v1/query{ tool: "idealista_locations", params: { locationId: … } }

How it works

One request, one response.

  1. 1

    Send location ID

    Provide a specific identifier and the target country code in a POST request.

  2. 2

    Resolve geographic data

    The API fetches current regional metadata and hierarchy information for that specific identifier.

  3. 3

    Parse JSON response

    Receive structured details about the location for use in search filters or database mapping.

Capabilities

What you get.

Everything this endpoint does, without running the infrastructure yourself.

Multi-country support

Access location data for Spain, Italy, and Portugal using standardized country codes.

Property type filtering

Target specific real estate categories like homes, offices, or land within a location context.

Operation specific routing

Retrieve metadata tailored for either the rental or sale market segments.

Stable identifiers

Resolve internal IDs into human-readable geographic hierarchies for frontend display.

Cost of ownership

Build it yourself, or call this.

Both are real options. Here is what each one actually costs you.

Run it yourself

  • Reverse-engineer internal ID systems
  • Maintain local geographic mapping tables
  • Handle frequent changes in regional hierarchies
  • High developer maintenance cost

Call the API

  • Instant resolution via locationId
  • No database of European regions required
  • Pay only for successful metadata lookups
  • Integrated with search endpoints

Integrate

Built for the language you use.

One HTTP endpoint. Copy the call in your language and go.

example.sh
curl -X POST https://automatio.ai/api/v1/query \
  -H "Authorization: Bearer $AUTOMATIO_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{ "tool": "idealista_locations", "params": { "locationId": "example", "location": "example" } }'

In production

What people build with it.

Pre-search Validation

Validate a user's location selection before triggering a wider search query. By resolving the locationId first, you ensure the coordinates and regional bounds are correct, reducing empty search results and improving user experience.

Market Analysis Dashboards

Map proprietary location IDs to a geographic hierarchy for regional price reporting. This allows you to aggregate data by province or municipality without building your own mapping engine or geographic information system.

Dynamic Filter Building

Use resolved location data to populate frontend filters in real estate applications. When a user selects a region, this endpoint provides the necessary context to show relevant property types and operations available in that specific zone.

Choosing parameters

Which options matter.

The table below lists what exists. These are the calls worth making deliberately.

location
This must match the country associated with the locationId. Passing "es" for an Italian identifier will result in a tool-level failure or an empty result set.
locationId
This is the internal identifier typically retrieved from the idealista_suggestions endpoint. Do not attempt to guess these IDs as they are non-sequential and platform-specific.
propertyType
Use this to narrow the location context if you are specifically interested in niche markets like "land" or "garages" which may have different regional boundaries.

Alternatives

When to use something else.

A page that pretends it has no alternatives reads as an advert. These are the other real options.

Official API

Requires a formal partnership and often involves usage restrictions or high entry costs for smaller developers.

Manual Geo-mapping

Building a local database of postal codes and regions is free but requires constant manual updates to remain accurate.

Before you integrate

What it does not do.

The boundaries are as useful as the features. These are the ones worth knowing up front.

No Coordinate Search

This endpoint requires a specific locationId and cannot resolve data from raw latitude and longitude inputs.

Limited to Three Countries

Data is only available for Spain, Italy, and Portugal; other European or global markets are not supported by this tool.

No Listing Counts

The response provides geographic metadata but does not return the number of active properties currently available in that location.

Reference

135 credits per call
Endpoint
POST https://automatio.ai/api/v1/query
Tool ID
idealista_locations

Parameters

NameTypeRequiredDescription
locationIdstringParent locationId (divisible=true from suggestions)
location"es" | "pt" | "it"Country code: Spain (es), Portugal (pt), Italy (it)
propertyType"homes" | "offices" | "premises" | "garages" | "bedrooms" | "newDevelopments" | "land"Property type context (default: homes)
operation"sale" | "rent"Property operation type

The same endpoints are available over MCP, and the full machine-readable catalogue lives in the API documentation.

Frequently Asked Questions

Find answers to common questions about Property Locations API

More than just prompts

Supercharge your workflow with AI Automation

Automatio combines the power of AI agents, web automation, and smart integrations to help you accomplish more in less time.

AI Agents
Web Automation
Smart Workflows