# Domain.com.au Search

mode selects the listing type: buy, rent, sold, new-homes or rural. Commercial is not available and returns a 400. The platform fixes a page at ten listings and ignores any larger page size, so paginate with page. A promotional row is interleaved into every result page and is filtered out before counting. Facet counts are not available on any reachable surface, so this endpoint filters but does not aggregate. Numeric prices are only populated by the property endpoint, so price_exact is null here while display_price carries the formatted figure. Several suburbs may be passed at once via suburbs[]; each is searched independently.

- **Documentation:** [https://scrappa.co/docs/domain-com-au-api/domain_com_au_search](https://scrappa.co/docs/domain-com-au-api/domain_com_au_search)
- **API group:** Domain.com.au API
- **Endpoint:** `GET https://scrappa.co/api/domain-com-au/search`

## Authentication

Send your Scrappa API key in the `X-API-KEY` request header. Paid endpoints also support accountless x402 payments when called without an API key.

## Parameters

| Parameter | Type | Required | Description |
| --- | --- | --- | --- |
| `mode` | string | No | buy, rent, sold, new-homes, or rural. Commercial is refused with a 400 — the platform exposes no commercial listings on its anonymous search API. |
| `suburb` | string | No | Suburb name, for example Pyrmont. |
| `suburbs[]` | string | No | Up to 20 suburb names. Each is searched as its own location; combining them with suburb sends them all. |
| `region` | string | No | Region name, for example Inner West. |
| `state` | string | No | State name, for example NSW. |
| `postcode` | string | No | Postcode, for example 2009. |
| `page` | integer | No | 1-based page number. Ten listings per page. |
| `min_bedrooms` | integer | No | Lower bedroom bound. |
| `max_bedrooms` | integer | No | Upper bedroom bound. |
| `min_price` | integer | No | Lower price bound in AUD. |
| `max_price` | integer | No | Upper price bound in AUD. |
| `property_types[]` | string | No | House, Apartment, Townhouse, Land, Rural, NewApartments, NewHomeDesigns, or NewHouseLand. |
| `min_bathrooms` | integer | No | Lower bathroom bound. |
| `max_bathrooms` | integer | No | Upper bathroom bound. |
| `min_carspaces` | integer | No | Lower carspace bound. |
| `max_carspaces` | integer | No | Upper carspace bound. |
| `min_land_area` | integer | No | Lower land-area bound in square metres. |
| `max_land_area` | integer | No | Upper land-area bound in square metres. |
| `listing_attributes[]` | string | No | HasPhotos, HasPrice, HasMatterport, NotUpForAuction, MarkedAsNew, or NotUnderContract. |
| `sold_date_range` | string | No | Sold mode only: ALL, LAST_WEEK, LAST_MONTH, LAST_THREE_MONTHS, LAST_SIX_MONTHS, LAST_YEAR, or LAST_TWO_YEARS. |

## Example request

```bash
#!/bin/bash

curl -X GET \
    -H "x-api-key: YOUR_API_KEY_HERE" \
    "https://scrappa.co/api/domain-com-au/search?mode=buy&suburb=Pyrmont&state=NSW&page=1"
```

## Example response

```json
{
    "success": true,
    "data": {
        "mode": "buy",
        "total_results": 82,
        "total_pages": 9,
        "page": 1,
        "page_size": 10,
        "listings": [
            {
                "listing_id": 2021204457,
                "display_address": "1202/2-4 Mount Street, Walk, Pyrmont NSW 2009",
                "display_price": "Asking Price: $11,400,000"
            }
        ]
    }
}
```

## Errors

| Status | Error | Description |
| --- | --- | --- |
| 400 | Validation Error | A parameter is invalid, including an unrecognised mode, property type or enum. Accepted values are listed in the error. This response is not billable. |
| 404 | Not Found | The requested listing, agent profile or city was not found. This response is not billable. |
| 422 | Upstream Input Rejected | Domain.com.au refused the requested filters, or an identifier could not be resolved. This response is not billable. |
| 503 | Service Unavailable | The service could not reach its data source, or the lookup did not complete. No credits are charged for a failed request. |

## More Scrappa resources

- [API documentation](https://scrappa.co/docs)
- [Full LLM-readable API reference](https://scrappa.co/llms-full.txt)
- [OpenAPI specification](https://scrappa.co/docs/api.json)
- [Pricing](https://scrappa.co/pricing)
