{
  "openapi": "3.0.1",
  "info": {
    "title": "Crexi Scraper [💰$3.5/1K] | Commercial CRE | Broker Leads",
    "description": "Extract commercial real estate listings and broker data from Crexi for investment research and lead generation. Build CRE deal pipelines and broker contact datasets.",
    "version": "2.1",
    "x-build-id": "YtUt9irSqZfkvYlH8"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/ahmed_jasarevic~crexi-property-broker-data-scraper-pro/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-ahmed_jasarevic-crexi-property-broker-data-scraper-pro",
        "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/ahmed_jasarevic~crexi-property-broker-data-scraper-pro/runs": {
      "post": {
        "operationId": "runs-sync-ahmed_jasarevic-crexi-property-broker-data-scraper-pro",
        "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/ahmed_jasarevic~crexi-property-broker-data-scraper-pro/run-sync": {
      "post": {
        "operationId": "run-sync-ahmed_jasarevic-crexi-property-broker-data-scraper-pro",
        "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": {
          "dealType": {
            "title": "1️⃣ For sale or for lease?",
            "enum": [
              "buy",
              "lease"
            ],
            "type": "string",
            "description": "Labels the collected rows as sale or lease. Crexi's search API has no working deal-type filter, so this does not narrow the result set; check the 'dealType' column in the output.",
            "default": "buy"
          },
          "propertyTypes": {
            "title": "Property types",
            "type": "array",
            "description": "Select one or more asset classes. Leave empty to keep all asset classes eligible.",
            "items": {
              "type": "string",
              "enum": [
                "Retail",
                "Multifamily",
                "Office",
                "Industrial",
                "Hospitality",
                "Mixed Use",
                "Land",
                "Self Storage",
                "Mobile Home Park",
                "Senior Living",
                "Special Purpose",
                "Healthcare",
                "Note/Loan",
                "Student Housing",
                "Hotel"
              ]
            }
          },
          "states": {
            "title": "States",
            "type": "array",
            "description": "Select one or more US states. State codes are sent to Crexi, so it returns matching listings directly; every record is still checked before it is saved. Leave empty to keep every state.",
            "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"
              ]
            }
          },
          "keyword": {
            "title": "Keyword",
            "type": "string",
            "description": "Optional free-text filter, for example <code>strip mall</code> or <code>medical office</code>. Leave empty to collect everything matching the other filters."
          },
          "startUrls": {
            "title": "2️⃣ Crexi search URLs",
            "type": "array",
            "description": "Paste one or more Crexi search URLs. A Crexi search page looks like <code>https://www.crexi.com/properties?placeIds[]=...</code>. Single property pages such as <code>https://www.crexi.com/properties/12345678/name</code> are supported too. A pasted URL always overrides the filters you selected in step 1.",
            "items": {
              "type": "object",
              "properties": {
                "url": {
                  "type": "string",
                  "title": "URL",
                  "description": "Crexi search or property page URL."
                }
              },
              "required": [
                "url"
              ]
            }
          },
          "askingPriceMin": {
            "title": "3️⃣ Filter results",
            "minimum": 0,
            "type": "integer",
            "description": "Lowest asking price to include, in USD. Applies to for-sale listings."
          },
          "askingPriceMax": {
            "title": "Max asking price (USD)",
            "minimum": 0,
            "type": "integer",
            "description": "Highest asking price to include, in USD."
          },
          "capRateMin": {
            "title": "Min cap rate (%)",
            "type": "number",
            "description": "Lowest capitalization rate to include. Leave empty for listings that do not publish one."
          },
          "capRateMax": {
            "title": "Max cap rate (%)",
            "type": "number",
            "description": "Highest capitalization rate to include."
          },
          "pricePerSFMin": {
            "title": "Min price per sq ft (USD)",
            "minimum": 0,
            "type": "integer",
            "description": "Lowest price per square foot to include. Crexi's search endpoint ignores this filter, so the Actor applies it to each listing before saving it."
          },
          "pricePerSFMax": {
            "title": "Max price per sq ft (USD)",
            "minimum": 0,
            "type": "integer",
            "description": "Highest price per square foot to include. Applied by the Actor, not by Crexi's search endpoint."
          },
          "squareFootageMin": {
            "title": "Min building size (sq ft)",
            "minimum": 0,
            "type": "integer",
            "description": "Smallest building or unit size to include, in square feet. Applied by the Actor, not by Crexi's search endpoint."
          },
          "squareFootageMax": {
            "title": "Max building size (sq ft)",
            "minimum": 0,
            "type": "integer",
            "description": "Largest building or unit size to include, in square feet. Applied by the Actor, not by Crexi's search endpoint."
          },
          "sortOrder": {
            "title": "Sort by",
            "enum": [
              "rank",
              "price",
              "activatedOn",
              "updatedOn",
              "sqft",
              "capRate"
            ],
            "type": "string",
            "description": "Choose which listings Crexi returns first. <b>Rank</b> means most relevant for your filters.",
            "default": "rank"
          },
          "sortDirection": {
            "title": "Sort direction",
            "enum": [
              "Ascending",
              "Descending"
            ],
            "type": "string",
            "description": "Sort ascending or descending.",
            "default": "Descending"
          },
          "includeUnpriced": {
            "title": "Include listings without a price",
            "type": "boolean",
            "description": "On by default. Turn off to collect only listings that publish an asking price or lease rate.",
            "default": true
          },
          "fetchDetails": {
            "title": "4️⃣ Add-on data",
            "type": "boolean",
            "description": "Add year built, zoning, APN, lease terms, net operating income, amenities and the full marketing description. Costs one extra API call per listing.",
            "default": false
          },
          "includeBrokers": {
            "title": "📇 Include listing brokers",
            "type": "boolean",
            "description": "Add every broker on the listing: name, brokerage, license numbers and Crexi profile link. Costs one extra API call per listing.",
            "default": false
          },
          "includeGallery": {
            "title": "🖼️ Include photo gallery",
            "type": "boolean",
            "description": "Add the full-size URL of every photo in the listing. Costs one extra API call per listing.",
            "default": false
          },
          "maxItems": {
            "title": "5️⃣ How many listings?",
            "minimum": 1,
            "maximum": 25000,
            "type": "integer",
            "description": "Maximum number of listings to collect. The run stops early when Crexi runs out of matching listings.",
            "default": 100
          },
          "maxConcurrency": {
            "title": "Parallel requests",
            "minimum": 1,
            "maximum": 20,
            "type": "integer",
            "description": "How many add-on requests to send at the same time. Only relevant when you enable add-on data. Raise it for large runs, lower it if you hit rate limits.",
            "default": 5
          },
          "maxRequestRetries": {
            "title": "Max request retries",
            "minimum": 1,
            "maximum": 10,
            "type": "integer",
            "description": "How many times a failing request is retried before the run gives up.",
            "default": 3
          },
          "requestTimeoutSeconds": {
            "title": "Request timeout (seconds)",
            "minimum": 5,
            "maximum": 120,
            "type": "integer",
            "description": "How long to wait for a single API response before retrying.",
            "default": 30
          },
          "proxyConfiguration": {
            "title": "6️⃣ Proxy",
            "type": "object",
            "description": "Proxy settings used for all requests. Apify Proxy is used by default."
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}