Fotocasa Spain Property Listings

Each record is one property listing in Spain: price, size, rooms, address, map position, photos, features and the agency's details.

$0.80 per 1,000 records

You pay only for the records you get. Zero records cost zero. 6,250 free records of this API to start (5,000 at the base price of $1 per 1,000), no card.

Try it

Fotocasa.es homes for sale and rent by city, district or neighbourhood: price, price drops, m², bedrooms, bathrooms, address, coordinates, photos, features, agency name and phone. Optional energy certificate, floor and agency reference.

Ready-made, maintained by usProperties, 60 fieldsv1.0

Data from fotocasa.es

Get this data

Try it here with a few records, download the sample, fill a Google Sheet, or call it from your own code.

Try it

Locationsoptional
One Spanish city, town or province per line; each runs its own search. Commas between them work too.
Example: Madrid
Sale or rentoptional
Choose homes to buy, to rent, or rooms to share.
Property typeoptional
Choose the kind of property; homes covers flats and houses together.
Include listing detailsoptional
Turn on to add energy rating, floor, agency details and all photos. Takes longer.
Search or listing pagesoptional
One search page or listing page address per line. Commas between them work too.
Example: Paste a search page address
Listing filteroptional
Pick one filter, such as new in the last 48 hours or with pool.
Bedroomsoptional
Exact number of bedrooms, 1 to 4. Leave empty for any.
Example: 2
Lowest priceoptional
Only listings at or above this price in euros; monthly rent for rentals.
Example: 100000
Highest priceoptional
Only listings at or below this price in euros. Leave empty for no limit.
Example: 300000
Fewest bedroomsoptional
Only listings with at least this many bedrooms.
Example: 2
Most bedroomsoptional
Only listings with at most this many bedrooms.
Example: 4
Fewest bathroomsoptional
Only listings with at least this many bathrooms.
Example: 1

Run it on this page, or call it from your code with the endpoint in the developer section. A free key covers 6,250 records of this API, no card. Create a free key

For developers: the API and MCPThe endpoint, code in curl, JavaScript and Python, every input, and files for your tools
Endpoint
POSThttps://pullrow.dev/v1/apis/fotocasa/run
  • Small runs answer in the same request; longer ones answer 202 with a run to poll.
  • fields returns only the fields you name. The examples send the ones picked on this page.
  • Idempotency-Key is optional. A retry with it is never charged twice.
  • You pay for records returned. Zero records cost zero.

Every run option, explained

Calling it needs a key
6,250 free records of this API to start. No card.
curl
curl -X POST "https://pullrow.dev/v1/apis/fotocasa/run" \
  -H "Authorization: Bearer $PULLROW_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"input":{"locations":["Madrid"]},"max_items":50}'

Inputs

Send them as input in the request body. Leave one out to use its default.

locationslist
Spanish cities, towns or provinces, e.g. "Madrid", "Marbella", "Sant Cugat del Vallès", "Málaga provincia". You can also paste Fotocasa search URLs here (a city, district or neighbourhood page).
example: Madrid
operationtext
Listings for sale, for rent, or rooms to share.
default: buyone of: buy, rent, share
property_typetext
Homes covers flats, apartments, penthouses, duplexes and houses together.
default: homesone of: homes, flats, apartments, penthouses, duplexes, houses, terraced-houses, country-houses, studios, lofts…
include_detailsyes/no
Also open each listing's own page for the energy certificate (rating and kWh/m²), floor, orientation, the agency's legal name, website and its own reference, and every photo. One extra page per listing.
default: false
start_urlslist
Fotocasa search URLs (a city, district or neighbourhood page) or listing URLs (they end in / /d).
listing_filtertext
One of Fotocasa's own page filters. "Published in the last 48 hours" is ideal for a daily schedule.
default: noneone of: none, new-48h, terrace, lift, pool, garden, furnished, unfurnished, new-build, to-renovate, renovated, auction…
bedroomsnumber
1 to 4. Leave empty for any.
min_pricenumber
For rentals: the monthly rent.
max_pricenumber
Only listings priced at or below this (€). Leave empty for no limit.
min_bedroomsnumber
Only listings with at least this many bedrooms. Leave empty for no limit.
max_bedroomsnumber
Only listings with at most this many bedrooms. Leave empty for no limit.
min_bathroomsnumber
Only listings with at least this many bathrooms. Leave empty for no limit.

What's in each record

60 fields: 52 here, 8 technical ones under Technical details.

