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.
/v1/autocomplete-catalogAuthentication
?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
keystringThe site's public key (pk_…). It selects the account. Safe to ship to the browser.
vnumberThe revision to read (see GET /v1/autocomplete-catalog/revision), so a cached copy of an older one is never served.
Responses
application/jsonversionnumberCatalog format version. Currently 1.
generatedAtnumberWhen the catalog was built, in milliseconds since the Unix epoch.
revisionnumberMoves whenever an area or building changes in Panda. Compare it with GET /v1/autocomplete-catalog/revision.
itemsarraySuggestion 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. UseGET /v1/autocompletefor MLS numbers and addresses. - The response has the header
X-Autocomplete-Catalog: 1.
curl --request GET \--url "https://api.pandaidx.com/v1/autocomplete-catalog?key={{public_key}}&v=12"
{"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"}]}