# Crexi Search API Documentation

Search Crexi listings for sale across the United States. Filter by state, property type, trading status (use Auction for live auctions), price, cap rate and an optional map bounding box (all four bounds or none). Sort by rank, price, activation date, update date or time remaining. Paginate with page and per_page; Crexi serves at most the first 1499 results of a query, so narrow the filters instead of paging deeper. total can drift by one between calls, so stop on an empty results array. A query with no matches returns an empty results array and is a successful, billable response.

- **Documentation:** [https://scrappa.co/docs/crexi-api/crexi_search](https://scrappa.co/docs/crexi-api/crexi_search)
- **API group:** Crexi API
- **Endpoint:** `GET https://scrappa.co/api/crexi/search`

## Authentication

Send your Scrappa API key in the `X-API-KEY` request header. Paid endpoints also support accountless x402 payments when called without an API key.

## Parameters

| Parameter | Type | Required | Description |
| --- | --- | --- | --- |
| `state` | string | No | Comma list of 2-letter US state codes, for example TX or TX,FL. |
| `property_type` | string | No | Comma list of: Retail, Multifamily, Office, Industrial, Hospitality, Mixed Use, Land, Self Storage, Mobile Home Park, RV Park, Senior Living, Special Purpose, Residential, General Commercial. |
| `trading_status` | string | No | Comma list of: On-Market, Auction, Call For Offers, Highest & Best. |
| `min_price` | number | No | Minimum asking price in USD. |
| `max_price` | number | No | Maximum asking price in USD. |
| `min_cap_rate` | number | No | Minimum cap rate in percent. |
| `min_latitude` | number | No | Bounding box south edge. Send all four bounds or none. |
| `max_latitude` | number | No | Bounding box north edge. |
| `min_longitude` | number | No | Bounding box west edge. |
| `max_longitude` | number | No | Bounding box east edge. |
| `include_unpriced` | boolean | No | Include listings without an asking price. Defaults to true. |
| `sort` | string | No | rank, price, activated_on, updated_on or time_remaining. Defaults to rank. |
| `order` | string | No | asc or desc. Defaults to desc, or asc for time_remaining. |
| `page` | integer | No | 1-based page number. Defaults to 1. |
| `per_page` | integer | No | Results per page, 1 to 50. Defaults to 25. |

## Example request

```bash
#!/bin/bash

curl -X GET \
    -H "x-api-key: YOUR_API_KEY_HERE" \
    "https://scrappa.co/api/crexi/search?state=TX&trading_status=Auction&sort=time_remaining&per_page=3"
```

## Example response

```json
{
    "success": true,
    "data": {
        "total": 16,
        "page": 1,
        "per_page": 3,
        "results": [
            {
                "id": 2732214,
                "name": "San Antonio Express Car Wash - Scrub-a-Doo",
                "url": "https://www.crexi.com/properties/2732214/texas-san-antonio-express-car-wash-scrub-a-doo",
                "status": "Auction",
                "property_types": [
                    "Special Purpose"
                ],
                "asking_price": 500000,
                "currency": "USD",
                "square_footage": 4411,
                "address": {
                    "street": "8050 Culebra Road",
                    "city": "San Antonio",
                    "county": "Bexar County",
                    "state_code": "TX",
                    "state": "Texas",
                    "zip": "78251",
                    "latitude": 29.46587805,
                    "longitude": -98.64623452
                },
                "brokerage_name": "Attlee Realty LLC",
                "offers_due_on": "2026-11-18T20:00:00Z",
                "activated_on": "2026-10-07T18:53:24Z",
                "updated_on": "2026-10-13T16:29:06Z",
                "has_om": true
            }
        ]
    },
    "meta": {
        "endpoint_family": "search",
        "billable": true
    }
}
```

## Errors

| Status | Error | Description |
| --- | --- | --- |
| 404 | Not Found | No active Crexi record exists for the id (unknown, inactive, or not an auction for the auction endpoint). Not billable. |
| 422 | Validation Error | A parameter is invalid, including a page window beyond what Crexi serves or a filter combination Crexi rejects. Not billable. |
| 503 | Service Unavailable | The service could not obtain a complete result from Crexi. Not billable. |

## More Scrappa resources

- [API documentation](https://scrappa.co/docs)
- [Full LLM-readable API reference](https://scrappa.co/llms-full.txt)
- [OpenAPI specification](https://scrappa.co/docs/api.json)
- [Pricing](https://scrappa.co/pricing)