Basics

  • Title

    Short summary of the property type and place.

    Example Flat for sale in Calle Lorenzo San Nicolás, Pueblo Nuevo

  • Sale or rent

    Whether the property is for sale, rent or room share.

    Example sale

  • Property type

    Kind of property, such as flat, house or garage.

    Example flat

  • Property subtype

    More specific kind, such as penthouse, duplex or studio.

    Example intermediate floor

  • New build

    Yes when the property is newly built by a developer.

  • Built area

    Built floor area in square metres.

    Example 52

  • Plot area

    Land or plot size in square metres.

  • Bedrooms

    Number of bedrooms.

    Example 2

  • Bathrooms

    Number of bathrooms.

    Example 1

  • Floor

    Which floor of the building the property is on.

    Example 2nd floor

  • Condition

    State of the property, when the advert gives it.

  • Orientation

    Direction the property faces, such as southwest.

    Example southwest

  • Heating

    Type of heating, when given.

  • Energy rating

    Energy certificate grade from A to G.

    Example F

  • Energy use

    Yearly energy use in kWh per square metre.

    Example 319

  • Emissions rating

    Carbon dioxide emissions grade from A to G.

    Example E

  • Emissions amount

    Yearly carbon dioxide emissions in kg per square metre.

    Example 60

  • Features

    List of amenities such as lift, terrace or pool.

    Example Air conditioning, Heating

  • Description

    The advertiser's own text about the property, often in Spanish.

  • Seller type

    Whether an agency or a private person is selling.

    Example agency

  • Agency

    Trade name of the estate agency.

    Example VOhome Pueblo Nuevo - Quintana

  • Agency company name

    The agency's registered company name.

    Example Vohome Quintana, Sl

  • Agency reference

    The agency's own reference code for this property.

    Example QUIN1200397

  • Promoted

    Yes when the listing is a paid, highlighted advert.

Prices

  • Price

    Asking price in euros, or monthly rent for rentals.

    Example €250,000.00

  • Currency

    Currency of the price, always euros.

    Example EUR

  • Price period

    Says month for rentals; empty for sales.

  • Previous price

    The asking price before the latest price drop.

  • Price per square metre

    Price divided by built area, in euros per square metre.

    Example 4,807.69

Location

  • Address

    Address as shown on the listing.

    Example Calle Lorenzo San Nicolás, Pueblo Nuevo

  • Street

    Street name, with number when an agency publishes it.

  • Neighbourhood

    The local neighbourhood or barrio.

    Example Pueblo Nuevo

  • District

    The city district.

    Example Ciudad Lineal

  • Town or city

    The town or city where the property is.

    Example Madrid

  • Province

    The Spanish province.

    Example Madrid

  • Region

    The autonomous community, such as Madrid or Cataluña.

  • Postal code

    The Spanish postal code.

    Example 28017

  • Latitude

    North-south map coordinate in decimal degrees.

    Example 40.4328

  • Longitude

    East-west map coordinate in decimal degrees.

    Example -3.6407

  • Address precision

    How exact the address is: exact, street or area.

    Example street

Dates

  • Published on

    Date and time the listing was first published.

    Example Sep 7, 2026

  • Updated on

    Date and time the listing was last changed.

Contact details

  • Agency phone

    Phone number for the agency.

    Example +349••••••••

  • Agency email

    Email address for the agency, rarely given.

Pictures and media

  • Photos

    Full-size photos of the property.

  • Number of photos

    How many photos the listing has.

    Example 20

  • Has video

    Yes when the listing includes a video.

  • Has virtual tour

    Yes when the listing includes a virtual or 3D tour.

  • Agency logo

    Logo picture of the agency.

Technical detailsField names and types for developers, and the 8 fields hidden above

Hidden by default

These 8 fields come with each record too. They are internal codes, notes about how the record was read or a copy of what was searched for, so the lists above leave them out.

  • Website siteThe property website the listing comes from.
  • Listing number listingIdThe website's own number for this listing.
  • Agency number agencyIdThe website's own number for the agency.
  • Searched location searchLocationThe location you entered that found this listing.
  • Search page searchUrlThe results page where this listing appeared.
  • Position on page positionRank of the listing on the results page.
  • Full details included detailsFetchedYes when extra details from the listing page were added.
  • Collected on scrapedAtDate and time this record was gathered.

Field names and types

The names your code reads in each record. "Filled" counts how many of the 1 sample record carry the field.

