{
  "openapi": "3.0.1",
  "info": {
    "title": "Crexi Property Listing",
    "description": "Get Crexi commercial real estate listings as flat JSON. Filter 230,000+ US properties by state, city, ZIP, county, sale status, price, size, and year built. Each record has full address, coordinates, asking price, brokerage, photo, and Crexi link, ready for Excel, SQL, or any BI tool.",
    "version": "0.0",
    "x-build-id": "HyNwQG91g1qJYmpnT"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/b2b_lead_generation~crexi-property-listing/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-b2b_lead_generation-crexi-property-listing",
        "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/b2b_lead_generation~crexi-property-listing/runs": {
      "post": {
        "operationId": "runs-sync-b2b_lead_generation-crexi-property-listing",
        "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/b2b_lead_generation~crexi-property-listing/run-sync": {
      "post": {
        "operationId": "run-sync-b2b_lead_generation-crexi-property-listing",
        "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": {
          "stateCode": {
            "title": "State code",
            "type": "string",
            "description": "Two-letter US state code, e.g. CA, TX, NY (case-insensitive)."
          },
          "state": {
            "title": "State name",
            "type": "string",
            "description": "Full US state name, e.g. California, Texas (case-insensitive). Alternative to State code."
          },
          "city": {
            "title": "City",
            "type": "string",
            "description": "City name. Matches across every state unless combined with State code."
          },
          "zipCode": {
            "title": "ZIP code",
            "type": "string",
            "description": "Five-digit US ZIP / postal code, e.g. 90012."
          },
          "county": {
            "title": "County",
            "type": "string",
            "description": "County name, e.g. Stanislaus County. Combine with State code to avoid cross-state name collisions."
          },
          "countyCode": {
            "title": "County FIPS code",
            "type": "string",
            "description": "County FIPS code, e.g. 6037, for exact county targeting."
          },
          "address": {
            "title": "Street address",
            "type": "string",
            "description": "Street address to match, e.g. 2930 Sperry Ave."
          },
          "status": {
            "title": "Listing status",
            "enum": [
              "for_sale",
              "call_for_offers",
              "auction",
              "sold",
              "off_market"
            ],
            "type": "string",
            "description": "Sale status of the commercial listing. Crexi uses a sale-process vocabulary: for_sale covers On-Market and Highest & Best listings; call_for_offers and auction are distinct sale mechanisms; off_market listings are no longer active."
          },
          "sortBy": {
            "title": "Sort order",
            "enum": [
              "newest_listed",
              "oldest_listed",
              "price_high_to_low",
              "price_low_to_high",
              "recently_updated"
            ],
            "type": "string",
            "description": "Order of the results. Unset returns a stable default order."
          },
          "minListPrice": {
            "title": "Minimum asking price (USD)",
            "type": "integer",
            "description": "Minimum asking price in USD, inclusive."
          },
          "maxListPrice": {
            "title": "Maximum asking price (USD)",
            "type": "integer",
            "description": "Maximum asking price in USD, inclusive."
          },
          "minSqft": {
            "title": "Minimum square footage",
            "type": "integer",
            "description": "Minimum building area in square feet, inclusive."
          },
          "maxSqft": {
            "title": "Maximum square footage",
            "type": "integer",
            "description": "Maximum building area in square feet, inclusive."
          },
          "minLotSqft": {
            "title": "Minimum lot size (sqft)",
            "type": "integer",
            "description": "Minimum lot size in square feet, inclusive. 1 acre = 43,560 sqft."
          },
          "maxLotSqft": {
            "title": "Maximum lot size (sqft)",
            "type": "integer",
            "description": "Maximum lot size in square feet, inclusive. 1 acre = 43,560 sqft."
          },
          "minYearBuilt": {
            "title": "Earliest year built",
            "type": "integer",
            "description": "Earliest construction year to include, inclusive."
          },
          "maxYearBuilt": {
            "title": "Latest year built",
            "type": "integer",
            "description": "Latest construction year to include, inclusive."
          },
          "page": {
            "title": "Start page",
            "minimum": 1,
            "type": "integer",
            "description": "API result page to start from (200 listings per page). Use together with Maximum listings to collect a specific slice, e.g. page 3 with maxItems 200 returns listings 401-600.",
            "default": 1
          },
          "maxItems": {
            "title": "Maximum listings to collect",
            "minimum": 1,
            "maximum": 1000,
            "type": "integer",
            "description": "Stop after this many listings have been pushed to the dataset. Caps the run cost.",
            "default": 100
          },
          "requestTimeoutSecs": {
            "title": "Request timeout (seconds)",
            "minimum": 5,
            "maximum": 120,
            "type": "integer",
            "description": "Timeout for each API request, in seconds.",
            "default": 30
          },
          "proxyConfiguration": {
            "title": "Proxy configuration",
            "type": "object",
            "description": "Optional proxy for the API requests. Usually unnecessary because the actor calls the BuyMLS API directly."
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}