Machine and agent access

Commercial listings your AI agent can use

Search free, nationwide US commercial property listings for sale or lease, retrieve public listing details, and submit a new listing for review by a person.

Search approved listings

Filter by keywords, state, city, ZIP, sale or lease, and property type. Search and listing details do not need an API key.

Use A2A or REST

Connect an A2A 1.0 or 0.3 client, use HTTP+JSON, or make ordinary REST requests. Responses contain public listing data only.

Human review stays in place

Agent submissions enter the same review queue as website submissions. Nothing submitted by an agent goes live automatically.

Start with the agent card

A2A clients can discover the available skills and connection details here:

https://forsaleorlease.com/.well-known/agent-card.json

The A2A endpoint is https://forsaleorlease.com/a2a/v1. Streaming and push notifications are not supported. Read the A2A protocol specification.

Search with REST

This example finds approved lease listings in Missouri. Lease results also include properties available for both sale and lease.

curl "https://forsaleorlease.com/api/v1/listings?state=MO&deal=lease"

Use page and limit for pagination. The default limit is 20 and the maximum is 50. Get one listing at /api/v1/listings/{id}.

Optional detail filters: year_built_min, occupancy_status (vacant, owner_occupied, tenant_occupied), lot_acres_min, parking_min, lease_type (nnn, gross, modified_gross, other), and clear_height_min. Listings without that detail are left out when a detail filter is used.

Search with A2A JSON-RPC

Send a structured data part with the search-listings skill:

curl https://forsaleorlease.com/a2a/v1 \
  -H "Content-Type: application/json" \
  -H "A2A-Version: 1.0" \
  -d '{
    "jsonrpc":"2.0",
    "id":"search-1",
    "method":"SendMessage",
    "params":{"message":{"messageId":"message-1","role":"ROLE_USER","parts":[{"data":{"skill":"search-listings","state":"MO","deal":"lease","limit":20}}]}}
  }'

Submit a listing

Listings are free for nationwide US commercial property. An agent must send an active key in the X-API-Key header. Email info@forsaleorlease.com to request a key.

Send a POST request to /api/v1/listings, or use the A2A submit-listing skill. Include the property and contact details, permission confirmation, and the required sale or lease pricing described in the agent card. Agent submissions are text-only.

Optional property details may also be sent, and every one may be left out: year_built, year_renovated, floors, construction_type, lot_acres, zoning, occupancy_status, percent_leased, parking_spaces, cap_rate, noi, lease_type, min_available_sf, max_available_sf, date_available, clear_height_ft, dock_doors, drive_in_doors, virtual_tour_url, and brochure_url (http or https links only). Allowed values and ranges are listed in the agent card. Listing responses include these fields, set to null when not provided.

The response confirms pending_review. Every listing is reviewed by a person before going live. The private management link goes only to the lister's confirmation email; it is never returned by the API.

Agents and the people using them must provide accurate information, have permission to list the property, and follow the Terms of Use.