Field nameTypeShown on this page asFilled
sitetextWebsite (hidden)1 of 1
listingIdtextListing number (hidden)1 of 1
urllinkListing page1 of 1
titletextTitle1 of 1
operationtextSale or rent1 of 1
propertyTypetextProperty type1 of 1
propertySubtypetextProperty subtype1 of 1
isNewConstructionyes or noNew build0 of 1
pricemoneyPrice1 of 1
currencytextCurrency1 of 1
pricePeriodtextPrice period0 of 1
previousPricemoneyPrevious price0 of 1
pricePerM2numberPrice per square metre1 of 1
areaM2numberBuilt area1 of 1
plotAreaM2numberPlot area0 of 1
bedroomsnumberBedrooms1 of 1
bathroomsnumberBathrooms1 of 1
floortextFloor1 of 1
conditiontextCondition0 of 1
orientationtextOrientation1 of 1
heatingtextHeating0 of 1
energyRatingtextEnergy rating1 of 1
energyConsumptionnumberEnergy use1 of 1
emissionsRatingtextEmissions rating1 of 1
emissionsValuenumberEmissions amount1 of 1
featureslistFeatures1 of 1
descriptiontextDescription0 of 1
addresstextAddress1 of 1
streettextStreet0 of 1
neighbourhoodtextNeighbourhood1 of 1
districttextDistrict1 of 1
municipalitytextTown or city1 of 1
provincetextProvince1 of 1
regiontextRegion0 of 1
postalCodetextPostal code1 of 1
latitudenumberLatitude1 of 1
longitudenumberLongitude1 of 1
addressPrecisiontextAddress precision1 of 1
imageslistPhotos0 of 1
imageCountnumberNumber of photos1 of 1
hasVideoyes or noHas video0 of 1
hasVirtualTouryes or noHas virtual tour0 of 1
sellerTypetextSeller type1 of 1
agencyNametextAgency1 of 1
agencyLegalNametextAgency company name1 of 1
agencyIdtextAgency number (hidden)0 of 1
agencyUrllinkAgency page0 of 1
agencyWebsitelinkAgency website1 of 1
agencyLogoUrlimage linkAgency logo0 of 1
agencyPhonetextAgency phone1 of 1
agencyEmailtextAgency email0 of 1
agencyReferencetextAgency reference1 of 1
promotedyes or noPromoted0 of 1
publishedAtdate and timePublished on1 of 1
updatedAtdate and timeUpdated on0 of 1
searchLocationtextSearched location (hidden)1 of 1
searchUrllinkSearch page (hidden)0 of 1
positionnumberPosition on page (hidden)0 of 1
detailsFetchedyes or noFull details included (hidden)1 of 1
scrapedAtdate and timeCollected on (hidden)0 of 1

How it reads the site

Runs on a reader we built and maintain by hand for this site.

Sample records

Sample records
RecordTitleSale or rentProperty typeProperty subtypeNew buildBuilt areaPlot areaBedroomsBathroomsFloorConditionOrientationHeatingEnergy ratingEnergy useEmissions ratingEmissions amountFeaturesDescriptionSeller typeAgencyAgency company nameAgency referencePromotedPriceCurrencyPrice periodPrevious pricePrice per square metreAddressStreetNeighbourhoodDistrictTown or cityProvinceRegionPostal codeLatitudeLongitudeAddress precisionPublished onUpdated onListing pageAgency pageAgency websiteAgency phoneAgency emailPhotosNumber of photosHas videoHas virtual tourAgency logo
1Flat for sale in Calle Lorenzo San Nicolás, Pueblo Nuevosaleflatintermediate floor—52—212nd floor—southwest—F319E60Air conditioning, Heating, Parquet floors, Terrace—agencyVOhome Pueblo Nuevo - QuintanaVohome Quintana, SlQUIN1200397—€250,000.00EUR——4,807.69Calle Lorenzo San Nicolás, Pueblo Nuevo—Pueblo NuevoCiudad LinealMadridMadrid—2801740.4328-3.6407streetSep 7, 2026—fotocasa.es/es/comprar/vivienda/madrid-capital/aire-acondicionado-calefaccion-terraza-no-amueblado/190682510/d—vohome.es+3491113••••——20———

Sample records from the example output this API publishes. Email addresses and phone numbers in them are masked. Hover over a column name to see the field name your code reads.

Reliability

Counted from real runs. Our own health checks are left out. A run succeeded when it finished and the site neither blocked it nor broke it.

Incidents and repairs

How it is kept working What a repair can't do

A ready-made API, maintained by us. It is not part of the daily check or the automatic rebuild yet.

  • You pay only for records returned. A run that returns none costs nothing.

Version history

A run uses the live version unless the request names another one with version.