{
  "openapi": "3.0.1",
  "info": {
    "title": "Realtor.com New Construction Scraper — Builder Price Ranges",
    "description": "Turn Realtor.com new-home community URLs into rows with builder, price range, bed/bath/sqft ranges, address, coordinates, sales-office phone and hours, description and photos. For homebuilders and real-estate analysts. $1.50 per 1,000 communities, no start fee.",
    "version": "0.4",
    "x-build-id": "kuytRzfaSGQqNJpkt"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/peerless_columbine~independent-realtor-us-search/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-peerless_columbine-independent-realtor-us-search",
        "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/peerless_columbine~independent-realtor-us-search/runs": {
      "post": {
        "operationId": "runs-sync-peerless_columbine-independent-realtor-us-search",
        "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/peerless_columbine~independent-realtor-us-search/run-sync": {
      "post": {
        "operationId": "run-sync-peerless_columbine-independent-realtor-us-search",
        "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": {
          "dbState": {
            "title": "Db state",
            "type": "string",
            "description": "Advanced, leave empty: compatibility field copied from another Realtor.com scraper's private agent database. Not supported: any non-empty value makes the run fail with UNSUPPORTED_PRIVATE_AGENT_DATABASE."
          },
          "dbCity": {
            "title": "Db city",
            "type": "string",
            "description": "Advanced, leave empty: compatibility field copied from another Realtor.com scraper's private agent database. Not supported: any non-empty value makes the run fail with UNSUPPORTED_PRIVATE_AGENT_DATABASE."
          },
          "dbBrokerage": {
            "title": "Db brokerage",
            "type": "string",
            "description": "Advanced, leave empty: compatibility field copied from another Realtor.com scraper's private agent database. Not supported: any non-empty value makes the run fail with UNSUPPORTED_PRIVATE_AGENT_DATABASE."
          },
          "dbHasPhone": {
            "title": "Db has phone",
            "type": "boolean",
            "description": "Advanced, leave false: compatibility field copied from another Realtor.com scraper's private agent database. Not supported: true makes the run fail with UNSUPPORTED_PRIVATE_AGENT_DATABASE.",
            "default": false
          },
          "dbMinRecentSales": {
            "title": "Db min recent sales",
            "minimum": 0,
            "type": "integer",
            "description": "Advanced, agent searches only: keep only agents whose public profile shows at least this many sales in the last 12 months (agents with no count are dropped). Only valid when every target is an agent search (agentZipCodes or /realestateagents/ start URLs); otherwise the run fails. Agent extraction is not verified live. Minimum: 0. Example: `10`."
          },
          "dbOffset": {
            "title": "Db offset",
            "minimum": 0,
            "type": "integer",
            "description": "Advanced, leave empty or 0: compatibility field copied from another Realtor.com scraper's private agent database. Not supported: any value above 0 makes the run fail with UNSUPPORTED_PRIVATE_AGENT_DATABASE. Minimum: 0."
          },
          "dbHasYoutube": {
            "title": "Db has youtube",
            "type": "boolean",
            "description": "Advanced, leave false: compatibility field copied from another Realtor.com scraper's private agent database. Not supported: true makes the run fail with UNSUPPORTED_PRIVATE_AGENT_DATABASE.",
            "default": false
          },
          "instantDatabase": {
            "title": "Instant database",
            "type": "boolean",
            "description": "Advanced, leave false: compatibility field copied from another Realtor.com scraper's private agent database. Not supported: true makes the run fail with UNSUPPORTED_PRIVATE_AGENT_DATABASE.",
            "default": false
          },
          "startUrls": {
            "title": "Start urls",
            "maxItems": 50,
            "type": "array",
            "description": "Main input. Realtor.com URLs to scrape, max 50, https://www.realtor.com only. Best supported: new-home community pages `https://www.realtor.com/community-detail/<Name>_<Address>_Q<id>` (one row each). Ordinary home pages `/realestateandhomes-detail/..._Mxxxxx-xxxxx` work best with propertyDetailSource `public_frontend`. Search, sold, rental and agent URLs are accepted but less tested. When set, searchLocations, agentZipCodes and the search filters are ignored. Realtor.ca is rejected.",
            "items": {
              "type": "object",
              "required": [
                "url"
              ],
              "properties": {
                "url": {
                  "type": "string",
                  "title": "URL of a web page",
                  "format": "uri"
                }
              }
            }
          },
          "agentZipCodes": {
            "title": "Agent zip codes",
            "maxItems": 50,
            "type": "array",
            "description": "Alternative to startUrls (ignored when startUrls is set): US 5-digit ZIP codes, max 50. Each builds a Realtor.com agent search and returns one row per agent (record_type `agent`). Agent extraction is not verified live and may fail. Example: `27613`.",
            "items": {
              "type": "string"
            }
          },
          "searchLocations": {
            "title": "Search locations",
            "maxItems": 50,
            "type": "array",
            "description": "Alternative to startUrls (ignored when startUrls is set): one Realtor.com home search per location, max 50. Format: `City, ST` (two-letter state), a state, or a 5-digit ZIP; only letters, digits, spaces, commas, dots and hyphens. The filters searchMode, searchStatuses, propertyTypes, priceMin/Max, bedsMin, bathsMin and keyword apply only here. Search scraping is less tested than community URLs. Example: `Raleigh, NC`.",
            "items": {
              "type": "string"
            }
          },
          "searchMode": {
            "title": "Search mode",
            "enum": [
              "for_sale",
              "sold"
            ],
            "type": "string",
            "description": "searchLocations only: `for_sale` = homes currently for sale; `sold` = recently sold homes (price filters then use the last sold price). Sold searches keep the dates shown by Realtor.com; a full six-month sold window is not guaranteed. Ignored when startUrls is set.",
            "default": "for_sale"
          },
          "searchStatuses": {
            "title": "Search statuses",
            "type": "array",
            "description": "searchLocations with searchMode `for_sale` only: keep homes whose display status is in this list; must not be empty. Accepted values: for_sale, ready_to_build, pending, coming_soon, contingent. Search pages may not show pending, coming_soon or contingent homes at all, so adding them may return few extra rows (a warning is written to SUMMARY). Ignored in sold mode and when startUrls is set.",
            "items": {
              "type": "string",
              "enum": [
                "for_sale",
                "ready_to_build",
                "pending",
                "coming_soon",
                "contingent"
              ]
            },
            "default": [
              "for_sale",
              "ready_to_build"
            ]
          },
          "propertyTypes": {
            "title": "Property types",
            "type": "array",
            "description": "searchLocations only: limit the search to these property types (added to the search URL and re-checked on each row). Empty = all types. Accepted values: single_family, townhomes, condo_townhome, multi_family, land, farm, manufactured, mobile, apartment, coop, duplex_triplex. Ignored when startUrls is set.",
            "items": {
              "type": "string",
              "enum": [
                "single_family",
                "townhomes",
                "condo_townhome",
                "multi_family",
                "land",
                "farm",
                "manufactured",
                "mobile",
                "apartment",
                "coop",
                "duplex_triplex"
              ]
            },
            "default": []
          },
          "priceMin": {
            "title": "Price min",
            "minimum": 0,
            "type": "integer",
            "description": "searchLocations only: minimum price in whole US dollars, inclusive (list price; last sold price in sold mode). Homes without a price are dropped. Must not exceed priceMax. Ignored when startUrls is set. Minimum: 0. Example: `300000`."
          },
          "priceMax": {
            "title": "Price max",
            "minimum": 0,
            "type": "integer",
            "description": "searchLocations only: maximum price in whole US dollars, inclusive (list price; last sold price in sold mode). Homes without a price are dropped. Ignored when startUrls is set. Minimum: 0. Example: `600000`."
          },
          "bedsMin": {
            "title": "Beds min",
            "minimum": 0,
            "type": "integer",
            "description": "searchLocations only: minimum number of bedrooms, inclusive. Homes with an unknown bedroom count are dropped. Ignored when startUrls is set. Minimum: 0. Example: `3`."
          },
          "bathsMin": {
            "title": "Baths min",
            "minimum": 0,
            "type": "integer",
            "description": "searchLocations only: minimum number of bathrooms, inclusive. Homes with an unknown bathroom count are dropped. Ignored when startUrls is set. Minimum: 0. Example: `2`."
          },
          "keyword": {
            "title": "Keyword",
            "type": "string",
            "description": "searchLocations only: keep homes whose full listing description contains this text (case-insensitive substring match). Homes without a description are dropped. Ignored when startUrls is set. Example: `pool`."
          },
          "fetchAgentListings": {
            "title": "Fetch agent listings",
            "type": "boolean",
            "description": "Agent rows only: include the agent's active listings (active_listings) from the public profile. Agents whose profile has no embedded listings are rejected, not saved. Leave false unless you need agents' listings.",
            "default": false
          },
          "exhaustiveAgents": {
            "title": "Exhaustive agents",
            "type": "boolean",
            "description": "Advanced, leave false: compatibility field from another Realtor.com scraper. Not supported: true makes the run fail with UNSUPPORTED_EXHAUSTIVE_AGENT_PARTITIONING.",
            "default": false
          },
          "maxItems": {
            "title": "Max items",
            "minimum": 1,
            "type": "integer",
            "description": "Maximum rows saved per start URL (or per generated search). Rows already saved for an earlier URL are skipped as duplicates, so you may get fewer. A community or home detail URL always gives at most 1 row. Minimum: 1 (code maximum 100000).",
            "default": 1000
          },
          "monitoringMode": {
            "title": "Monitoring mode",
            "type": "boolean",
            "description": "For repeated scheduled runs: remember delivered rows (property ID + display status, or agent ID) in the key-value store named by monitoringStoreName and skip them next time, so only new properties or status changes are returned. Price changes without a status change are not returned again. Do not run two monitoring runs on the same store at once.",
            "default": false
          },
          "additionalStats": {
            "title": "Additional stats",
            "type": "boolean",
            "description": "Keep price history, saves/views history and county/city market medians when present on the page. Rows that have none of these are rejected (not saved). Leave false unless you need these stats; propertyDetailSource `public_frontend` never provides them.",
            "default": false
          },
          "includePermitHistory": {
            "title": "Include permit history",
            "type": "boolean",
            "description": "Add the building permit list (permit_history) and a has_roof_permit flag. Rows whose page has no permit list are rejected (an explicit empty list is fine). Leave false unless needed; propertyDetailSource `public_frontend` never provides permits.",
            "default": false
          },
          "maxConcurrency": {
            "title": "Max concurrency",
            "minimum": 1,
            "maximum": 20,
            "type": "integer",
            "description": "Maximum parallel detail-page requests, 1 to 20. Use 1-2 for small runs or 256 MB memory. Must be at least minConcurrency. Out-of-range values fail the run instead of being clamped.",
            "default": 5
          },
          "minConcurrency": {
            "title": "Min concurrency",
            "minimum": 1,
            "maximum": 20,
            "type": "integer",
            "description": "Advanced, leave default. Only validated: must not exceed maxConcurrency or the run fails; it does not change crawling speed. Allowed range: 1–20.",
            "default": 1
          },
          "maxRequestRetries": {
            "title": "Max request retries",
            "minimum": 0,
            "maximum": 5,
            "type": "integer",
            "description": "Retries, 0 to 5, for HTML page requests that hit a network error or HTTP 502/503/504. Access denials, challenges, 401, 403 and 429 are never retried. public_frontend queries always make a single attempt.",
            "default": 5
          },
          "enrichEmails": {
            "title": "Enrich emails",
            "type": "boolean",
            "description": "Advanced, leave false: compatibility field from another Realtor.com scraper. Not supported (no email enrichment): true makes the run fail with UNSUPPORTED_EMAIL_ENRICHMENT.",
            "default": false
          },
          "proxy": {
            "title": "Proxy",
            "type": "object",
            "description": "Optional, default off and normally not needed. Standard Apify proxy object, e.g. `{\"useApifyProxy\": true, \"apifyProxyGroups\": [\"RESIDENTIAL\"]}`, or your own `{\"proxyUrls\": [\"http://user:pass@host:port\"]}` (not both). Invalid settings fail the run. Apify bills proxy usage separately; paid proxy routes are untested.",
            "default": {
              "useApifyProxy": false
            }
          },
          "maxPages": {
            "title": "Maximum pages per start URL",
            "minimum": 1,
            "maximum": 100,
            "type": "integer",
            "description": "Search URLs only: maximum result pages read per start URL or generated search. Detail URLs (community, home, agent) always use a single page. Stop reasons are reported in the SUMMARY record of the key-value store. Allowed range: 1–100.",
            "default": 10
          },
          "requestTimeoutSecs": {
            "title": "HTTP timeout seconds",
            "minimum": 1,
            "maximum": 20,
            "type": "integer",
            "description": "Timeout for each HTTP request, in seconds. Allowed range: 1–20.",
            "default": 15
          },
          "maxRuntimeSecs": {
            "title": "Collection time budget seconds",
            "minimum": 1,
            "maximum": 100,
            "type": "integer",
            "description": "Total collection time budget for the run, in seconds. When reached, collection stops, rows already saved are kept and SUMMARY status becomes PARTIAL_TIME_LIMIT. Allowed range: 1–100.",
            "default": 100
          },
          "monitoringStoreName": {
            "title": "Monitoring store name",
            "type": "string",
            "description": "Name of the named key-value store where monitoringMode remembers delivered rows. Letters, digits and hyphens, max 63 characters, starting with a letter or digit. Use a different name for each independent monitor and avoid overlapping runs on the same store. Ignored unless monitoringMode is true.",
            "default": "realtor-round29-monitoring"
          },
          "proxyConfiguration": {
            "title": "Proxy configuration alias",
            "type": "object",
            "description": "Advanced, leave empty: alias for `proxy` with the same format. Set only one of proxy or proxyConfiguration; supplying both fails the run."
          },
          "useProxy": {
            "title": "Explicit proxy switch",
            "type": "boolean",
            "description": "Advanced, leave empty. Optional consistency check: true fails the run unless proxy (or proxyConfiguration) enables a proxy; false fails the run if a proxy is enabled."
          },
          "propertyDetailSource": {
            "title": "Property detail source",
            "enum": [
              "html",
              "public_frontend",
              "html_then_frontend"
            ],
            "type": "string",
            "description": "How ordinary home detail URLs (`/realestateandhomes-detail/..._Mxxxxx-xxxxx`) are read. `html` (default): parse the page HTML. `public_frontend`: use Realtor.com's anonymous public Home data query (recommended for these URLs; selected fields only). `html_then_frontend`: try HTML, fall back to the query only on a missing data block or network error, never after an access denial. Community, search and agent URLs always use HTML.",
            "default": "html"
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}