# idealista API

> Search any idealista page to buy or to rent in Spain, Italy or Portugal with its filters, then get a listing whole: its description in every language, its characteristics, its energy certificate and its seller. JSON with the same fields every time, from your code or your agent.

2 operations, 1 credit a call, one API key. The page for people: https://www.lobstr.io/store/idealista

## Operations

### Search listings: `idealista/listings/search`

One page of an idealista search in a place (a city, a district, a zone of the map), up to 30 listings for sale or rentals in Spain, Italy or Portugal, with every field idealista gives.

1 credit a call, 30 listings a page. Its page: https://www.lobstr.io/store/idealista/listings/search. Every option, field and error: https://api.lobstr.io/v2/catalog/idealista/listings/search.md

| Option | Takes | Default | What it is |
| --- | --- | --- | --- |
| `url` | string |  | A search's page on idealista.com, idealista.it or idealista.pt, as the browser shows it: its place (a city, a district, several zones, a zone drawn on the map, the map's view), its filters and its order (?ordenado-por=...), which idealista reads itself. |
| `location` | string |  | Where, when url is not given: a place's name (a city, a district, a neighbourhood, a province), the first place idealista's place box suggests for it in country; or idealista's id of a place, as a record's location.location_id says it (0-EU-ES-28-07-001-079 is Madrid), which names its country. |
| `country` | es, it, pt |  | The country a place's name is looked for in, with location: es (Spain, when not given), it (Italy) or pt (Portugal). |
| `operation` | sale, rent |  | For sale (when not given) or to rent, with location. |
| `property_type` | homes, new_developments, offices, premises, business_transfers, garages, land, storage_rooms, buildings, rooms |  | The type of property, with location, as the site's menu offers it: homes when not given (every kind: flats, studios, penthouses, duplexes, houses; a record's typology and subtypology say which), new developments, offices, commercial premises, business transfers (premises let with the business, for a transfer fee), garages, land, storage rooms, whole buildings, or rooms in a shared flat (to rent only). |
| `price_min` | number |  | The lowest price, in euros, included: a sale's, or a month's rent. |
| `price_max` | number |  | The highest price, in euros, included: a sale's, or a month's rent. |
| `size_min` | number |  | The smallest size, in m². |
| `size_max` | number |  | The largest size, in m². |
| `bedrooms` | array | `` | The numbers of bedrooms wanted, as the site's boxes: 0 is a studio, 4 is 4 or more. |
| `bathrooms` | array | `` | The numbers of bathrooms wanted, 3 is 3 or more. |
| `condition` | array | `` | The properties in good condition, to renovate, or new developments. |
| `published_within` | last_24_hours, last_48_hours, last_week, last_month |  | The listings published in the last 24 or 48 hours, week or month. idealista takes last_24_hours for a rent alone: a sale is refused it (invalid_input, with the values it takes). |
| `features` | array | `` | The site's filters, each narrowing the search to the listings that have it: a lift, a terrace, a swimming pool, air conditioning, a parking space, a garden, an exterior home, a storage room, built-in wardrobes, a balcony, access for people with reduced mobility, a floor plan, a virtual tour, a luxury home, sea views, pets allowed (a rent), a home a bank sells. |
| `sort` | relevance, newest, oldest, lowest_price, highest_price, biggest_price_drop, lowest_price_per_m2, highest_price_per_m2, largest, smallest, highest_floor, lowest_floor |  | The order, with location, as the site's menu offers it: idealista's relevance (when not given), the newest or oldest first (by the day the listing was published, which a record says in first_published_at for a rent or a room), the lowest or highest price, the biggest price drops, the lowest or highest price per m², the largest or smallest, the highest or lowest floor first. |
| `language` | en, es, ca, it, pt, fr, de | `en` | The language of what idealista writes itself (a listing's title, its labels, the price's words) and of its translation of a seller's description when it has one; a description it has not translated stays in the seller's language. |

### Get a listing: `idealista/listings/get`

One idealista listing whole, every detail of it, by its id or its page's url, in Spain, Italy or Portugal.

1 credit a call. Its page: https://www.lobstr.io/store/idealista/listings/get. Every option, field and error: https://api.lobstr.io/v2/catalog/idealista/listings/get.md

