Parking places and parking areas
This dataset provides a list of parking-related items, such as parking areas or locations registered in the system. The output contains the item identifier, name, and geographic position. The dataset is suitable for displaying parking locations on a map or for further use in transport and parking applications. Current data in graphical form as well as the display of parking lots on the map can be found on the public portal.
Publisher
Transport Department, City of Trnava
Format
API JSON
License
CC BY 4.0
Update frequency
Irregular
Last modified
3. 11. 2026
Download data
- API JSON Sample
- CSV Sample
- XML Sample
- API Documentation
Parameters
{
"expand": true,
"limit": 10,
"page": 1,
"sort": "-name"
}
expand (boolean, optional) – If true, the response also contains pagination metadata.
limit (number, optional) – Maximum number of items returned in one response.
page (number, optional) – Requested page number.
sort (string, optional) – Sorting of the result. For example, "-name" sorts items by name in descending order.
Note
If the expand parameter is not set or is false, the response contains the array of items directly, without the meta object.
Request
POST https://opendata.trnava.sk/api/datasets/v2/parking/items
Answer
{
"meta": {
"documents": {
"total": 1
},
"page": {
"actual": 1,
"size": 10,
"total": 1
}
},
"data": [
{
"id": "6abf3bf05ad617000142eebf",
"name": "TC-TT-IoT-03 (segmenty) Stred parkoviska za Jednotou-OA",
"position": {
"type": "Point",
"coordinates": [
17.589303,
48.377312
]
}
}
]
}
meta (object) – Response metadata. Available when expand is set to true.
meta.documents.total (number) – Total number of available items.
meta.page.actual (number) – Current page number.
meta.page.size (number) – Number of items per page.
meta.page.total (number) – Total number of pages.
data (array) – List of parking items.
id (string) – Unique identifier of the parking item.
name (string) – Name of the parking item.
position (object) – Geographic position of the item.
position.type (string) – Geometry type, for example "Point".
position.coordinates (array of numbers) – Coordinates in format [longitude, latitude].
Request
GET https://opendata.trnava.sk/api/datasets/v2/parking/items?outputType=csv
Answer
"id","name","position.type","position.coordinates.0","position.coordinates.1"
"6abf3bf05ad617000142eebf","TC-TT-IoT-03 (segmenty) Stred parkoviska za Jednotou-OA","Point",17.589303,48.377312
meta (object) – Response metadata. Available when expand is set to true.
meta.documents.total (number) – Total number of available items.
meta.page.actual (number) – Current page number.
meta.page.size (number) – Number of items per page.
meta.page.total (number) – Total number of pages.
data (array) – List of parking items.
id (string) – Unique identifier of the parking item.
name (string) – Name of the parking item.
position (object) – Geographic position of the item.
position.type (string) – Geometry type, for example "Point".
position.coordinates (array of numbers) – Coordinates in format [longitude, latitude].
Request
GET https://opendata.trnava.sk/api/datasets/v2/parking/items?outputType=xml
Answer
<root>
<meta>
<documents>
<total>1</total>
</documents>
<page>
<actual>1</actual>
<size>10</size>
<total>1</total>
</page>
</meta>
<data>
<item>
<id>6abf3bf05ad617000142eebf</id>
<name>TC-TT-IoT-03 (segmenty) Stred parkoviska za Jednotou-OA</name>
<position>
<type>Point</type>
<coordinates>
<item>17.589303</item>
<item>48.377312</item>
</coordinates>
</position>
</item>
</data>
</root>
meta (object) – Response metadata. Available when expand is set to true.
meta.documents.total (number) – Total number of available items.
meta.page.actual (number) – Current page number.
meta.page.size (number) – Number of items per page.
meta.page.total (number) – Total number of pages.
data (array) – List of parking items.
id (string) – Unique identifier of the parking item.
name (string) – Name of the parking item.
position (object) – Geographic position of the item.
position.type (string) – Geometry type, for example "Point".
position.coordinates (array of numbers) – Coordinates in format [longitude, latitude].