{
  "openapi": "3.0.1",
  "info": {
    "title": "Crexi Scraper — CRE Listings, Financials & Broker Leads",
    "description": "Scrape Crexi commercial real estate: for-sale listings, property details, financials, and broker contact leads via Crexi's public API. MCP/API-ready.",
    "version": "1.1",
    "x-build-id": "2ouP78TGndLRp2J52"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/khadinakbar~crexi-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-khadinakbar-crexi-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/khadinakbar~crexi-scraper/runs": {
      "post": {
        "operationId": "runs-sync-khadinakbar-crexi-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/khadinakbar~crexi-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-khadinakbar-crexi-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": {
          "states": {
            "title": "States",
            "type": "array",
            "description": "Use when the user names US states (two-letter codes, e.g. ['TX','FL']). Leave empty for all of the US. Combine with propertyTypes and price/cap-rate filters.",
            "items": {
              "type": "string",
              "enum": [
                "AL",
                "AK",
                "AZ",
                "AR",
                "CA",
                "CO",
                "CT",
                "DE",
                "FL",
                "GA",
                "HI",
                "ID",
                "IL",
                "IN",
                "IA",
                "KS",
                "KY",
                "LA",
                "ME",
                "MD",
                "MA",
                "MI",
                "MN",
                "MS",
                "MO",
                "MT",
                "NE",
                "NV",
                "NH",
                "NJ",
                "NM",
                "NY",
                "NC",
                "ND",
                "OH",
                "OK",
                "OR",
                "PA",
                "RI",
                "SC",
                "SD",
                "TN",
                "TX",
                "UT",
                "VT",
                "VA",
                "WA",
                "WV",
                "WI",
                "WY",
                "DC"
              ]
            },
            "default": []
          },
          "cities": {
            "title": "Cities",
            "type": "array",
            "description": "Optional city names inside the chosen states (e.g. ['Austin']). Use together with a state code.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "zips": {
            "title": "ZIP codes",
            "type": "array",
            "description": "Optional 5-digit ZIP codes (e.g. ['78701']). Use when the user wants one neighbourhood.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "propertyTypes": {
            "title": "Property types",
            "type": "array",
            "description": "Restrict to these Crexi categories (e.g. ['Multifamily','Retail']). Leave empty for all types. Ignored when startUrls is set.",
            "items": {
              "type": "string",
              "enum": [
                "Retail",
                "Office",
                "Multifamily",
                "Industrial",
                "Land",
                "Hospitality",
                "Special Purpose",
                "Mixed Use",
                "Self Storage",
                "Business for Sale",
                "Mobile Home Park",
                "Senior Living"
              ]
            },
            "default": []
          },
          "askingPriceMin": {
            "title": "Minimum asking price (USD)",
            "minimum": 0,
            "type": "integer",
            "description": "Only listings asking at least this price in US dollars. Listings with no published price are left out when a price or cap-rate filter is set."
          },
          "askingPriceMax": {
            "title": "Maximum asking price (USD)",
            "minimum": 0,
            "type": "integer",
            "description": "Only listings asking at most this price in US dollars."
          },
          "capRateMin": {
            "title": "Minimum cap rate (%)",
            "minimum": 0,
            "type": "number",
            "description": "Only listings with a cap rate of at least this percent (e.g. 6). Use for investors screening income deals."
          },
          "capRateMax": {
            "title": "Maximum cap rate (%)",
            "minimum": 0,
            "type": "number",
            "description": "Only listings with a cap rate of at most this percent."
          },
          "unitsMin": {
            "title": "Minimum units",
            "minimum": 0,
            "type": "integer",
            "description": "Only listings with at least this many units (apartments, mobile-home pads, storage units)."
          },
          "sortBy": {
            "title": "Sort order",
            "enum": [
              "priceLowToHigh",
              "priceHighToLow"
            ],
            "type": "string",
            "description": "'priceLowToHigh' (default) or 'priceHighToLow' by asking price.",
            "default": "priceLowToHigh"
          },
          "includeUnpriced": {
            "title": "Include listings with no public price",
            "type": "boolean",
            "description": "Add listings whose asking price is hidden (call for offers, auctions) after the priced ones. Ignored when a price or cap-rate filter is set.",
            "default": true
          },
          "maxResults": {
            "title": "Max results",
            "minimum": 1,
            "maximum": 100000,
            "type": "integer",
            "description": "Maximum rows this run delivers and charges for (1 to 100,000). Free plan: 25. Memory is chosen from this number at start, so set it to what you need.",
            "default": 30
          },
          "startUrls": {
            "title": "Crexi property URLs or ids (detail mode)",
            "type": "array",
            "description": "Use when the user gives specific Crexi property links (e.g. https://www.crexi.com/properties/2610175/slug) or numeric ids. The Actor then reads exactly these properties and ignores the filters.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "enrichDetails": {
            "title": "Full property details",
            "type": "boolean",
            "description": "Add financials, year built, zoning, APN, lot size, highlights and description (one extra request per property). Charged as 'detail-enriched'. Some financial values are hidden by Crexi for logged-out visitors; those come back empty and are listed in hiddenByCrexi.",
            "default": true
          },
          "includeBrokers": {
            "title": "Listing broker leads",
            "type": "boolean",
            "description": "Add the listing broker(s): name, brokerage, website, licenses, profile link and number of active listings. Crexi does not publish broker phone or email.",
            "default": true
          },
          "includePhotos": {
            "title": "Photo gallery",
            "type": "boolean",
            "description": "Add full-size photo links for each property. Included in the detail price.",
            "default": true
          },
          "monitorMode": {
            "title": "Monitor mode (what changed)",
            "type": "boolean",
            "description": "Return only listings that are new, changed price, were updated, or disappeared since the last run with the same filters (changeType = new, price_changed, updated, gone). Unchanged listings are not returned and not charged. The first run returns everything as 'new'.",
            "default": false
          },
          "monitorKey": {
            "title": "Monitor name (optional)",
            "type": "string",
            "description": "Optional name to keep several monitors apart when you reuse the same filters. Leave empty to use the filters themselves."
          },
          "proxyConfiguration": {
            "title": "Proxy configuration",
            "type": "object",
            "description": "Leave as is: the Actor connects directly and only falls back to Apify proxies by itself if Crexi stops answering. Choose an Apify proxy here only to force it.",
            "default": {
              "useApifyProxy": false
            }
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}