---
title: "Streets with their own page"
method: GET
path: "/public/streets"
tags: ["Public building pages"]
---

# Streets with their own page

`GET /public/streets`

## Request

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

A country's street pages, larger places and longer streets first, for sitemaps. `cursor` is a position: page n of `limit` starts at `cursor=(n−1)·limit`.

## Query parameters

- `country` 'cz' | 'dk' | 'ro', required
- `cursor` string
- `limit` integer

## Response `200`

OK

- PublicStreetIndex: One page of a country's street pages, larger places and longer streets first.
  - `items` object[], required
    - `place` string, required: The place's slug.
    - `slug` string, required: The street's slug.
    - `updatedAt` string, date, required
  - `nextCursor` string, nullable, required: Pass as `cursor` for the next page; null on the last one.
  - `total` integer, required: Street pages in the country.

## 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)
