List of street lights
This dataset provides a list of street light devices registered in the system. Each item represents a physical street light with its identifier, name and optional geographic position. The dataset supports pagination, sorting and optional metadata expansion.
Author
Platforma Invipo
Format
API JSON
License
Open Database License (ODbL)
Last modified
4. 5. 2026
Parameters
{
"expand": true,
"limit": 10,
"page": 1,
"sort": "-name"
}
expand (boolean, optional) – If true, the response contains metadata with total document count and pagination information.
limit (number, optional) – Number of records per page.
page (number, optional) – Page number starting from 1.
sort (string, optional) – Sorting field. Prefix with "-" for descending order. Default value is "-_id".
Request
POST https://opendata.zilina.sk/api/datasets/v2/street-lights/items
Answer
{
"meta": {
"documents": {
"total": 9247
},
"page": {
"actual": 1,
"size": 10,
"total": 925
}
},
"data": [
{
"id": "6a4ccce5ac4df20001d847bc",
"name": "Streetlight #RPD.097",
"position": {
"type": "Point",
"coordinates": [
18.731789,
49.219192
]
}
},
{
"id": "6a4ccce7ac4df20001d84895",
"name": "Streetlight #RPD.096",
"position": {
"type": "Point",
"coordinates": [
18.7317516,
49.2191552
]
}
}
]
}
id (string) – Unique identifier of the street light.
name (string) – Name or label of the street light.
position (object, optional) – Geographic position of the street light.
position.type (string) – Geometry type, typically "Point".
position.coordinates (array of numbers) – Coordinates in format [longitude, latitude].
If expand is true, the response contains:
meta.documents.total (number) – Total number of available records.
meta.page.actual (number) – Current page.
meta.page.size (number) – Page size.
meta.page.total (number) – Total number of pages.
Request
GET https://opendata.zilina.sk/api/datasets/v2/street-lights/items?outputType=csv
Answer
"id","name","position.type","position.coordinates.0","position.coordinates.1"
"6a4ccce5ac4df20001d847bc","Streetlight #RPD.097","Point",18.731789,49.219192
"6a4ccce7ac4df20001d84895","Streetlight #RPD.096","Point",18.7317516,49.2191552
id (string) – Unique identifier of the street light.
name (string) – Name or label of the street light.
position (object, optional) – Geographic position of the street light.
position.type (string) – Geometry type, typically "Point".
position.coordinates (array of numbers) – Coordinates in format [longitude, latitude].
If expand is true, the response contains:
meta.documents.total (number) – Total number of available records.
meta.page.actual (number) – Current page.
meta.page.size (number) – Page size.
meta.page.total (number) – Total number of pages.
Request
GET https://opendata.zilina.sk/api/datasets/v2/street-lights/items?outputType=xml
Answer
<root>
<meta>
<documents>
<total>9247</total>
</documents>
<page>
<actual>1</actual>
<size>10</size>
<total>925</total>
</page>
</meta>
<data>
<item>
<id>6a4ccce5ac4df20001d847bc</id>
<name>Streetlight #RPD.097</name>
<position>
<type>Point</type>
<coordinates>
<item>18.731789</item>
<item>49.219192</item>
</coordinates>
</position>
</item>
<item>
<id>6a4ccce7ac4df20001d84895</id>
<name>Streetlight #RPD.096</name>
<position>
<type>Point</type>
<coordinates>
<item>18.7317516</item>
<item>49.2191552</item>
</coordinates>
</position>
</item>
<item>
<id>6a4ccce5ac4df20001d847ae</id>
<name>Streetlight #RPD.095</name>
<position>
<type>Point</type>
<coordinates>
<item>18.731855</item>
<item>49.219138</item>
</coordinates>
</position>
</item>
<item>
<id>6a4ccce3ac4df20001d844ed</id>
<name>Streetlight #RPD.094</name>
<position>
<type>Point</type>
<coordinates>
<item>18.730758</item>
<item>49.218997</item>
</coordinates>
</position>
</item>
<item>
<id>6a4ccce9ac4df20001d8495d</id>
<name>Streetlight #RPD.093</name>
<position>
<type>Point</type>
<coordinates>
<item>18.730876</item>
<item>49.2190199</item>
</coordinates>
</position>
</item>
<item>
<id>6a4ccce9ac4df20001d8494d</id>
<name>Streetlight #RPD.092</name>
<position>
<type>Point</type>
<coordinates>
<item>18.730876</item>
<item>49.2190199</item>
</coordinates>
</position>
</item>
<item>
<id>6a4ccce5ac4df20001d847a1</id>
<name>Streetlight #RPD.091</name>
<position>
<type>Point</type>
<coordinates>
<item>18.7307998</item>
<item>49.2189669</item>
</coordinates>
</position>
</item>
<item>
<id>6a4ccce5ac4df20001d84793</id>
<name>Streetlight #RPD.090</name>
<position>
<type>Point</type>
<coordinates>
<item>18.7310766</item>
<item>49.2189899</item>
</coordinates>
</position>
</item>
<item>
<id>6a4ccce5ac4df20001d8477d</id>
<name>Streetlight #RPD.089</name>
<position>
<type>Point</type>
<coordinates>
<item>18.7310612</item>
<item>49.2190445</item>
</coordinates>
</position>
</item>
<item>
<id>6a4ccce9ac4df20001d84991</id>
<name>Streetlight #RPD.088</name>
<position>
<type>Point</type>
<coordinates>
<item>18.7307998</item>
<item>49.2189669</item>
</coordinates>
</position>
</item>
</data>
</root>
id (string) – Unique identifier of the street light.
name (string) – Name or label of the street light.
position (object, optional) – Geographic position of the street light.
position.type (string) – Geometry type, typically "Point".
position.coordinates (array of numbers) – Coordinates in format [longitude, latitude].
If expand is true, the response contains:
meta.documents.total (number) – Total number of available records.
meta.page.actual (number) – Current page.
meta.page.size (number) – Page size.
meta.page.total (number) – Total number of pages.