# Crexi API Scraper (`rl1987/crexi-api-scraper`) Actor

Scrape Crexi commercial real estate: search listings for sale or lease by keyword, location, property type, price and size, with full listing detail (cap rate, size, address, brokers) and auction details. Read-only public data, no account.

- **URL**: https://apify.com/rl1987/crexi-api-scraper.md
- **Developed by:** [R.L.](https://apify.com/rl1987) (community)
- **Categories:**
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $1.00 / 1,000 listing row — basic data

This Actor is paid per event and usage. You are charged both the fixed price for specific events and for Apify platform usage.

Learn more: https://docs.apify.com/actors/running/actors-in-store.md#pay-per-event

## What's an Apify Actor?

Actors are web data automations that power AI and operations. They run on the Apify platform to scrape websites, process data, connect APIs, and automate workflows.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.
Actors are written with capital "A".

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.
The best way to integrate Actors is as follows.

- **AI agents and MCP clients** — the [Apify MCP server](https://docs.apify.com/integrations/mcp.md) at `https://mcp.apify.com` (remote, streamable HTTP, OAuth on first use).
- **Agentic workflows and local Actor development** — [Agent Skills](https://apify.com/.well-known/agent-skills/index.json) with the [Apify CLI](https://docs.apify.com/cli/docs.md): `npm install -g apify-cli`, then `apify login`.
- **JavaScript/TypeScript projects** — the official [JS/TS client](https://docs.apify.com/api/client/js/docs.md): `npm install apify-client`.
- **Python projects** — the official [Python client](https://docs.apify.com/api/client/python/docs.md): `pip install apify-client`.
- **Any other language** — the [REST API](https://docs.apify.com/api/v2.md).

For usage examples, see the [API](#api) section below.

For more details, see Apify documentation as [Markdown index](https://docs.apify.com/llms.txt) and [Markdown full-text](https://docs.apify.com/llms-full.txt).

# README

## Crexi Scraper – Commercial Real Estate Listings & Auctions API

Extract **commercial real estate data** from **Crexi** — the leading US commercial property
marketplace — as clean, structured JSON. Search properties **for sale or for lease** by keyword,
location, property type, price and size; pull **full listing detail** (cap rate, size, address,
photos, brokers); and read **auction** details. Read-only public data, **no account**.

Fast and structured — reads Crexi's own mobile API directly, so you get complete records with no
HTML parsing and no headless browser. Export to **JSON, CSV, Excel, or the API**.

### 🏢 What this Crexi scraper does

- 🔎 **Search** sale or lease listings by keyword/location, property type, price and size.
- 📄 **Full listing detail** — cap rate, subtypes, lot size, year built, units, description, and
  **all photos**.
- 👤 **Brokers** — name, brokerage (+ address), license and public Crexi profile link. *(Crexi does not expose broker phone/email publicly — contact is via an in-platform form.)*
- 🔨 **Auctions** — auction status, starting/minimum bid, timing and fees.

### 💡 Use cases

- **CRE market research** — inventory, asking prices and cap rates by market and type.
- **Deal sourcing** — monitor new listings and auctions across the US.
- **Lead generation** — build broker/brokerage lists (name, brokerage, license, Crexi profile) with their live inventory.
- **Investment analysis** — feed comparable listings into your underwriting models.

### 🧭 Modes — input & output examples

#### 1. Search listings

Input:

```json
{ "mode": "search", "listingType": "sale", "term": "warehouse",
  "states": ["TX"], "minPrice": 500000, "sortOrder": "Price", "maxItems": 200 }
```

Output (one row per listing):

```json
{ "id": 1434339, "name": "2600 Church Street", "asking_price": 660000.0,
  "size_sqft": 16500, "types": ["Land"], "status": "On-Market",
  "city": "Gonzales", "state": "Texas", "zip": "78629",
  "latitude": 29.5, "longitude": -97.45, "brokerage": "Coldwell Banker D'Ann Harper, Realtors",
  "url": "https://www.crexi.com/properties/1434339/texas-2600-church-street" }
```

*(add `includeDetails: true` for cap rate, subtypes, description and **all photos**; `includeBrokers: true` for broker contact — see below.)*

#### 2. Listing details (by ID) — with photos & brokers

Input:

```json
{ "mode": "assetDetail", "assetIds": ["2347800"], "includeBrokers": true }
```

Output:

```json
{ "id": 2347800, "name": "1020 S Guadalupe, Lockhart TX", "asking_price": 455000.0,
  "cap_rate": null, "subtypes": ["Traditional Office", "Medical Office", "Creative Office"],
  "description": "A versatile commercial building …", "size_sqft": 6869,
  "images": ["https://crexi.com/images/.../a.jpg", "…"],
  "brokers": [ { "name": "Jane Broker", "brokerage": "Link Realty, LLC",
                 "brokerage_address": "102 W Gurley St, Prescott, AZ", "license": "0123456",
                 "is_platinum": true, "profile_url": "https://www.crexi.com/profile/janeb" } ],
  "url": "https://www.crexi.com/properties/2347800/…" }
```

#### 3. Auction details (by ID)

Input:

```json
{ "mode": "auction", "auctionIds": ["2685461"] }
```

Output:

```json
{ "id": 2685461, "property_name": "±84,210 SF Multi-Tenant Office Building on 3.35 Acres",
  "status": "BidderRegistration", "type": "Standard",
  "starting_bid": 2000000.0, "minimum_bid": 2000000.0,
  "ends_on": "2026-10-21T16:00:00Z", "reserve_met": false }
```

*(Auction **bid history** is per-user and account-gated on Crexi — out of scope.)*

### 💳 Pricing

Pay per result:

| Event | When | Price |
|-------|------|-------|
| **Listing row** | per listing/auction returned | $0.001 |
| **Listing details** | additionally per listing when full details, photos or brokers are fetched | $0.0005 |

### ❓ FAQ

**Do I need a Crexi account?** No — this uses only the public, read-only surface.

**Sale and lease both?** Yes — set `listingType` to `sale` or `lease`.

**Can I get an individual listing by ID?** Yes — use `assetDetail` mode with `assetIds` (the number
in a listing URL).

### 🛟 Support

Questions or a field you'd like added? Open an issue and we'll help.

# Actor input Schema

## `mode` (type: `string`):

Search commercial listings; fetch full detail for given listing IDs; or fetch auction details for given auction IDs.

## `listingType` (type: `string`):

Search sale listings (api.crexi.com) or lease listings (api-lease.crexi.com).

## `term` (type: `string`):

Free-text search — a keyword, address, city or ZIP (e.g. 'warehouse', 'Austin TX').

## `propertyTypes` (type: `array`):

Optional filter — select one or more commercial property types.

## `states` (type: `array`):

Optional filter — select one or more US states.

## `cities` (type: `array`):

Optional city names.

## `minPrice` (type: `integer`):

Optional minimum asking price.

## `maxPrice` (type: `integer`):

Optional maximum asking price.

## `minSqft` (type: `integer`):

Optional minimum building size.

## `maxSqft` (type: `integer`):

Optional maximum building size.

## `auctionsOnly` (type: `boolean`):

Return only auction listings.

## `sortOrder` (type: `string`):

Optional result ordering.

## `sortDirection` (type: `string`):

Sort direction (used with Sort by).

## `includeDetails` (type: `boolean`):

For each result, also fetch the full listing (cap rate, subtypes, lot size, year built, units, description) and all photos, merged in. Adds requests per listing.

## `includeBrokers` (type: `boolean`):

For each result, also fetch the listing brokers — name, brokerage (+ address), license and public Crexi profile link. (Crexi does not expose broker phone/email publicly.) Adds one request per listing.

## `maxItems` (type: `integer`):

Roughly how many listings to return (0 = no limit). Pages are 50.

## `maxConcurrency` (type: `integer`):

Max requests in parallel.

## `maxRequestRetries` (type: `integer`):

Retries per request.

## `maxSessionRotations` (type: `integer`):

Retries for a blocked status.

## `assetIds` (type: `array`):

Listing-details mode: Crexi listing IDs (the number in a listing URL).

## `auctionIds` (type: `array`):

Auction-details mode: Crexi auction IDs.

## `proxyConfiguration` (type: `object`):

Optional. Crexi's API is not bot-gated; a US IP is recommended.

## Actor input object example

```json
{
  "mode": "search",
  "listingType": "sale",
  "term": "warehouse",
  "propertyTypes": [],
  "states": [],
  "cities": [],
  "auctionsOnly": false,
  "sortDirection": "Descending",
  "includeDetails": false,
  "includeBrokers": false,
  "maxItems": 100,
  "maxConcurrency": 5,
  "maxRequestRetries": 5,
  "maxSessionRotations": 10,
  "assetIds": [],
  "auctionIds": [],
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}
```

# Actor output Schema

## `results` (type: `string`):

No description

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {
    "term": "warehouse",
    "cities": []
};

// Run the Actor and wait for it to finish
const run = await client.actor("rl1987/crexi-api-scraper").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = {
    "term": "warehouse",
    "cities": [],
}

# Run the Actor and wait for it to finish
run = client.actor("rl1987/crexi-api-scraper").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
for item in client.dataset(run.default_dataset_id).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "term": "warehouse",
  "cities": []
}' |
apify call rl1987/crexi-api-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,rl1987/crexi-api-scraper"
        }
    }
}

```

The hosted server signs you in with OAuth on first connect, so no API token belongs in this config. Clients without OAuth support can send an `Authorization: Bearer <APIFY_API_TOKEN>` header instead, using a token from API & Integrations in Apify Console (https://console.apify.com/settings/integrations).

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/NCTm9tMfKiSMJEPqj/builds/niN8D0dmdFHnzZnyw/openapi.json
