This tutorial shows you how to pull public home listings from Daft.ie, the Irish property site, into a Python script. You will call the Daft.ie Scraper Actor (reventadata/daft-scraper) with Apify's Python client, apify-client, wait for the run to finish, and print one line per listing. Each row carries the address, the price, bedrooms, bathrooms, floor area, the BER energy rating, coordinates and the advertising agent's contact block. The output is JSON rows, so you can save them, filter them or load them into a spreadsheet. The Actor is not affiliated with Daft.ie. The script is short and the inputs are plain text, so you can change one value and run it again to see what changes.
Prerequisites
You need Python 3.11 or newer and an Apify account. Copy your personal API token from your Apify account, then install the client and set the token as an environment variable:
pip install -U "apify-client~=3.0"
export APIFY_API_TOKEN="your_apify_token_here"
Nothing else is needed beyond the script below. The Actor reads public listing pages and needs no login.
For current pricing and details, see the Store page.
What you'll achieve
When you finish, you will have a Python script that starts a Daft.ie search, waits for it to finish and prints the listings it found. The rows come back as JSON, and each field keeps its type: price is a number of euro, bedrooms and floorAreaM2 are numbers, and berRating is text such as A2 or D. A typical use is comparing asking prices and energy ratings for the homes in one area, sorted in a spreadsheet of your own. Each row is one listing, which maps to one line in a spreadsheet. You can keep this script as a starting point and change the inputs for each new search.
Step-by-step guide
Step 1: Open the Actor
Open the Actor reventadata/daft-scraper in Apify Store. The input names in this tutorial match its input schema.
Step 2: Choose the search
The Actor takes these inputs. Only locations is required.
-
listingType:sale(the default) orrent. -
locations: place names as they appear in Daft.ie links, such asdublin,cork,dublin-cityorabbey-galway. A pasted Daft.ie search link also works: only its place is read, so set the filters with the other inputs. -
propertyType:any(the default),housesorapartments. -
minBedrooms,minPriceandmaxPrice: optional limits. Prices are in euro: the asking price for sale, the monthly rent for rent. -
maxItems: the most listings to save, 100 by default.
Each entry in locations is a separate search. A listing that appears in more than one search is saved once.
Step 3: Run it and wait
The script below starts the run with the inputs from the sample. call() waits until the run finishes and returns the run object, so the lines after it can read the results.
import os
from apify_client import ApifyClient
client = ApifyClient(os.environ["APIFY_API_TOKEN"])
run_input = {
"listingType": "sale",
"locations": ["dublin-city"],
"propertyType": "any",
"maxItems": 10,
}
run = client.actor("reventadata/daft-scraper").call(run_input=run_input)
if run is None:
raise SystemExit("The Actor run did not return a run object.")
print("Run status:", run.status)
for item in client.dataset(run.default_dataset_id).iterate_items():
print(item["title"], "|", item["priceText"], "|", item["url"])
run.status tells you how the run ended. run.default_dataset_id is the dataset that holds the rows.
Step 4: Read the rows
Each printed line is one listing: its title (the address), its price as shown and its link. iterate_items() yields one dictionary per row, so you can stop reading whenever you like.
The JSON below is the first row of a sample capture dated 2026-11-26. It shows a subset of that row's fields, picked by hand; the photo link and the other fields are left out for length.
Sample from a capture dated 2026-11-26.
{
"id": "6722944",
"url": "https://www.daft.ie/for-sale/32-meadow-view-clay-farm-place-leopardstown-dublin-18/6722944",
"title": "32 Meadow View, Clay Farm Place, Leopardstown, Dublin 18, D18KX8E",
"propertyType": "Apartment",
"priceText": "€495,000",
"price": 495000,
"currency": "EUR",
"bedrooms": 2,
"bathrooms": 2,
"floorAreaM2": 90,
"berRating": "A2",
"label": "Energy Efficient",
"agentName": "Edwin Dempsey",
"agentBranch": "Ed Dempsey & Associates",
"agentPhone": "01 288 0004",
"searchPlace": "dublin-city",
"scrapedAt": "2026-11-26T09:31:59Z"
}
Step 5: Save the rows
The same dataset can be exported as JSON, CSV, Excel or NDJSON. Export it next to your script if you want to keep a copy.
Understanding your results
The rows use the field names in the Actor's dataset schema. Four groups need a note; the row in Step 4 shows some of their fields.
-
Price.
priceis in euro: the asking price for sale, the monthly rent for rent. It isnullwhen the listing says Price on Application, andpriceOnApplicationis thentrue.priceTextkeeps the price as printed, such as€495,000. -
Price flags.
priceFrommarks a starting price, andguidePricemarks an advised market value (AMV), a guide rather than an asking price. -
Agent.
agentName,agentBranch,agentPhone,agentTypeandagentLicenceNumbershow who advertised the home, as the listing prints them. -
Dates.
publishedAtis when the listing was last published, in UTC.scrapedAtis when the row was saved.
The sample in Step 4 is a sale search in dublin-city, and none of its listings is Price on Application. Its BER ratings run from A0 to D, so you can sort or filter on energy efficiency.
Pro tips and advanced usage
-
Split large areas. A search returns at most 980 listings. For a whole county, run one search per town, or narrow each run with
minPriceandmaxPrice. -
Separate houses from apartments. Run
propertyTypeashousesand then asapartmentswhen you want two separate tables. -
Several places in one run. Put more than one place in
locations. Each place is its own search, and a listing that appears twice is saved once. -
Keep
maxItemssmall while you test. Raise it once the script prints what you expect. -
Compare value per square metre.
pricePerSquareMeteris in euro, when the listing shows it, so you can rank homes of different sizes. -
Sort by date.
publishedAtshows when each listing was last published, so sorting on it shows which homes were published most recently. -
Keep each run. Save every run's rows with their
scrapedAtdate, so two runs can be compared row by row.
Troubleshooting common issues
- The run succeeds with no rows. The place exists but nothing matched. Loosen the price or bedroom limits, or try a wider place. The run ends as successful, with a status message that says so.
-
The run fails with a message about the input. An empty
locationslist ends the run as failed, and so does a place name Daft.ie does not know. Use the place name as it appears in Daft.ie links, for exampledublin,corkorabbey-galway. The status message says what to fix. - The site refuses the run. If it happens before any row is saved, the run ends as failed and its status message says so.
-
priceisnull. The listing shows Price on Application. ReadpriceTextandpriceOnApplicationinstead.
Read the run's log and status message first. They name the input or the search that caused the problem.
Next steps
Run the script on a schedule with cron or any scheduler on your machine, and write each run's rows to a dated file so you can compare asking prices over time. Try a rent search next by setting listingType to rent. The row shape stays the same, and price becomes the monthly rent. The Apify Python client documentation covers the rest: https://docs.apify.com/api/client/python
About the author: reventadata builds and maintains scrapers for public marketplace, job and property sites on the Apify Store.
Which search would you run first? Tell us in the comments.
Top comments (0)