Buildings with a public page
GETapi.baseray.ai/v1/public/buildings
A country's buildings that have a public page, in a stable order, for sitemaps. Follow nextCursor until it is null.
Query parameters
countrycz | dk | rorequiredcz(Czechia) orro(Romania).cursorstring- The
nextCursorof the previous page; omit for the first page. limitinteger1–50000- Buildings per page, at most 50,000.
Response 200
OK
itemsarray of objectrequiredidstring (uuid)requiredslugstringrequiredupdatedAtstring (date)required
nextCursorstring or nullrequired- Pass as
cursorfor the next page; null on the last one. totalintegerrequired- Buildings with a public page in the country.
Errors
- 400
- A query parameter is missing or malformed (
invalid_parameter). - 429
- Too many requests from this address in a minute (
rate_limited); retry afterRetry-Afterseconds. - 503
- The building catalogue is unavailable right now (
unavailable); retry afterRetry-Afterseconds.
Every error has the same shape. Error codes.