| Option | Takes | Default | What it is |
| --- | --- | --- | --- |
| `listing` (required) | string |  | The listing: its page on idealista.com, idealista.it or idealista.pt (https://www.idealista.com/inmueble/113116490/), or its id (113116490), a record's id of idealista/listings/search, with country when it is not of Spain. |
| `country` | es, it, pt |  | The listing's country, with an id: es (Spain, when not given), it (Italy) or pt (Portugal). |
| `language` | en, es, ca, it, pt, fr, de | `en` | The language of what idealista writes itself (the title, the characteristics, the energy certificate, the labels) and of the description, when idealista has it in that language; descriptions holds every language it has. |

## Call it

From code, one endpoint for every operation:

```bash
curl https://api.lobstr.io/v2/run \
  -H "Authorization: Bearer $LOBSTR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"source":"idealista","operation":"listings/search","options":{"location":"Madrid","operation":"sale","sort":"newest"}}'
```

The answer holds `results` (the records), `count`, `cost.credits` and `next`: the whole call for the following page, to send as it is; null on the last page. SDKs: `pip install lobstrio`, `npm install lobstrio` (https://docs.lobstr.io/sdks).

From an AI agent: the MCP server https://api.lobstr.io/v2/mcp with your API key, in Claude, ChatGPT, Cursor or any MCP client. Its tools: find_operations, get_operation, run_operation, get_balance, send_feedback. Setup for each agent: https://docs.lobstr.io/agents

The API key is in the dashboard, under API: https://app.lobstr.io/dashboard/api. No account yet? An agent can get one for the person it works for: https://www.lobstr.io/auth.md

## Why lobstr.io

- **One key, every source**: No access request, no project to describe, no partner key. One lobstr.io key reaches idealista and 21 other sources, from Google Maps to LinkedIn Sales Navigator, on the same credits.
- **Built for agents**: Five MCP tools, nothing to learn: your agent finds the operation, reads what it takes and gives, runs it and follows next. Your code gets the same through the SDKs or plain HTTP.
- **Measured in public**: Every call of the last 90 days counts in the figures on this page, and a failed call is free. Each operation is also run every hour by our own checks.

## lobstr.io or the idealista Search API

| | idealista Search API | lobstr.io |
| --- | --- | --- |
| Who can use it | Those who get in touch and tell idealista about their project, to receive a key | Anyone with an API key |
| What it is for | Integrating the property information published on idealista into your site or app | The listings themselves: prices and their drops, sizes, photos, positions and sellers, as JSON |
| To start | A form: your name, your email and a description of your project | An API key, with 100 free credits a month |
| Market data | A separate service, idealista/data: comparables past and present, valuations, cadastral data and neighbourhood metrics through its APIs, for real estate professionals who leave their details | The listings as idealista shows them today, to build your own comparables |

From idealista’s developer page and idealista/data’s API page, 6 December 2026.

## Price

1 credit a call, whatever the page holds; an empty page and a failed call are free. The plans:

- Free: $0 a month, 100 credits a month
- Starter: $20 a month, 10,000 credits a month
- Pro: $100 a month, 100,000 credits a month
- Team: $500 a month, 1,000,000 credits a month

Every plan compared: https://www.lobstr.io/pricing.md

## idealista API reliability

Every call of the last 90 days, from our users and from our own checks. Each operation is also run every hour by our own checks. A failed call is free.

| Operation | Calls | Successful | Median call |
| --- | --- | --- | --- |
| `idealista/listings/search` | 48 | 97.92% | 2.6 s |
| `idealista/listings/get` | 45 | 100.00% | 1.3 s |

## idealista API FAQ

### Is there an official idealista API?

Yes: the idealista Search API, to integrate the property information published on idealista into your site or app. A key comes once you get in touch and describe your project. idealista/data also offers comparables, valuations and neighbourhood metrics through APIs, to real estate professionals on request. lobstr.io reads idealista as a visitor sees it: any search to buy or to rent in Spain, Italy or Portugal, any listing whole, its seller’s phone, with an API key.

### Can I get the seller’s phone number?

Yes, when the listing shows one, without an idealista account: idealista/listings/search gives each listing’s seller, an agency, a developer, a bank or a private owner, with its phone. idealista/listings/get adds the agency’s address, its licence number where a region asks one, and how fast it answers.

### What does a listing give that a search does not?

idealista/listings/get gives the description in every language idealista has it in, the characteristics as the listing’s page lists them (year built, heating, orientation), the built and usable areas, the community costs, the energy certificate, a new development’s units, an auction’s day and the listing’s last update.

### Can I search with idealista’s own filters?

Yes. Pass idealista/listings/search a search’s page on idealista.com, idealista.it or idealista.pt as url, with any filter and order, or a place’s name with the country, to buy or to rent, the type of property, the prices, sizes, bedrooms, condition, features and order. 30 listings a page: follow next until it is null.

### Do I need an idealista account?

No. A lobstr.io API key is all it takes, with no project to describe, and the free plan gives 100 credits a month.

### What does a call cost?

1 credit, a page of up to 30 listings or one listing whole: 1,000 calls cost $0.50 to $2 depending on the plan. An empty page, a place not found, a listing gone and a failed call are free.

### Can my AI agent use it?

Yes. Add the lobstr.io MCP server to Claude, ChatGPT, Cursor or any MCP client: the agent finds the operation, runs it and follows next by itself. [Setup for each agent](https://docs.lobstr.io/agents).

### Is there an SDK?

Yes: lobstrio, on PyPI and npm, with a typed method for each operation (client.idealista.listings.search in Python) and a loop over every page. [The SDKs](https://docs.lobstr.io/sdks).

### Can I combine idealista with other sources?

Yes, on the same key and the same credits. Set a rent next to what the homes of the same city make on [Airbnb](https://www.lobstr.io/store/airbnb), list the schools and shops around a listing on [Google Maps](https://www.lobstr.io/store/google_maps) with the agency’s reviews, or pass a seller’s website to [websites/contacts/get](https://www.lobstr.io/store/websites/contacts/get) for the emails on it. An agent chains them by itself.

### How reliable is the idealista API on lobstr.io?

Every call of the last 90 days is drawn on this page, day by day, and a failed call is free. Each operation is also run every hour by our own checks, so a change on idealista shows within the hour.

## Related sources

- [Airbnb: Search homes](https://www.lobstr.io/store/airbnb.md): What the homes of the same city rent for on Airbnb, each with its price for your dates. 1 credit a call.
- [Google Maps: Search places](https://www.lobstr.io/store/google_maps.md): The schools, shops and stations around a listing: pass its position as near. 1 credit a call.
- [Google Maps: List reviews](https://www.lobstr.io/store/google_maps.md): What clients say of the agency on Google Maps, newest first, with the owner’s reply. 1 credit a call.
- [Websites: Get a website's contacts](https://www.lobstr.io/store/websites.md): The emails and profiles on an agency’s own website: pass it the listing’s external_url. 1 credit a call.
