# Crexi API

Search Crexi commercial properties by state codes to obtain property details and tenant structures using listing IDs.

Unpublished asking prices do not equal zero cost.

- Request: POST https://api.everyinfra.com/api/v1/social with `{"platform": "crexi", "action": "<action>", "params": {...}}`
- Canonical page: [https://everyinfra.com/en/crexi-api](https://everyinfra.com/en/crexi-api?utm_medium=ai_doc&utm_campaign=page_md)
- Each capability uses the price recorded in the public catalog. The response includes the amount charged. Authentication failures, invalid parameters, failed calls, and empty results are not charged.

## Actions

### search — Search
Find commercial real estate for sale or lease on Crexi. Get address, asking price, square footage, property type, status, brokerage and opportunity-zone flag. A US state code in `keyword`, `state` or `states` filters by state. Price filters can still return unpriced listings.
- Sync delivery · Price: $1.39 per 1,000 requests (every 20 rows count as one call)
- Catalog values: defaultLimit=20, maxLimit=100. For some actions a limit controls pages or per-parent expansion, so it is not always the final row count.
- Parameters:
  - `keyword` (required): Serves as the required search parameter for Crexi commercial real estate, but functions as a state filter when supplied as a US state postal code (such as TX, CA, or FL) rather than a free-text property title search. Providing state or states overrides this selection, though keyword remains required.
  - `max_price` (optional): Filters Crexi listings by maximum asking price in USD. Decimals round up to a whole number before the search request. Results can still include properties without a public asking price, so this parameter does not guarantee that every returned listing has a price.
  - `min_price` (optional): Filters listings by minimum asking price in USD. Accepts numeric values, ideally integers. This parameter does not evaluate capitalization rate or price per square foot, and is ignored by direct property_detail requests. Decimals round down.
  - `property_types` (optional): Filters commercial real estate by asset category using a string or array of strings, such as Office, Retail, or Multifamily. Applies strictly to search filtering rather than residential layouts, and is ignored by direct property_detail lookup requests.
  - `sort` (optional): Sorts Crexi search results descending by relevance (directory match strength, default) or newest (listing date order). It does not sort by last_updated timestamp or capitalization rate, and is ignored when retrieving properties directly by ID. One of: newest, relevance.
  - `state` (optional): Filters by a single US state postal code, such as TX. Read only when states is omitted, and takes precedence over keyword state filtering. To query multiple states simultaneously, use the states array instead.
  - `states` (optional): Filters search results by US state postal codes using a string or an array of strings, such as TX or ["TX", "CA"], automatically converted to uppercase. Precedence follows states over state over keyword. Accepts state codes only, not city names or country codes.
  - `transaction_type` (optional): Filters listings by transaction mode: sale (default) or lease, case-insensitive. Any other value, such as rent, returns 422 instead of switching to sale. One of: lease, sale.
- Returns fields: id, url, name, text, address, city, county, state, postal_code, latitude, longitude, price, area_sqft, property_types, status, brokerage_name, posted_at, updated_at, image_url, is_sold, is_unpriced, in_opportunity_zone, platform
- Capability page: [https://everyinfra.com/en/crexi-api/search](https://everyinfra.com/en/crexi-api/search?utm_medium=ai_doc&utm_campaign=page_md) (Markdown: https://everyinfra.com/en/crexi-api/search.md)

### property_detail — Property details
Look up one Crexi commercial listing by numeric ID or /properties/ link for highlights, asking price, full address, subtype, tenancy, occupancy, stories and listing dates. Text-only slugs and /lease/ paths do not resolve, and missing values should not be inferred.
- Sync delivery · Price: $1.39 per 1,000 requests
- Parameters:
  - `url` (required): Identifies the target property using either a full Crexi URL containing a numeric listing ID (such as /properties/<ID>) or the raw numeric ID string extracted from a search result id field. URLs with text-only slugs cannot be resolved, and /lease/<ID> links cannot be used for details.
- Returns fields: id, url, name, text, highlights, status, price, address, city, county, state, postal_code, lat, lng, property_types, property_subtypes, tenancy, occupancy, stories, listed_at, updated_at, platform
- Capability page: [https://everyinfra.com/en/crexi-api/property_detail](https://everyinfra.com/en/crexi-api/property_detail?utm_medium=ai_doc&utm_campaign=page_md) (Markdown: https://everyinfra.com/en/crexi-api/property_detail.md)

## Crexi API questions

### What can I retrieve with the Crexi API?

Set `platform` to `crexi`. The current catalog lists search and property details. These action names identify different Crexi objects or views; they are not interchangeable search modes.

### Which input starts the Crexi `search` request?

Serves as the required search parameter for Crexi commercial real estate, but functions as a state filter when supplied as a US state postal code (such as TX, CA, or FL) rather than a free-text property title search. Providing state or states overrides this selection, though keyword remains required. Send it as `keyword` inside `params`.

### Which fields can Crexi `search` return?

Its declared schema includes `name`, `text`, `address`, and `city`. A declared field can still be absent from an individual record, and every other action has its own field list.

### Does every Crexi action return immediately?

Actions labeled asynchronous return a job ID you poll. Every other action can also run asynchronously: add `"mode": "async"` to the request body to receive a job ID immediately, useful for slow tasks or large limits. The current catalog contains sync delivery.

## Also

- Machine catalog (no key): https://everyinfra.com/openapi.json · GET /api/v1/social/catalog?platform=crexi
- API guide for AI clients: https://everyinfra.com/llms.txt · agents guide: https://everyinfra.com/agents.md
