API

Heritage sites

Organization: Kielce City Hall 1 endpoint Technical name: zabytki Version: v1 Managed Public

Immovable and archaeological heritage from the National Institute of Cultural Heritage register and inventory within Kielce municipality. One publication includes all four NID datasets; dataset preserves their classifications and representation identifies point, line or area geometry. Combining publications does not change legal protection status. An object may have several representations, so record count is not a count of unique monuments. A location representation does not itself establish legal protection boundaries. Source identifiers, available dates, addresses and original links are retained. Source and reuse conditions: NID, https://mapy.zabytek.gov.pl/. All four official packages were checked, including the valid empty archaeological register package.

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 /zabytki/data Table data: Heritage sites json

Returns records from public table zabytki. Immovable and archaeological heritage from the National Institute of Cultural Heritage register and inventory within Kielce municipality. One publication includes all four NID datasets; dataset preserves their classifications and representation identifies point, line or area geometry. Combining publications does not change legal protection status. An object may have several representations, so record count is not a count of unique monuments. A location representation does not itself establish legal protection boundaries. Source identifiers, available dates, addresses and original links are retained. Source and reuse conditions: NID, https://mapy.zabytek.gov.pl/. All four official packages were checked, including the valid empty archaeological register package.

Data publication metadata
License Creative Commons Attribution 4.0 International
Organization Kielce City Hall
Openness level
Categories Culture, Spatial data and geography
Update frequency UNKNOWN
Spatial coverage POLYGON((20.52900323 50.80665262,20.71816908 50.80665262,20.71816908 50.90741028,20.52900323 50.90741028,20.52900323 50.80665262))
Try endpoint

Response schemas

Check the documented response schemas in the OpenAPI document.

Open the OpenAPI document

Endpoint

/api/public/zabytki/zabytki/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 19
Column Type Description Semantics Filtering Sorting
Source representation key source_key TEXT - - yes yes
NID dataset code dataset TEXT - - yes yes
Municipality TERYT code municipality TEXT - - yes yes
Spatial representation type representation TEXT - - yes yes
Source identifier source_identifier TEXT - - yes yes
Feature name label TEXT - - yes yes
Status according to source status TEXT - - no no
Accuracy according to source accuracy TEXT - - no no
Protection form according to source protection_form TEXT - - no no
Locality locality TEXT - - yes yes
Address according to source address TEXT - - no no
Register entry number register_number TEXT - - no no
Source entry date entry_date DATE - - no no
Source URL source_url TEXT - - no no
Record update in the platform updated_at TIMESTAMP - - no no
Source retrieval time fetched_at TIMESTAMP - - no no
Source-declared modification time source_modified_at TIMESTAMP - - no no
Representation geometry geometry GEOMETRY(GEOMETRY,2180) - - no no
URI _uri URL Stable semantic URI generated from the unique table column. Semantic URI identifier no no
Filters 7
Name Type Required Mode example
source_key TEXT optional exact match filter[source_key]=sample
dataset TEXT optional exact match filter[dataset]=sample
municipality TEXT optional exact match filter[municipality]=sample
representation TEXT optional exact match filter[representation]=sample
source_identifier TEXT optional exact match filter[source_identifier]=sample
label TEXT optional exact match filter[label]=sample
locality TEXT optional exact match filter[locality]=sample
Request
GET /api/public/zabytki/zabytki/data?columns=source_key,dataset&limit=10&offset=0
Response
{
    "tableName": "zabytki",
    "columns": [
        {
            "name": "source_key",
            "type": "TEXT",
            "filterable": true,
            "requiredFilter": false,
            "sortable": true,
            "label": "Source representation key",
            "description": null,
            "semanticRole": null,
            "semanticPredicate": null
        },
        {
            "name": "dataset",
            "type": "TEXT",
            "filterable": true,
            "requiredFilter": false,
            "sortable": true,
            "label": "NID dataset code",
            "description": null,
            "semanticRole": null,
            "semanticPredicate": null
        }
    ],
    "requiredFilters": [],
    "allowedFilters": [
        "source_key",
        "dataset"
    ],
    "pagination": {
        "limit": 10,
        "offset": 0,
        "count": 1,
        "total": 1
    },
    "filters": [],
    "items": [
        {
            "source_key": "sample",
            "dataset": "sample"
        }
    ]
}