{
  "openapi": "3.0.1",
  "info": {
    "title": "Domain.com.au Scraper [$1💰] | AU Property | Agent Emails",
    "description": "Extract Australian property listings from Domain.com.au for sale, rent and sold: price, beds/baths/parking, land size, geo coords, inspections, auction dates and agency & agent contacts. Pay only per result — $0.001 per listing, no API key needed.",
    "version": "0.0",
    "x-build-id": "SzrgfBlHrsmqUMQco"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/ahmed_jasarevic~domain-com-au-property-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-ahmed_jasarevic-domain-com-au-property-scraper",
        "x-openai-isConsequential": false,
        "summary": "Executes an Actor, waits for its completion, and returns Actor's dataset items in response.",
        "tags": [
          "Run Actor"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/inputSchema"
              }
            }
          }
        },
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Enter your Apify token here"
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/acts/ahmed_jasarevic~domain-com-au-property-scraper/runs": {
      "post": {
        "operationId": "runs-sync-ahmed_jasarevic-domain-com-au-property-scraper",
        "x-openai-isConsequential": false,
        "summary": "Executes an Actor and returns information about the initiated run in response.",
        "tags": [
          "Run Actor"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/inputSchema"
              }
            }
          }
        },
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Enter your Apify token here"
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/runsResponseSchema"
                }
              }
            }
          }
        }
      }
    },
    "/acts/ahmed_jasarevic~domain-com-au-property-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-ahmed_jasarevic-domain-com-au-property-scraper",
        "x-openai-isConsequential": false,
        "summary": "Executes an Actor, waits for completion, and returns the OUTPUT from Key-value store in response.",
        "tags": [
          "Run Actor"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/inputSchema"
              }
            }
          }
        },
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Enter your Apify token here"
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    }
  },
  "components": {
    "schemas": {
      "inputSchema": {
        "type": "object",
        "properties": {
          "startUrls": {
            "title": "Search result URLs",
            "type": "array",
            "description": "One or more Domain.com.au search-result URLs, e.g. https://www.domain.com.au/sale/bondi-beach-nsw-2026/ . Sale, rent and sold search URLs all work. Paste any search URL from the site.",
            "items": {
              "type": "object",
              "required": [
                "url"
              ],
              "properties": {
                "url": {
                  "type": "string",
                  "title": "URL of a web page",
                  "format": "uri"
                }
              }
            }
          },
          "scrapeDetails": {
            "title": "Scrape listing detail pages",
            "type": "boolean",
            "description": "Also fetch each listing's detail page to enrich results with full description, image gallery, agent photos/contacts, inspection times, auction date and structured features.",
            "default": true
          },
          "maxItems": {
            "title": "Max listings",
            "minimum": 0,
            "type": "integer",
            "description": "Maximum number of listings to scrape across all search URLs. 0 means no explicit limit (still capped by the run's internal request budget).",
            "default": 50
          },
          "maxPages": {
            "title": "Max search pages per URL",
            "minimum": 1,
            "maximum": 50,
            "type": "integer",
            "description": "Maximum number of pagination pages to visit per search URL (~20 listings per page).",
            "default": 3
          },
          "maxConcurrency": {
            "title": "Max concurrency",
            "minimum": 1,
            "maximum": 20,
            "type": "integer",
            "description": "Parallel requests. Everything runs on ONE warm (Akamai-solved) session, so concurrency is kept modest to stay under Domain's per-IP request threshold. Default 4, up to 20.",
            "default": 4
          },
          "requestDelayMs": {
            "title": "Delay between requests (ms)",
            "minimum": 0,
            "type": "integer",
            "description": "Random delay (0-2x this value) added between requests to avoid rate-limiting. Lower values are faster but risk more Akamai challenges.",
            "default": 250
          },
          "proxy": {
            "title": "Proxy configuration",
            "type": "object",
            "description": "Proxy used for the crawl. Domain.com.au sits behind Akamai bot management; the Apify Unblocker proxy (UNBLOCKER group, AU country) solves the JS challenge automatically. Disable proxy only if you run from lightly-flagged IPs.",
            "default": {
              "useApifyProxy": true,
              "apifyProxyGroups": [
                "UNBLOCKER"
              ],
              "apifyProxyCountry": "AU"
            }
          },
          "useGraphQLSearch": {
            "title": "Use GraphQL search (experimental)",
            "type": "boolean",
            "description": "Fetch search results via Domain's GraphQL endpoint instead of parsing the search HTML page (memo23-method: lists 100 listings per request, then enqueues detail pages). Requires scrapeDetails=true to be useful; keeps the Akamai-heavy search page out of the critical path.",
            "default": false
          },
          "useJsonApi": {
            "title": "Use JSON API (lighter payloads)",
            "type": "boolean",
            "description": "Request pages as JSON (Accept: application/json) instead of rendered HTML. On the platform the AU Unblocker usually answers accept-json requests with rendered HTML anyway, so it is OFF by default — the HTML __NEXT_DATA__ payload carries exactly the same data. Enable only to experiment.",
            "default": false
          },
          "useResidentialProxy": {
            "title": "Use Apify Residential proxy (AU)",
            "type": "boolean",
            "description": "EXPERIMENTAL — currently blocked: as tested, Apify RESIDENTIAL AU exits are hard-rejected (HTTP 403) by Domain's WAF, while UNBLOCKER solves it. Only turn this on to retry residential after code changes. Requires residential proxy enabled on your plan.",
            "default": false
          },
          "debugPhoenix": {
            "title": "Debug: Phoenix /_search probe",
            "type": "boolean",
            "description": "Warm a session on the search page, then POST to the internal /phoenix/api/listings/residential/_search endpoint with 3 candidate payloads and save raw responses to the key-value store (debug-phoenix-*.json). Use to reverse-engineer Domain's fast JSON search API.",
            "default": false
          },
          "debugSaveHtml": {
            "title": "Debug: save raw HTML",
            "type": "boolean",
            "description": "Save the first search page HTML to the key-value store for debugging.",
            "default": false
          },
          "debugGraphQL": {
            "title": "Debug: GraphQL test",
            "enum": [
              "introspection",
              "search"
            ],
            "type": "string",
            "description": "Send a GraphQL query to Domain's /graphql endpoint via Unblocker. Use 'introspection' to discover the full schema, or 'search' to try search queries. Results saved to key-value store."
          },
          "debugSearchQuery": {
            "title": "Debug: GraphQL search text",
            "type": "string",
            "description": "Location text for GraphQL search debug mode (e.g. 'Bondi Beach NSW').",
            "default": "Bondi Beach NSW"
          },
          "debugGraphQLQuery": {
            "title": "Debug: custom GraphQL query",
            "type": "string",
            "description": "When set with debugGraphQL=search, this exact query string is POSTed to Domain's /graphql endpoint (instead of the default probes) and the raw response saved to debug-graphql-probe-1.json. Use to reverse-engineer searchListings / listingById fields.",
            "default": ""
          }
        }
      },
      "runsResponseSchema": {
        "type": "object",
        "properties": {
          "data": {
            "type": "object",
            "properties": {
              "id": {
                "type": "string"
              },
              "actId": {
                "type": "string"
              },
              "userId": {
                "type": "string"
              },
              "startedAt": {
                "type": "string",
                "format": "date-time",
                "example": "2025-01-08T00:00:00.000Z"
              },
              "finishedAt": {
                "type": "string",
                "format": "date-time",
                "example": "2025-01-08T00:00:00.000Z"
              },
              "status": {
                "type": "string",
                "example": "READY"
              },
              "meta": {
                "type": "object",
                "properties": {
                  "origin": {
                    "type": "string",
                    "example": "API"
                  },
                  "userAgent": {
                    "type": "string"
                  }
                }
              },
              "stats": {
                "type": "object",
                "properties": {
                  "inputBodyLen": {
                    "type": "integer",
                    "example": 2000
                  },
                  "rebootCount": {
                    "type": "integer",
                    "example": 0
                  },
                  "restartCount": {
                    "type": "integer",
                    "example": 0
                  },
                  "resurrectCount": {
                    "type": "integer",
                    "example": 0
                  },
                  "computeUnits": {
                    "type": "integer",
                    "example": 0
                  }
                }
              },
              "options": {
                "type": "object",
                "properties": {
                  "build": {
                    "type": "string",
                    "example": "latest"
                  },
                  "timeoutSecs": {
                    "type": "integer",
                    "example": 300
                  },
                  "memoryMbytes": {
                    "type": "integer",
                    "example": 1024
                  },
                  "diskMbytes": {
                    "type": "integer",
                    "example": 2048
                  }
                }
              },
              "buildId": {
                "type": "string"
              },
              "defaultKeyValueStoreId": {
                "type": "string"
              },
              "defaultDatasetId": {
                "type": "string"
              },
              "defaultRequestQueueId": {
                "type": "string"
              },
              "buildNumber": {
                "type": "string",
                "example": "1.0.0"
              },
              "containerUrl": {
                "type": "string"
              },
              "usage": {
                "type": "object",
                "properties": {
                  "ACTOR_COMPUTE_UNITS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_WRITES": {
                    "type": "integer",
                    "example": 1
                  },
                  "KEY_VALUE_STORE_LISTS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_INTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_EXTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_SERPS": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_UNBLOCKER_UNITS": {
                    "type": "integer",
                    "example": 0
                  }
                }
              },
              "usageTotalUsd": {
                "type": "number",
                "example": 0.00005
              },
              "usageUsd": {
                "type": "object",
                "properties": {
                  "ACTOR_COMPUTE_UNITS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_WRITES": {
                    "type": "number",
                    "example": 0.00005
                  },
                  "KEY_VALUE_STORE_LISTS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_INTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_EXTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_SERPS": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_UNBLOCKER_UNITS": {
                    "type": "integer",
                    "example": 0
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}