Search Listings (POST)

Runs the same search as the GET endpoint with the filters sent as a serialized query string in the JSON body. Use it for long queries such as map polygons. It is never cached.

POST/v1/search

Authentication

Public key?key=pk_…

Public key in the `key` query parameter. No OAuth, no secret.

Edge cache: no-store

Query Parameters

keystring
required

The site's public key (pk_…). It selects the account. Safe to ship to the browser.

Body Parameters

querystring
optional

The serialized search, written like the GET query string without `key`: `q=Miami&qtype=city&minbeds=2&limit=3`. Accepts every filter of `GET /v1/search`. An empty or missing value runs the default search.

Responses

200Success
application/json
dataobject

The page of results. Absent when the search cannot run.

queryobject

The parsed search the server ran, with defaults filled in (`status`, `group`, `limit`, `sort`, `type`, `label`, and the default map `points`).

Errors

400`query` is not a string, or the query has an invalid map area or an unresolvable address.
401Missing or invalid public key.
403The account is not active. The body also has `code: "TENANT_INACTIVE"`.
404The key's account does not exist or has no MLS data feed.
500Internal Server Error.

Notes

  • Use the saved search `query` from `/v1/featured-listings` or `/v1/saved-searches/:slug` as the body to list that search's results.
  • A body that is not valid JSON is treated like an empty body and runs the default search.
Request
curl --request POST \
--url "https://api.pandaidx.com/v1/search?key={{public_key}}" \
--header "Content-Type: application/json" \
--data '{"query":"q=Miami&qtype=city&minbeds=2&limit=3"}'
Response200 OK
{
"data": {
"data": [
{
"_id": "6710a1b2c3d4e5f600000101",
"ListingId": "A11855701",
"OriginatingSystemKey": "miamire",
"ListPrice": 725000,
"LivingArea": 1180,
"BedroomsTotal": 2,
"BathroomsTotalInteger": 2,
"StreetNumber": "1200",
"StreetName": "Brickell Bay Dr",
"UnitNumber": "2504",
"City": "Miami",
"StateOrProvince": "FL",
"PostalCode": "33131",
"StandardStatus": "Active",
"PropertyType": "Residential",
"PropertySubType": "Condominium",
"ListOfficeName": "Example Realty Group",
"image": "https://example.com/photos/A11855701/1.jpg",
"Location": {
"coordinates": [
-80.1892,
25.7651
]
}
}
],
"mapData": [
{
"_id": "6710a1b2c3d4e5f600000101",
"ListingId": "A11855701",
"OriginatingSystemKey": "miamire",
"ListPrice": 725000,
"Location": {
"coordinates": [
-80.1892,
25.7651
]
}
}
],
"total": 1842,
"bounds": false,
"pagination": {
"next": {
"offset": 24,
"cursor": "{\"token\":\"…\",\"direction\":\"after\",\"key\":\"…\",\"offset\":24,\"pageSize\":24,\"expiresAt\":1760400300000}"
},
"previous": null
}
},
"query": {
"status": "Active",
"group": "sale",
"offset": 0,
"limit": 24,
"mapLimit": 250,
"sort": "-listprice",
"points": false,
"mapReposition": true,
"minbeds": 2,
"type": "Residential",
"label": "Residential"
}
}