Site Status

Tells a website whether its Panda IDX account may serve the site. This public, read-only call is tiny and barely cached: make it from the root layout on every request.

GET/v1/site/status

Authentication

Public key?key=pk_…

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

Edge cache: 5 s + stale-while-revalidate 10 s

Query Parameters

keystring
required

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

Responses

200Success
application/json
activeboolean
privateboolean

Errors

401Missing or invalid public key
404Application not found: the key is valid but its account does not exist

Notes

  • When active is false the account has no active subscription: render an offline page instead of the design.
  • Unlike every other endpoint, an inactive account still answers 200 here with active: false; the other endpoints answer 403 TENANT_INACTIVE.
  • private is always false. It is kept for clients that read it.
Request
curl --request GET \
--url "https://api.pandaidx.com/v1/site/status?key={{public_key}}"
Response200 OK
{
"active": true,
"private": false
}