API

Public toilets

Organization: Kielce City Hall 1 endpoint Technical name: szalety-publiczne Version: v1 Managed Public

Locations of toilets recorded in the municipal ISDP register, with location descriptions, source fee information, facility descriptions and an accessibility flag. Facility descriptions may include opening hours and condition notes. Register information does not confirm current opening or operation; the source update date is not established.

Requests to the whole API service

Loading statistics…

Daily aggregates · UTC

Documentation

The API exposes public table data with selected columns, filters, sorting and pagination.

API endpoints

GET /szalety/data Table data: Public toilets json

Returns records from public table szalety. Locations of toilets recorded in the municipal ISDP register, with location descriptions, source fee information, facility descriptions and an accessibility flag. Facility descriptions may include opening hours and condition notes. Register information does not confirm current opening or operation; the source update date is not established.

Data publication metadata
License Creative Commons Attribution 4.0 International
Organization Kielce City Hall
Openness level
Categories Health, Spatial data and geography
Update frequency UNKNOWN
Spatial coverage POLYGON((20.59306682 50.85684205,20.64230255 50.85684205,20.64230255 50.88001770,20.59306682 50.88001770,20.59306682 50.85684205))
Data sources Kielce City Hall — ISDP register
Try endpoint

Response schemas

Check the documented response schemas in the OpenAPI document.

Open the OpenAPI document

Endpoint

/api/public/szalety-publiczne/szalety/data?version=v1

Parameters

Name Location Type Required Description example
columns query string optional Optional comma-separated list of columns. Empty value returns all public columns. id,name
filter[column] query string optional Filter by a public indexed column. Put the column name in brackets, for example filter[status]=active. active
sort query string optional Sort by a public sortable column. Prefix "-" means descending order. -updated_at
limit query integer optional Optional number of records from 1 to 1000; defaults to 100. Zero is not allowed. 100
offset query integer optional Optional non-negative integer offset; defaults to 0. -
Columns 5
Column Type Description Semantics Filtering Sorting
Geometry geometry GEOMETRY(POINT,2178) - - yes no
Fee — source description oplata VARCHAR(254) - - yes yes
Location description polozenie VARCHAR(254) - - no no
Type, hours and notes — source description typ VARCHAR(100) - - no no
Accessibility according to the register niepelnosprawni BOOLEAN - - yes yes
Filters 3
Name Type Required Mode example
geometry GEOMETRY(POINT,2178) optional bbox: xmin,ymin,xmax,ymax filter[geometry]=20.58,50.82,20.72,50.90
oplata VARCHAR(254) optional exact match filter[oplata]=sample
niepelnosprawni BOOLEAN optional exact match filter[niepelnosprawni]=sample
Request
GET /api/public/szalety-publiczne/szalety/data?columns=geometry,oplata&limit=10&offset=0
Response
{
    "tableName": "szalety",
    "columns": [
        {
            "name": "geometry",
            "type": "GEOMETRY(POINT,2178)",
            "filterable": true,
            "requiredFilter": false,
            "sortable": false,
            "label": "Geometry",
            "description": null,
            "semanticRole": null,
            "semanticPredicate": null
        },
        {
            "name": "oplata",
            "type": "VARCHAR(254)",
            "filterable": true,
            "requiredFilter": false,
            "sortable": true,
            "label": "Fee — source description",
            "description": null,
            "semanticRole": null,
            "semanticPredicate": null
        }
    ],
    "requiredFilters": [],
    "allowedFilters": [
        "geometry",
        "oplata"
    ],
    "pagination": {
        "limit": 10,
        "offset": 0,
        "count": 1,
        "total": 1
    },
    "filters": [],
    "items": [
        {
            "geometry": "sample",
            "oplata": "sample"
        }
    ]
}