{
  "openapi": "3.0.1",
  "info": {
    "title": "Realtor.com Scraper 🏠 Listings, Agents & Reviews | $1.5/1K",
    "description": "Scrape Realtor.com listings, property details & agents — no API key. Get prices, beds/baths, photos, tax & price history, schools, AVM value estimates, building permits & neighborhood medians, plus agent contacts, ratings & full reviews. For-sale, rent & sold. Export CSV/JSON. From $1.5/1K.",
    "version": "1.0",
    "x-build-id": "0MkvUGCzXaYUaMVtd"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/pro100chok~realtor-com-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-pro100chok-realtor-com-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/pro100chok~realtor-com-scraper/runs": {
      "post": {
        "operationId": "runs-sync-pro100chok-realtor-com-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/pro100chok~realtor-com-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-pro100chok-realtor-com-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",
        "required": [
          "scrapeType"
        ],
        "properties": {
          "scrapeType": {
            "title": "What to scrape",
            "enum": [
              "search",
              "propertyDetail",
              "agents"
            ],
            "type": "string",
            "description": "Choose the dataset you want. Search returns property listings for a location; Property details returns the full record for specific listings; Agents returns real-estate agents (with their active listings) for a location.",
            "default": "search"
          },
          "location": {
            "title": "Locations / search URLs",
            "type": "array",
            "description": "For Search and Agents modes. Enter cities (\"Austin, TX\"), ZIP codes (\"78704\"), \"City, State\", full addresses, or paste any realtor.com search URL. One query per line.",
            "items": {
              "type": "string"
            }
          },
          "listingType": {
            "title": "Listing status",
            "enum": [
              "for_sale",
              "for_rent",
              "sold",
              "pending",
              "coming_soon"
            ],
            "type": "string",
            "description": "Which listing status to return in Search mode.",
            "default": "for_sale"
          },
          "propertyType": {
            "title": "Property types",
            "type": "array",
            "description": "Optional. Limit Search results to these property types. Leave empty for all.",
            "items": {
              "type": "string",
              "enum": [
                "single_family",
                "condo",
                "townhome",
                "multi_family",
                "duplex_triplex",
                "farm",
                "land",
                "mobile",
                "apartment"
              ],
              "enumTitles": [
                "Single family",
                "Condo",
                "Townhome",
                "Multi-family",
                "Duplex / triplex",
                "Farm",
                "Land",
                "Mobile",
                "Apartment"
              ]
            }
          },
          "includeDetails": {
            "title": "Enrich each result with full details",
            "type": "boolean",
            "description": "Search mode only. When on, every listing is enriched with the full detail record (tax & price history, schools, AVM estimate, risk scores, mortgage, all photos). Slower and costs more per result.",
            "default": false
          },
          "includeAgentProfile": {
            "title": "Enrich agents with profile",
            "type": "boolean",
            "description": "Agents mode only. When on, agents are enriched with their directory profile (bio, years of experience, languages, served areas, specializations) where available. Adds extra requests.",
            "default": true
          },
          "includeReviews": {
            "title": "Enrich agents with ratings & reviews",
            "type": "boolean",
            "description": "Agents mode only. When on, agents are matched to their public client reviews (star rating, review count, and full review text) where available. Adds extra requests.",
            "default": true
          },
          "includeMarketStats": {
            "title": "Add neighborhood market stats",
            "type": "boolean",
            "description": "Search & Property details modes. When on, each property is tagged with its ZIP's median list price, days on market, and price per sqft. Adds a small number of extra requests.",
            "default": true
          },
          "includePermits": {
            "title": "Add building permit history",
            "type": "boolean",
            "description": "Search & Property details modes. When on, properties in covered metros (major US cities with open permit data) are enriched with their building permit history — type, work class, status, issue date, valuation, and description. Properties outside covered cities return no permits.",
            "default": true
          },
          "maxItems": {
            "title": "Max results",
            "minimum": 1,
            "maximum": 100000,
            "type": "integer",
            "description": "Maximum number of records to return (per run). For Agents mode this is the number of unique agents.",
            "default": 100
          },
          "propertyUrls": {
            "title": "Property URLs or IDs",
            "type": "array",
            "description": "For Property details mode. Paste realtor.com listing URLs or numeric property IDs, one per line.",
            "items": {
              "type": "string"
            }
          },
          "bedsMin": {
            "title": "Beds (min)",
            "minimum": 0,
            "type": "integer",
            "description": "Minimum number of bedrooms."
          },
          "bedsMax": {
            "title": "Beds (max)",
            "minimum": 0,
            "type": "integer",
            "description": "Maximum number of bedrooms."
          },
          "bathsMin": {
            "title": "Baths (min)",
            "minimum": 0,
            "type": "integer",
            "description": "Minimum number of bathrooms."
          },
          "priceMin": {
            "title": "Price (min)",
            "minimum": 0,
            "type": "integer",
            "description": "Minimum price (USD)."
          },
          "priceMax": {
            "title": "Price (max)",
            "minimum": 0,
            "type": "integer",
            "description": "Maximum price (USD)."
          },
          "sqftMin": {
            "title": "Sqft (min)",
            "minimum": 0,
            "type": "integer",
            "description": "Minimum building square footage."
          },
          "sqftMax": {
            "title": "Sqft (max)",
            "minimum": 0,
            "type": "integer",
            "description": "Maximum building square footage."
          },
          "lotSqftMin": {
            "title": "Lot sqft (min)",
            "minimum": 0,
            "type": "integer",
            "description": "Minimum lot size in square feet."
          },
          "yearBuiltMin": {
            "title": "Year built (min)",
            "minimum": 1800,
            "type": "integer",
            "description": "Earliest year built."
          },
          "yearBuiltMax": {
            "title": "Year built (max)",
            "minimum": 1800,
            "type": "integer",
            "description": "Latest year built."
          },
          "soldWithinDays": {
            "title": "Sold within (days)",
            "minimum": 1,
            "type": "integer",
            "description": "Sold mode only: only include homes sold in the last N days."
          },
          "listedWithinDays": {
            "title": "Listed within (days)",
            "minimum": 1,
            "type": "integer",
            "description": "For sale / rent only: only include homes listed in the last N days."
          },
          "maxRetries": {
            "title": "Max retries",
            "minimum": 1,
            "maximum": 20,
            "type": "integer",
            "description": "How many times to retry a blocked/failed request (rotates IP + fingerprint each time).",
            "default": 6
          },
          "proxyConfiguration": {
            "title": "Proxy configuration",
            "type": "object",
            "description": "Proxies are required. US residential proxies are strongly recommended.",
            "default": {
              "useApifyProxy": true,
              "apifyProxyGroups": [
                "RESIDENTIAL"
              ],
              "apifyProxyCountry": "US"
            }
          }
        }
      },
      "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
                  }
                }
              },
              "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}