# Crexi Lease Search API Documentation

Search space for lease across the United States. Filter by location (a state code, a "City, ST" pair or a 5-digit zip code), property type and a rate range in USD per square foot per year; the rate range matches listings whose rate range overlaps it. Sort by rank, activation date, update date, building size or rate. Each result carries the lowest and highest annual rate per square foot, the rentable size range, lease types, vacant units, brokers and the first photo. A query with no matches returns an empty results array and is a successful, billable response.

- **Documentation:** [https://scrappa.co/docs/crexi-api/crexi_lease_search](https://scrappa.co/docs/crexi-api/crexi_lease_search)
- **API group:** Crexi API
- **Endpoint:** `GET https://scrappa.co/api/crexi/lease/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 |
| --- | --- | --- | --- |
| `location` | string | No | A 2-letter state code (TX), a "City, ST" pair (Houston, TX) or a 5-digit zip code (60060). |
| `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. |
| `min_rate` | number | No | Minimum rate in USD per square foot per year. |
| `max_rate` | number | No | Maximum rate in USD per square foot per year. |
| `sort` | string | No | rank, date_activated, date_updated, building_sqft or rate. Defaults to rank. |
| `order` | string | No | asc or desc. Defaults to desc. |
| `page` | integer | No | 1-based page number. page * per_page may not exceed 9999. |
| `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/lease/search?per_page=3"
```

## Example response

```json
{
    "success": true,
    "data": {
        "total": 177720,
        "page": 1,
        "per_page": 3,
        "results": [
            {
                "id": 1000121,
                "name": "303 E Park Avenue 104",
                "url": "https://www.crexi.com/lease/properties/1000121/illinois-303-e-park-avenue-104",
                "description": "Office | Single tenant | 1,829 SqFt",
                "status": "Active",
                "property_types": [
                    "Office"
                ],
                "rate_per_sqft_year_min": 12,
                "rate_per_sqft_year_max": 12,
                "currency": "USD",
                "rentable_sqft_min": 1829,
                "rentable_sqft_max": 1829,
                "lease_types": [
                    "Net"
                ],
                "vacant_units": 1,
                "address": {
                    "street": "303 E Park Avenue 104",
                    "city": "Libertyville",
                    "state_code": "IL",
                    "state": "Illinois",
                    "zip": "60048"
                },
                "activated_on": "2024-05-07T01:42:24Z",
                "updated_on": "2026-08-14T05:40:05Z"
            }
        ]
    },
    "meta": {
        "endpoint_family": "lease_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)
