Skip to content
NewIntroducing lobstr.io API v2: Web Data for AI Agents
idealista APITry it

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.

Try the idealista API

Pick an operation: its request in cURL, Python or Node, and its answer.

1Request
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.
For sale (when not given) or to rent, with location.
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.
1 credit a call
Code, from the fields above
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"
    }
  }'
2Response

An example answer. Run it on your own input.

{
  "object": "run",
  "id": "run_adqhqm46n6xkngtgtrnyh7j5qy",
  "livemode": true,
  "source": "idealista",
  "operation": "listings/search",
  "version": "1.0.0",
  "schema_url": "https://api.lobstr.io/v2/catalog/idealista/listings/search",
  "options": {
    "location": "Madrid",
    "operation": "sale",
    "sort": "newest"
  },
  "fields": null,
  "status": "succeeded",
  "count": 1,
  "has_more": true,
  "next": {
    "source": "idealista",
    "operation": "listings/search",
    "options": {
      "location": "Madrid",
      "operation": "sale",
      "sort": "newest",
      "cursor": "cur_7oxaigycyqpnb7mkj35qhg6hqdowv5fb6dca"
    }
  },
  "cost": {
    "credits": 1
  },
  "results": [
    {
      "position": 1,
      "object": "listing",
      "id": "113247666",
      "url": "https://www.idealista.com/inmueble/113247666/",
      "country": "es",
      "operation": "sale",
      "property_type": "studio",
      "typology": "flat",
      "subtypology": "studio",
      "is_transfer": null,
      "title": "Studio in Plaza de Verín, Pilar, Madrid",
      "subtitle": null,
      "description": "Excellent opportunity for sale in Plaza de Verín, a few meters from La Vaguada, with metro and bus links. Open-plan studio with an exterior window, an equipped kitchen and a full bathroom.",
      "reference": "215-10103",
      "price": {
        "amount": 199000,
        "currency": "EUR",
        "period": null,
        "former_amount": null
      },
      "transfer_price": null,
      "main_price": "price",
      "price_label": null,
      "price_drop": null,
      "price_per_m2": 5853,
      "size": 34,
      "rooms": 0,
      "bathrooms": 1,
      "floor": "bj",
      "plot_area": null,
      "is_exterior": true,
      "has_lift": false,
      "condition": "good",
      "features": {
        "has_air_conditioning": null,
        "has_box_room": null,
        "has_garden": null,
        "has_swimming_pool": null,
        "has_terrace": null
      },
      "parking": null,
      "situation": null,
      "is_new_development": false,
      "is_new_development_finished": null,
      "development_name": null,
      "flat_share": null,
      "has_tenants": null,
      "is_rent_to_own": null,
      "has_24h_access": null,
      "availability": null,
      "is_auction": null,
      "auction_date": null,
      "location": {
        "is_address_shown": false,
        "neighborhood": "Pilar",
        "district": "Fuencarral",
        "municipality": "Madrid",
        "province": "Madrid",
        "country": "es",
        "location_id": "0-EU-ES-28-07-001-079-08-004",
        "latitude": 40.4787903,
        "longitude": -3.70774
      },
      "media": {
        "photos": [
          {
            "url": "https://img4.idealista.com/blur/WEB_LISTING/0/id.pro.es.image.master/2f/b5/be/1449043403.jpg",
            "tag": "room"
          },
          {
            "url": "https://img4.idealista.com/blur/WEB_LISTING/0/id.pro.es.image.master/2f/b5/be/1449043404.jpg",
            "tag": "kitchen"
          }
        ],
        "videos": [],
        "virtual_tours": [],
        "home_staging": [],
        "photo_count": 6,
        "thumbnail_url": "https://img4.idealista.com/blur/WEB_LISTING/0/id.pro.es.image.master/2f/b5/be/1449043403.jpg",
        "has_reference_images": null,
        "has_plan": false,
        "has_video": false,
        "has_3d_tour": false,
        "has_360": false,
        "has_home_staging": false
      },
      "seller": {
        "type": "professional",
        "name": "Adesa 33",
        "commercial_name": "adesa 33",
        "phone": {
          "number": "+34919387496",
          "as_written": "919 38 74 96",
          "country_code": "34",
          "is_national": true
        },
        "contact_method": "all",
        "needs_login_to_contact": false,
        "needs_login_for_phone": false,
        "logo_url": "https://st3.idealista.com/2f/b5/be/adesa-33.gif",
        "microsite": "adesa-33"
      },
      "labels": [],
      "ribbons": [],
      "promotion": {
        "group": null,
        "is_top_new_development": false,
        "is_new_development_highlight": false,
        "is_preference_highlight": false,
        "is_top_highlight": false,
        "is_top_plus": false,
        "is_urgent_visual_highlight": false,
        "is_visual_highlight": false
      },
      "is_online_booking_active": false,
      "luxury_visibility": null,
      "first_published_at": null,
      "ids": {
        "listing_id": "113247666",
        "location_id": "0-EU-ES-28-07-001-079-08-004",
        "reference": "215-10103",
        "microsite": "adesa-33"
      },
      "source_url": "https://app.idealista.com/api/3.5/es/search",
      "observed_at": "2026-12-04T16:20:00Z"
    }
  ]
}

idealista API operations

2 operations, one key, the same envelope: results, count, cost and next for the following page.

Get a listing

1 credita call

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

OptionTakesWhat it is
listing*stringThe 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.

Use the idealista API in your agent

One key, then your agent or your code calls every operation of this page.

  1. 01

    Connect lobstr.io

    Add the lobstr.io MCP server to Claude, ChatGPT, Cursor or any MCP client, or take an API key for your code.

    Claude
    ChatGPT
    Cursor
  2. 02

    Ask, or call

    Tell your agent what you need from idealista: it finds the operations that fit and runs them. From your code, it is one POST to /v2/run.

    Find the flats to rent in Valencia listed this week under €1,200 a month, with their size and the agency’s phone, and tell me which have a lift and a terrace.

    Search listings
    Get a listing
  3. 03

    Pay per call

    1 credit a call that returns data, from your plan’s credits. The free plan gives 100 credits a month.

    30 listings 1
    Empty pageFree
    Failed callFree

Why lobstr.io

What you get when your agent or your code calls idealista through lobstr.io.

01

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.

02

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.

lobstr.ioConnected
find_operations
get_operation
run_operation
get_balance
send_feedback
03

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.

Last 30 days

lobstr.io or the idealista Search API

What idealista’s own Search API gives, and what lobstr.io gives, for the same homes.

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.

What it costs

Set what you need from each operation in a month: the credits add up, and the plan that holds them is the price.

Every plan
Search listings1004 credits
Get a listing100100 credits

1 credit a call: 30 listings.

A month

$20

104 credits a month: Starter holds 10,000.

Live

idealista API reliability

Every call counts; a day is green at 95% successful.

Successful calls
98.92%
Median call
2.0 s
90 days agoToday
95% or more (SLA)90 to 95%75 to 90%Under 75%

A call fails when the site does not answer or we cannot read its answer; a wrong input is not counted.

idealista API FAQ

What people ask before calling the idealista API.

Listings, prices and sellers

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.

Using the API

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.

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.

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, list the schools and shops around a listing on Google Maps with the agency’s reviews, or pass a seller’s website to 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.

Ready to call it?

An API key in a minute, then the call above, from your code or your agent.