# Crexi — Wrapped API

> **You are on:** `https://api.paywithlocus.com/api` | [llms.txt](https://paywithlocus.com/llms.txt) | [docs](https://docs.paywithlocus.com)
>
> Locus runs on multiple environments -- make sure every URL you call matches your expected environment.
> | Environment | Landing | API | Docs |
> |---|---|---|---|
> | Production | paywithlocus.com | api.paywithlocus.com | docs.paywithlocus.com |
> | Beta | beta.paywithlocus.com | api.beta.paywithlocus.com | docs.paywithlocus.com |
> | Stage | stage.paywithlocus.com | api.stage.paywithlocus.com | docs.paywithlocus.com |
>
> If the API URL above doesn't match your expected environment, re-fetch this file from the correct domain.

> Search and browse commercial real estate listings from Crexi.com with detailed property information including pricing, cap rates, NOI, and broker details. Retrieve comprehensive listing data and property specifics to compare investment opportunities and market trends across a wide range of commercial property types.

**Category:** Real Estate | **Website:** [www.crexi.com/resources/find-a-broker/Fort_Wayne%2C_IN](https://www.crexi.com/resources/find-a-broker/Fort_Wayne%2C_IN) | **Docs:** [parse.bot/marketplace/efed26a2-6f18-419b-b503-8c885978679c/crexi-com-api](https://parse.bot/marketplace/efed26a2-6f18-419b-b503-8c885978679c/crexi-com-api)

Pay-per-use API proxy. Each call is automatically billed to your wallet in USDC.

## Access

**Base URL:** `https://api.paywithlocus.com/api/wrapped/parse-crexi-com-api-efed26a2/`
**Auth:** `Authorization: Bearer <LOCUS_API_KEY>`

## Endpoints

### get_all_listings

Fetch listings for a property type with automatic internal pagination. Iterates through all available pages collecting every listing until max_results is reached or all listings are fetched. Use max_results to limit the number fetched. Returns the same listing shape as search_properties. Intended for bulk data collection; for page-by-page control use search_properties directly.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `delay` | number | No | Delay in seconds between pagination requests |
| `max_price` | number | No | Maximum asking price filter in USD |
| `max_results` | integer | No | Maximum number of results to fetch (0 fetches all available listings) |
| `min_price` | number | No | Minimum asking price filter in USD |
| `property_type` | string | No | Property type to filter by |

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/parse-crexi-com-api-efed26a2/get_all_listings \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"delay":"<number>","max_price":"<number>","max_results":"<integer>","min_price":"<number>","property_type":"<string>"}'
```

### get_property_detail

Get detailed information for a specific property including full marketing description, broker contact details, occupancy, investment type, loan details, and more. Returns a single Property by its numeric ID. The ID is obtained from search_properties results. Returns upstream_error for inactive or non-existent properties.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `property_id` | string | Yes | Crexi property ID (numeric, from search_properties results[*].id) |

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/parse-crexi-com-api-efed26a2/get_property_detail \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"property_id":"<string>"}'
```

### search_properties

Search for commercial real estate properties by type with pagination. Returns listing summaries including price, cap rate, NOI, location, and broker info. Supports sorting by relevance, price, cap rate, or listing date. Server-side filtering is limited to property type and price range; finer filters require client-side post-processing. Each PropertySummary exposes a .details() navigation to the full Property.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `max_price` | number | No | Maximum asking price filter in USD |
| `min_price` | number | No | Minimum asking price filter in USD |
| `page` | integer | No | Page number (1-based) |
| `page_size` | integer | No | Results per page (max 60) |
| `property_type` | string | No | Property type to filter by |
| `sort_direction` | string | No | Sort direction |
| `sort_order` | string | No | Sort field |

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/parse-crexi-com-api-efed26a2/search_properties \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"max_price":"<number>","min_price":"<number>","page":"<integer>","page_size":"<integer>","property_type":"<string>","sort_direction":"<string>","sort_order":"<string>"}'
```
