{
  "openapi": "3.0.1",
  "info": {
    "title": "Crexi Scraper: Commercial Real Estate Listings & Auctions",
    "description": "Crexi scraper for US commercial real estate: multifamily, retail, industrial, office, land and hospitality for sale, for lease or at auction. Asking price, size, price per sq ft, address, map point, brokerage and dates in one table. Up to 5,000 per run, or a daily new-listings feed.",
    "version": "0.1",
    "x-build-id": "s2t2YThoTDv8jOFG7"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/automatic~crexi-commercial-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-automatic-crexi-commercial-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/automatic~crexi-commercial-scraper/runs": {
      "post": {
        "operationId": "runs-sync-automatic-crexi-commercial-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/automatic~crexi-commercial-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-automatic-crexi-commercial-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": {
          "transactionType": {
            "title": "Listings",
            "enum": [
              "sale",
              "lease",
              "auction"
            ],
            "type": "string",
            "description": "For sale (including auctions), for lease, or auctions only.",
            "default": "sale"
          },
          "locations": {
            "title": "Locations",
            "maxItems": 20,
            "type": "array",
            "description": "US states, cities, counties or ZIP codes, one per line: TX, Texas, Austin, TX, Travis County, TX, 78701. Each location is its own search; a location that can't be read or has no listings is skipped and listed in the run summary. Leave empty for the whole US.",
            "items": {
              "type": "string"
            }
          },
          "startUrls": {
            "title": "Crexi search links",
            "maxItems": 10,
            "type": "array",
            "description": "Optional. Paste up to 10 crexi.com search pages, for example https://www.crexi.com/properties/TX/Austin/Retail or a /properties?... link with filters. Each link keeps its own filters. Map-area links and single listing pages are skipped with a reason.",
            "items": {
              "type": "object",
              "required": [
                "url"
              ],
              "properties": {
                "url": {
                  "type": "string",
                  "title": "URL of a web page",
                  "format": "uri"
                }
              }
            }
          },
          "propertyTypes": {
            "title": "Property types",
            "type": "array",
            "description": "Leave empty for all types. Lease listings offer Retail, Office, Industrial, Land, Restaurant and Special Purpose.",
            "items": {
              "type": "string",
              "enum": [
                "Retail",
                "Multifamily",
                "Office",
                "Industrial",
                "Hospitality",
                "Mixed Use",
                "Land",
                "Self Storage",
                "Mobile Home Park",
                "Senior Living",
                "Special Purpose",
                "Note/Loan",
                "Business for Sale",
                "Restaurant"
              ]
            }
          },
          "propertySubtypes": {
            "title": "Property subtypes (sale and auction)",
            "type": "array",
            "description": "Optional, for example Gas Station, QSR/Fast Food, Medical Office, Warehouse, Apartment Building.",
            "items": {
              "type": "string",
              "enum": [
                "Student Housing",
                "Single Family Rental Portfolio",
                "RV Park",
                "Apartment Building",
                "Bank",
                "Convenience Store",
                "Day Care/Nursery",
                "QSR/Fast Food",
                "Gas Station",
                "Grocery Store",
                "Pharmacy/Drug",
                "Restaurant",
                "Bar",
                "Storefront",
                "Shopping Center",
                "Auto Shop",
                "Traditional Office",
                "Executive Office",
                "Medical Office",
                "Creative Office",
                "Distribution",
                "Flex",
                "Warehouse",
                "R&D",
                "Manufacturing",
                "Refrigerated/Cold Storage",
                "Hotel",
                "Motel",
                "Casino",
                "Agricultural",
                "Residential",
                "Commercial",
                "Industrial",
                "Islands",
                "Farm",
                "Ranch",
                "Timber",
                "Hunting/Recreational",
                "Telecom/Data Center",
                "Sports/Entertainment",
                "Marina",
                "Golf Course",
                "School",
                "Religious/Church",
                "Garage/Parking",
                "Car Wash",
                "Airport",
                "Business Only",
                "Business and Building"
              ]
            }
          },
          "keyword": {
            "title": "Keyword",
            "maxLength": 200,
            "type": "string",
            "description": "Optional words to search for, for example a tenant or brand such as Dollar General, Walgreens or Starbucks. Works like Crexi's search box: it matches anywhere in the listing, including its description and tenant list."
          },
          "minPrice": {
            "title": "Minimum asking price (USD)",
            "minimum": 0,
            "type": "integer",
            "description": "Sale and auction listings only. Listings without a public price are left out when a price bound is set."
          },
          "maxPrice": {
            "title": "Maximum asking price (USD)",
            "minimum": 0,
            "type": "integer",
            "description": "Sale and auction listings only."
          },
          "minCapRate": {
            "title": "Minimum cap rate (%)",
            "minimum": 0,
            "maximum": 100,
            "type": "number",
            "description": "Sale and auction listings only. Matches Crexi's own cap rate filter."
          },
          "maxCapRate": {
            "title": "Maximum cap rate (%)",
            "minimum": 0,
            "maximum": 100,
            "type": "number",
            "description": "Sale and auction listings only."
          },
          "minSquareFeet": {
            "title": "Minimum building size (sq ft)",
            "minimum": 0,
            "type": "integer",
            "description": "For sale: building size. For lease: the available space (a listing with any space in the range matches)."
          },
          "maxSquareFeet": {
            "title": "Maximum building size (sq ft)",
            "minimum": 0,
            "type": "integer",
            "description": "Same as the minimum, as an upper bound."
          },
          "opportunityZoneOnly": {
            "title": "Opportunity Zone listings only",
            "type": "boolean",
            "description": "Sale and auction listings inside a federal Opportunity Zone.",
            "default": false
          },
          "postedWithinDays": {
            "title": "Listed in the last N days",
            "minimum": 1,
            "maximum": 3650,
            "type": "integer",
            "description": "Optional. Only listings that went live on Crexi in the last N days, for example 7 for a weekly deal-flow feed."
          },
          "sort": {
            "title": "Order",
            "enum": [
              "newest",
              "recommended",
              "recentlyUpdated",
              "priceLowToHigh",
              "priceHighToLow",
              "capRateHighToLow"
            ],
            "type": "string",
            "description": "Newest first suits schedules and very large runs. Lease listings come newest first or in Crexi's recommended order.",
            "default": "newest"
          },
          "maxResults": {
            "title": "Maximum listings",
            "minimum": 1,
            "maximum": 5000,
            "type": "integer",
            "description": "Up to 5,000 listings per run, shared across your locations and links. A 1,000-listing run takes about 15 seconds. In monitor mode this is how many of the newest listings are checked each run.",
            "default": 100
          },
          "onlyNewSinceLastRun": {
            "title": "Monitor: only new or changed listings",
            "type": "boolean",
            "description": "Schedule the same input daily: the first run returns everything it checks, later runs return only listings that are new or whose price, status, offer deadline or lease terms changed (each row says what changed). Unchanged listings are not charged.",
            "default": false
          },
          "monitorName": {
            "title": "Monitor name (optional)",
            "maxLength": 64,
            "type": "string",
            "description": "Keep one monitor's memory even if you edit its filters. Without a name, each distinct set of searches and filters has its own memory."
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}