Autocomplete Catalog

Returns the compact catalog of cities, ZIP codes, buildings and new developments used by autocomplete, so a site can filter suggestions in the browser without a request per keystroke.

GET/v1/autocomplete-catalog

Authentication

Public key?key=pk_…

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

Edge cache: public, max-age=3600, s-maxage=21600, stale-while-revalidate=86400

Query Parameters

keystring
required

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

vnumber
optional

The revision to read (see GET /v1/autocomplete-catalog/revision), so a cached copy of an older one is never served.

Responses

200Success
application/json
versionnumber

Catalog format version. Currently 1.

generatedAtnumber

When the catalog was built, in milliseconds since the Unix epoch.

revisionnumber

Moves whenever an area or building changes in Panda. Compare it with GET /v1/autocomplete-catalog/revision.

itemsarray

Suggestion rows of type city, postalCode, building or newdevelopment.

Errors

401Missing or invalid public key.
403The account is not active. The body also has code: "TENANT_INACTIVE".
500Internal Server Error.

Notes

  • The catalog is the same for every account and holds no listing data. It still needs a valid public key.
  • Cache it for a few minutes and match typed text against items[].query. Use GET /v1/autocomplete for MLS numbers and addresses.
  • The response has the header X-Autocomplete-Catalog: 1.
Request
curl --request GET \
--url "https://api.pandaidx.com/v1/autocomplete-catalog?key={{public_key}}&v=12"
Response200 OK
{
"version": 1,
"generatedAt": 1760400000000,
"revision": 12,
"items": [
{
"query": "MIAMI",
"type": "city",
"image2": "https://example.com/images/miami.jpg",
"buildingCount": 412
},
{
"query": "33131",
"type": "postalCode"
},
{
"query": "BAY HARBOR TOWERS",
"type": "building",
"address": "1200 BRICKELL BAY DR",
"city": "MIAMI",
"slug": "bay-harbor-towers",
"postalCode": "33131"
}
]
}