Crexi Search API

POST

API health

24h health
Normal
24h average time
—
  • Healthy / normal
  • Available
  • Limited
  • Mostly down
Normal

Find commercial real estate for sale or lease on Crexi, with 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, and price filters can still return unpriced listings.

Price $1.39 per 1,000 requests ($0.001389 per call). Failed calls and empty results are not charged. Synchronous. For slow jobs add "mode": "async" to the body, take the job_id and poll.

AI prompt

Paste this into your AI assistant. It already holds this endpoint's parameters, response fields and an example request, so the assistant can ask what you need and then write the scraper.

Please help me write a data collection script with the EveryInfra Crexi Search endpoint (crexi/search).

Endpoint contract:
- Request: POST https://api.everyinfra.com/api/v1/social with the header Authorization: Bearer <API key>. Read the key from the EVERYINFRA_API_KEY environment variable and never hard-code it.
- In the request body, set platform to crexi and action to search, and put the parameters inside params.
- Required parameters:
  - keyword: 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.
- Optional parameters:
  - max_price: Filters Crexi listings by maximum asking price in USD. The value is converted to an integer before the search request.
  - min_price: 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.
  - property_types: Filters commercial real estate by asset category using a string or array of strings, such as Office, Retail, or Multifamily.
  - sort: Sorts Crexi search results descending by relevance (directory match strength, default) or newest (listing date order). (allowed: newest / relevance)
  - state: 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: 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.
  - transaction_type: Filters listings by transaction mode: sale (default) or lease, case-insensitive. Any other value, such as rent, returns 422 instead of switching to sale. (allowed: lease / sale)
  - limit: The most rows to return in this call, an integer from 1 to 100. The default applies when you leave it out, and a call can return fewer rows. Larger values return 422 before any charge. (default: 20)
- Returns a list of records. Main fields of each record: id, url, name, text, address, city, county, state, postal_code, latitude, longitude, price; 22 fields in total, full list at https://api.everyinfra.com/api/v1/social/catalog?platform=crexi.
- Example request body:
{
  "platform": "crexi",
  "action": "search",
  "params": {
    "keyword": "TX"
  }
}
- Price: $1.39 per 1,000 requests; failed and empty results are not charged.
- For dozens or hundreds of targets, add "mode": "async" to the body: you get a job_id at once and poll GET https://api.everyinfra.com/api/v1/jobs/{job_id} for the result.
- On 422, fix the request using the suggested parameter names and allowed values in the error; on 429 or 503, wait for Retry-After and try again.

Before writing code, ask me which targets I need, how many, which fields, and what output format I want; then confirm the plan and the rough cost with me.

Request parameters

NameInTypeRequiredDefaultDescription
AuthorizationheaderstringYes-Bearer followed by your API key. Create it in the console; never put it in a URL or a code repository.
platformbodystringYescrexiPlatform identifier, fixed value.
actionbodystringYessearchCapability identifier, fixed value.
keywordbody.paramsNot declaredYes-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_pricebody.paramsNot declaredNo-Filters Crexi listings by maximum asking price in USD. The value is converted to an integer 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_pricebody.paramsNot declaredNo-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.
property_typesbody.paramsNot declaredNo-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.
sortbody.paramsenumNo-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.Allowed valuesnewestrelevance
statebody.paramsNot declaredNo-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.
statesbody.paramsNot declaredNo-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_typebody.paramsenumNo-Filters listings by transaction mode: sale (default) or lease, case-insensitive. Any other value, such as rent, returns 422 instead of switching to sale.Allowed valuesleasesale
limitbody.paramsinteger (1–100)No20The most rows to return in this call, an integer from 1 to 100. The default applies when you leave it out, and a call can return fewer rows. Larger values return 422 before any charge.

Code samples

bash
curl -X POST 'https://api.everyinfra.com/api/v1/social' \
  -H "Authorization: Bearer $EVERYINFRA_API_KEY" \
  -H 'Content-Type: application/json' \
  --data-raw '{
  "platform": "crexi",
  "action": "search",
  "params": {
    "keyword": "TX"
  }
}'

[OpenAPI definition (JSON)]Samples read the key from the EVERYINFRA_API_KEY environment variable; copied code never contains your key.

Response example

Field preview

There is no real sample for these example parameters yet: this shows the response shape and fields from the contract, with … as placeholders. It is not the result of a real call.

json
{
  "id": "req_…",
  "platform": "crexi",
  "action": "search",
  "results": [
    {
      "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": …
    }
  ],
  "count": …,
  "billing": {
    "charged": …,
    "charged_usd": …,
    "balance_after_usd": …,
    …
  },
  "quota": { … }
}

Response fields

Business data is in results. The table lists the fields a record can contain; values the platform does not show are never made up.

FieldMeaning
idThe record's unique ID on the platform. Unique only within one platform; IDs can repeat across platforms.
urlLink to the record on the platform.
nameName of the object itself, for account, product and business capabilities.
textBody text with HTML removed, returned in full and never cut short (on a few platforms the list results themselves carry only an excerpt; the platform's field notes say so).
addressFull address, passed through as is.
cityCity name in the platform's language, not normalized.
countyKeeps the platform's own meaning
stateKeeps the platform's own meaning
postal_codeKeeps the platform's own meaning
latitudeKeeps the platform's own meaning
longitudeKeeps the platform's own meaning
pricePrice as a number without a currency symbol; see currency.
area_sqftKeeps the platform's own meaning
property_typesKeeps the platform's own meaning
statusKeeps the platform's own meaning
brokerage_nameKeeps the platform's own meaning
posted_atPublish time in ISO 8601, UTC (for example 2026-08-07T12:34:56+00:00). Non-standard strings from the platform are passed through as is, so parse defensively. null means the platform does not disclose it.
updated_atKeeps the platform's own meaning
image_urlImage link. Capabilities with several images may return an image_urls array.
is_soldKeeps the platform's own meaning
is_unpricedKeeps the platform's own meaning
in_opportunity_zoneKeeps the platform's own meaning
platformSource platform identifier, the same as platform in the request (for example xiaohongshu, tiktok).

Errors and billing

401
Missing or invalid key. Authentication runs before parameter checks, so unauthenticated requests never see the parameter schema.
422
Wrong parameter name or value. The error lists the parameters and allowed values this capability accepts and the closest match; it happens before any charge.
402
Insufficient balance. Top up first.
429
The account's per-minute request limit was reached (all of its API keys count together; a key's own lower limit applies first). Wait for Retry-After and try again; a rate package in the console raises the limit.
503
Could not complete right now. Any charge for the call goes back to your balance automatically, and the billing receipt in the response states the actual outcome, including when it is not yet known. Do not resend blindly.
200 empty
The request completed without data and is not charged (billing.reason = empty_result_refunded).

Official references

Used only to check objects and terms. They do not imply authorization or endorsement of EveryInfra by the platform.

  • Crexi: Sale and Lease Property Searches ↗

    Crexi search documentation distinguishes between Sale and Lease listings. This reference covers transaction types only and does not indicate that this endpoint includes map layers, demographic data, or traffic flow features mentioned in the source.

    Checked 2026-09-04