{
  "openapi": "3.0.1",
  "info": {
    "title": "Century 21 Listings & Property Detail Finder",
    "description": "Find Century 21 homes for sale or rent by city, county, neighborhood, or ZIP with price and size filters, or look up a property by address with photos, agent, schools, taxes, and HOA details.",
    "version": "1.0",
    "x-build-id": "9uN11LrG2PVZf7Dux"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/dataspryva~century-21-listings-and-property-detail-finder/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-dataspryva-century-21-listings-and-property-detail-finder",
        "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/dataspryva~century-21-listings-and-property-detail-finder/runs": {
      "post": {
        "operationId": "runs-sync-dataspryva-century-21-listings-and-property-detail-finder",
        "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/dataspryva~century-21-listings-and-property-detail-finder/run-sync": {
      "post": {
        "operationId": "run-sync-dataspryva-century-21-listings-and-property-detail-finder",
        "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",
              "byUrl",
              "byAddress",
              "byListingId"
            ],
            "type": "string",
            "description": "What to fetch. `search` resolves a place and pages its listings; `byUrl` reads pasted Century 21 search or listing URLs; `byAddress` requires an exact street-address match; `byListingId` accepts IDs or listing URLs.",
            "default": "search"
          },
          "startUrls": {
            "title": "Century 21 URLs (mode=byUrl)",
            "type": "array",
            "description": "Paste Century 21 search URLs (e.g. https://www.century21.com/homes/list/city/tx/austin) or listing URLs. Search URLs honour their type/state/area path and query filters; listing URLs fetch full details.",
            "items": {
              "type": "object",
              "properties": {
                "url": {
                  "type": "string",
                  "title": "URL",
                  "description": "Century 21 search or listing URL"
                }
              },
              "required": [
                "url"
              ]
            },
            "default": []
          },
          "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. Rentals use Century 21's rental index."
          },
          "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 Active + Pending + Coming soon. Sold, Expired and Inactive are also available from Century 21's public index. Applied to rentals too when set.",
            "items": {
              "type": "string",
              "enum": [
                "ACTIVE",
                "PENDING",
                "COMING_SOON",
                "EXPIRED",
                "INACTIVE",
                "WITHDRAWN",
                "SOLD",
                "RENTED",
                "CANCELED"
              ],
              "enumTitles": [
                "Active",
                "Pending / Under contract",
                "Coming soon",
                "Expired",
                "Inactive",
                "Withdrawn",
                "Sold",
                "Rented",
                "Canceled"
              ]
            },
            "default": []
          },
          "hasOpenHouses": {
            "title": "Has open house (mode=search)",
            "type": "boolean",
            "description": "Only listings with an upcoming open house.",
            "default": false
          },
          "isNewConstruction": {
            "title": "New construction only (mode=search)",
            "type": "boolean",
            "description": "Only new-construction listings.",
            "default": false
          },
          "isVirtualTourAvailable": {
            "title": "Has virtual tour (mode=search)",
            "type": "boolean",
            "description": "Only listings with a virtual tour.",
            "default": false
          },
          "luxuryOnly": {
            "title": "Luxury listings only (mode=search)",
            "type": "boolean",
            "description": "Only Century 21 Fine Homes & Estates luxury listings.",
            "default": false
          },
          "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."
          },
          "daysOnMarket": {
            "title": "Listed within (mode=search)",
            "enum": [
              "1",
              "7",
              "14",
              "30",
              "60",
              "90"
            ],
            "type": "string",
            "description": "Only listings added to the market within this many days."
          },
          "minBedrooms": {
            "title": "Min bedrooms",
            "enum": [
              "0",
              "1",
              "2",
              "3",
              "4",
              "5"
            ],
            "type": "string",
            "description": "Only listings with at least this many bedrooms (0 = studio)."
          },
          "maxBedrooms": {
            "title": "Max bedrooms",
            "enum": [
              "0",
              "1",
              "2",
              "3",
              "4",
              "5"
            ],
            "type": "string",
            "description": "Only listings with at most this many bedrooms."
          },
          "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": 5000,
            "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
                  },
                  "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}