{
  "openapi": "3.0.1",
  "info": {
    "title": "Century 21 Real Estate Scraper",
    "description": "Scrape homes for sale and rent from Century21.com. Search by city, county, neighborhood or ZIP with price/beds/baths/sqft/year-built filters, look up a specific property by street address, or fetch full listing details by ID - price, photos, agent, schools, taxes, HOA, and more.",
    "version": "1.0",
    "x-build-id": "yQTPJCJ8B5gM76paV"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/crawlerbros~century21-real-estate-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-crawlerbros-century21-real-estate-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/crawlerbros~century21-real-estate-scraper/runs": {
      "post": {
        "operationId": "runs-sync-crawlerbros-century21-real-estate-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/crawlerbros~century21-real-estate-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-crawlerbros-century21-real-estate-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": [
          "mode"
        ],
        "properties": {
          "mode": {
            "title": "Mode",
            "enum": [
              "search",
              "byAddress",
              "byListingId"
            ],
            "type": "string",
            "description": "What to fetch.",
            "default": "search"
          },
          "location": {
            "title": "Location (mode=search)",
            "type": "string",
            "description": "City, county, neighborhood or ZIP code, e.g. `Austin, TX`, `Miami-Dade County, FL`, `78617`."
          },
          "addresses": {
            "title": "Street addresses (mode=byAddress)",
            "type": "array",
            "description": "Full street addresses to look up, e.g. `13521 Sea Biscuit Dr, Del Valle, TX`.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "listingIds": {
            "title": "Listing IDs (mode=byListingId)",
            "type": "array",
            "description": "Century 21 internal listing IDs (from a previous run's `listingId` field), e.g. `P00800000HF6cD2iLtM7DTj91VD8KUzhnfCsy0Wx`.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "listingType": {
            "title": "Listing type (mode=search)",
            "enum": [
              "forSale",
              "forRent"
            ],
            "type": "string",
            "description": "Search for-sale or for-rent listings."
          },
          "propertyTypes": {
            "title": "Property types (mode=search, For sale only)",
            "type": "array",
            "description": "Restrict to these property types. Leave empty for all types.",
            "items": {
              "type": "string",
              "enum": [
                "SFR",
                "MFR",
                "COOP",
                "MFD",
                "LAND",
                "CONDO",
                "TOWNHOUSE",
                "FARM"
              ],
              "enumTitles": [
                "Single family",
                "Multi-family",
                "Co-op",
                "Mobile / Manufactured",
                "Lots / Land",
                "Condominium",
                "Townhouse",
                "Farm"
              ]
            },
            "default": []
          },
          "statuses": {
            "title": "Listing statuses (mode=search, For sale only)",
            "type": "array",
            "description": "Restrict to these listing statuses. Leave empty for all statuses.",
            "items": {
              "type": "string",
              "enum": [
                "ACTIVE",
                "PENDING",
                "COMING_SOON"
              ],
              "enumTitles": [
                "Active",
                "Pending / Under contract",
                "Coming soon"
              ]
            },
            "default": []
          },
          "minPrice": {
            "title": "Min price (USD)",
            "minimum": 0,
            "maximum": 500000000,
            "type": "integer",
            "description": "Only listings priced at or above this amount."
          },
          "maxPrice": {
            "title": "Max price (USD)",
            "minimum": 0,
            "maximum": 500000000,
            "type": "integer",
            "description": "Only listings priced at or below this amount."
          },
          "minBedrooms": {
            "title": "Min bedrooms",
            "enum": [
              "0",
              "1",
              "2",
              "3",
              "4",
              "5"
            ],
            "type": "string",
            "description": "Only listings with at least this many bedrooms (0 = studio)."
          },
          "minBathrooms": {
            "title": "Min bathrooms",
            "enum": [
              "1",
              "2",
              "3",
              "4",
              "5"
            ],
            "type": "string",
            "description": "Only listings with at least this many bathrooms."
          },
          "minSqft": {
            "title": "Min living area (sq ft)",
            "enum": [
              "200",
              "500",
              "750",
              "1000",
              "1250",
              "1500",
              "1750",
              "3000",
              "3250",
              "3500",
              "4000",
              "5000",
              "6000",
              "7000",
              "8000",
              "9000",
              "10000"
            ],
            "type": "string",
            "description": "Only listings at or above this living area."
          },
          "maxSqft": {
            "title": "Max living area (sq ft)",
            "enum": [
              "200",
              "500",
              "750",
              "1000",
              "1250",
              "1500",
              "1750",
              "3000",
              "3250",
              "3500",
              "4000",
              "5000",
              "6000",
              "7000",
              "8000",
              "9000",
              "10000"
            ],
            "type": "string",
            "description": "Only listings at or below this living area."
          },
          "minAcreage": {
            "title": "Min lot size (acres)",
            "enum": [
              "0.0229568",
              "0.04591368",
              "0.06887052",
              "0.09182736",
              "0.1147842",
              "0.1492195",
              "0.1836547",
              "0.21809",
              "0.25",
              "0.5",
              "1",
              "2",
              "3",
              "4",
              "5",
              "10",
              "20",
              "50",
              "100"
            ],
            "type": "string",
            "description": "Only listings with a lot size at or above this many acres."
          },
          "maxAcreage": {
            "title": "Max lot size (acres)",
            "enum": [
              "0.0229568",
              "0.04591368",
              "0.06887052",
              "0.09182736",
              "0.1147842",
              "0.1492195",
              "0.1836547",
              "0.21809",
              "0.25",
              "0.5",
              "1",
              "2",
              "3",
              "4",
              "5",
              "10",
              "20",
              "50",
              "100"
            ],
            "type": "string",
            "description": "Only listings with a lot size at or below this many acres."
          },
          "minYearBuilt": {
            "title": "Min year built",
            "enum": [
              "1960",
              "1970",
              "1980",
              "1985",
              "1990",
              "1995",
              "2000",
              "2005",
              "2010",
              "2015",
              "2020",
              "2021",
              "2022",
              "2023",
              "2024",
              "2025",
              "2026"
            ],
            "type": "string",
            "description": "Only listings built in or after this year."
          },
          "maxYearBuilt": {
            "title": "Max year built",
            "enum": [
              "1960",
              "1970",
              "1980",
              "1985",
              "1990",
              "1995",
              "2000",
              "2005",
              "2010",
              "2015",
              "2020",
              "2021",
              "2022",
              "2023",
              "2024",
              "2025",
              "2026"
            ],
            "type": "string",
            "description": "Only listings built in or before this year."
          },
          "sortBy": {
            "title": "Sort order (mode=search)",
            "enum": [
              "newest",
              "priceHighToLow",
              "priceLowToHigh"
            ],
            "type": "string",
            "description": "Order in which listings are returned/paginated."
          },
          "includeFullDetails": {
            "title": "Include full listing details",
            "type": "boolean",
            "description": "Fetch the full property detail (description, taxes, HOA, schools, appliances, all photos) for every search result. Slower — makes one extra request per listing.",
            "default": false
          },
          "maxItems": {
            "title": "Max items",
            "minimum": 1,
            "maximum": 1000,
            "type": "integer",
            "description": "Hard cap on emitted records.",
            "default": 30
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}