---
title: "Places with a statistics page"
method: GET
path: "/public/places"
tags: ["Public building pages"]
---

# Places with a statistics page

`GET /public/places`

## Request

- Base URL: `https://api.baseray.ai/v1`
- URL: `https://api.baseray.ai/v1/public/places`
- Auth: none required

A country's towns with a statistics page.

## Query parameters

- `country` 'cz' | 'dk' | 'ro', required

## Response `200`

OK

- PublicPlaceList: Towns of at least 2,000 inhabitants or 500 buildings; in Romania municipalities, towns and Bucharest's sectors.
  - `items` object[], required
    - `slug` string, required
    - `name` string, required
    - `county` string, nullable, required
    - `buildings` integer, required: Buildings in the place.
    - `indexableBuildings` integer, required: Of them, buildings with a public page.
    - `streets` integer, required: Streets of the place with their own page (0 without any).

## Other responses

- `400`: A query parameter is missing or malformed (`invalid_parameter`).
- `429`: Too many requests from this address in a minute (`rate_limited`); retry after `Retry-After` seconds.
- `503`: The building catalogue is unavailable right now (`unavailable`); retry after `Retry-After` seconds.

---

[API](https://skmtc.dev/baseray/apis/baseray-api.md) · [All operations](https://skmtc.dev/baseray/apis/baseray-api/llms.txt) · [OpenAPI document](https://skmtc.dev/baseray/apis/baseray-api/revisions/2dc2808717f7?raw)
