Domain.com.au Scraper
Scrape Domain.com.au, one of Australia's two big property portals, into structured data. Search any suburb for sale, for rent or sold and get price text and parsed price range, sale status and date, beds, baths, parking, land size, property type, address with coordinates, agency and agents, auction and inspection times. Open a listing for its description, features, agents' phone numbers, listing dates and Domain's suburb medians (median sale and rent price, days on market, auction clearance). JSON or CSV.
pip install domain-com-au-scraper
export SCRAPEDO_TOKEN=your_token
domain-scraper "Bondi Beach NSW 2026" --mode sold --pages 3 -f csv -o bondi_sold.csv
domain-scraper "Sydney NSW 2000" --details --limit 20 -o sydney.json
Why plain requests fail
import requests
r = requests.get("https://www.domain.com.au/sale/sydney-nsw-2000/")
print(r.status_code) # 403
print(r.text[:60]) # <HTML><HEAD><TITLE>Access Denied</TITLE>
Domain sits behind Akamai, which answers a script with 403 Access Denied before any HTML. This package sends each request through Scrape.do with super=true (residential proxies), which returns the real page. Each page costs 10 credits.
Where the data is
Domain is a Next.js site, so every page carries its data in the __NEXT_DATA__ script. No HTML parsing:
- Search pages (
/sale/<suburb>-<state>-<postcode>/,/rent/...,/sold-listings/...,?page=N):props.pageProps.componentProps.listingsMapholds about 20 listings per page, plustotalListingsandtotalPages. New-development "projects" sit in the same map and are skipped. Domain stops at page 50. - Listing pages (
/<address-slug>-<listingId>): the same object holds the description, structured features, the price guide with agents,createdOn/modifiedOn, the gallery andsuburbInsights.
In a live test: Sydney NSW 2000 had 934 listings for sale over 46 pages; Bondi Beach had 16,626 sold listings, 20 per page, each with its sale status and date ("Sold at auction 10 Nov 2026"). Many prices are text ("Price Withheld", "Contact Agent"); price_min/price_max are filled only when the text has a number.
Python
from domain_scraper import DomainScraper
dm = DomainScraper(token="YOUR_SCRAPEDO_TOKEN") # or set SCRAPEDO_TOKEN
for l in dm.search("Bondi Beach NSW 2026", mode="sold", pages=2):
print(l.status, l.price_text, l.beds, l.address, l.agency)
detail = dm.get_listing("https://www.domain.com.au/<address-slug>-<listingId>")
print(detail.description[:200], detail.features, detail.suburb_median_price)
print(dm.credits_used)
Fields
Search result: listing_id, url, price_text, price_min, price_max, status, property_type, beds, baths, parking, land_size, land_unit, street, suburb, state, postcode, latitude, longitude, agency, agency_id, agents, auction, inspection_open, inspection_close, images, promo_type, address.
Listing page: listing_id, url, title (price text), headline, listing_type, status, method, property_type, beds, baths, parking, land_area, address, unit_number, street_number, street, suburb, state, postcode, latitude, longitude, description, features, agency, agents (name, phone, mobile, profile URL), inspection, created_on, modified_on, images, suburb_median_price, suburb_median_rent, suburb_days_on_market, suburb_auction_clearance, suburb_sold_this_year.
Use it responsibly
Listings are public, but agents are real people: use their contact details only for legitimate purposes, respect the Australian Privacy Act and Spam Act, and Domain's terms. Don't republish listing photos or descriptions. This is not legal advice.
Tests
PYTHONPATH=src python -m unittest discover -s tests
The fixtures are fictional ("Example Realty", "Jane Doe", example.com).
License
MIT
Metadata
Release files for domain-com-au-scraper 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| domain_com_au_scraper-0.1.0.tar.gz | 13.9 kB | Without provenance | Details for domain_com_au_scraper-0.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| domain_com_au_scraper-0.1.0-py3-none-any.whl | Python 3 | none | any | Details for domain_com_au_scraper-0.1.0-py3-none-any.whl |
Total release size: 26.3 kB
Release files / domain_com_au_scraper-0.1.0.tar.gz
| Download URL | domain_com_au_scraper-0.1.0.tar.gz |
|---|---|
| Size | 13.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
84b9e51b8a3aaced77d0c53fc047323ee7784bdbf550f86cef922678c91fbf01
|
|
BLAKE2b-256 checksum How to use checksums |
7725f163a6664f833b9a7c086f9b483c5ed56071497b143d0745a28a6edd8de1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Release files / domain_com_au_scraper-0.1.0-py3-none-any.whl
| Download URL | domain_com_au_scraper-0.1.0-py3-none-any.whl |
|---|---|
| Size | 12.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
ec325df67b2aeb2c449c3431e86929c8e2f0fcdfb6124aa1f8314ed80b6cc41d
|
|
BLAKE2b-256 checksum How to use checksums |
8f7e3c79aab9b681aeebc1d4716795148a014e5b423094dc7af75cf3b68904df
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Security for domain-com-au-scraper 0.1.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.