Skip to main content
POST
/
api
/
domain
/
agents
/
listings
/domain/agents/listings
curl --request POST \
  --url https://api.anysite.io/api/domain/agents/listings \
  --header 'Content-Type: application/json' \
  --header 'access-token: <api-key>' \
  --data '
{
  "agent": "<string>",
  "count": 2,
  "timeout": 300,
  "channel": "buy"
}
'
[
  {
    "id": "<string>",
    "@type": "@domain_search_listing",
    "url": "<string>",
    "listing_type": "<string>",
    "property_type": "<string>",
    "bedroom_count": 123,
    "bathroom_count": 123,
    "parking_count": 123,
    "is_rural": true,
    "is_retirement": true,
    "is_new": true,
    "price_label": "<string>",
    "address": "<string>",
    "suburb": "<string>",
    "state": "<string>",
    "postcode": "<string>",
    "unit_number": "<string>",
    "land_size": 123,
    "land_unit": "<string>",
    "features": [],
    "image": "<string>",
    "geolocation": {
      "@type": "@domain_geolocation",
      "latitude": 123,
      "longitude": 123
    }
  }
]

Authorizations

access-token
string
header
required

API token from the dashboard

Headers

access-token
string
required

Body

application/json
agent
string
required

Domain agency id or agency profile URL containing it

Minimum string length: 1
Examples:

"37188"

"https://www.domain.com.au/real-estate-agencies/ljhookerbondibeach-37188/"

count
integer
required

Number of results to return

Required range: x >= 1
timeout
integer
default:300

Max scrapping execution timeout (in seconds)

Required range: 20 <= x <= 1500
channel
enum<string>
default:buy

Listing channel

Available options:
buy,
rent,
sold,
new-homes

Response

Successful Response

id
string
required
@type
string
default:@domain_search_listing
url
string | null
listing_type
string | null
property_type
string | null
bedroom_count
integer | null
bathroom_count
integer | null
parking_count
integer | null
is_rural
boolean | null
is_retirement
boolean | null
is_new
boolean | null
price_label
string | null
address
string | null
suburb
string | null
state
string | null
postcode
string | null
unit_number
string | null
land_size
number | null
land_unit
string | null
features
string[]
image
string | null
geolocation
DomainGeolocation · object