Doprava Žilina - Enclod

Cieľom projektu je zvýšiť povedomie a znalosti politikov a iných rozhodujúcich aktérov o potenciáli Otvorených dát (OD) a internetu vecí (IoT) pre územnú správu. Tento cieľ sa dosiahne prostredníctvom zberu prípadových štúdií, cieleného vzdelávania a aktivít zameraných na budovanie kapacít v pilotných a ďalších regiónoch.

Refreshes every 1 hour Public (no authentication needed) Time Series Aggregations

Data Quality Assessment Open review Guide
Quality Score
🥈 SILVER
Data Volatility
Streaming
Requests (30d)
27
11 users
Last Assessed
04/30/2026
Verified by admin-local
Review summary: This view is still using the automated score. Review it if the data looks stable enough for manual verification.

Automated Metrics
  • Validity_Percent: 100.0
  • Avg_Latency_Seconds: 15
  • Availability_Percent: 99.9

Time Series Parameters

This endpoint supports full dynamic time series queries. You can use the following optional query parameters:

  • start: Start of the time range (e.g., '-7d', '2023-01-01T00:00:00Z'). Defaults to -7d.
  • stop: End of the time range (e.g., 'now()'). Defaults to now.
  • window: Aggregation window. Allowed values: 15m1h1d
  • agg_func: Aggregation function(s). Can be a single value or comma-separated. Allowed values: sum

Build Your Query
Leave empty to include all devices in the view. If specified, queries return data exclusively for the selected device (returns 404 if not found).
Use default tags or choose your own grouping.

Select which measurements to include in the query. By default, all are selected.

Generated API Query URL
Open Generated Query In

Usage Examples

Here is how you can access the data programmatically.

Filter by Device UUID

You can query data for a specific sensor or list of sensors by appending the ?uuid=<device_uuid> parameter to any endpoint format (e.g. JSON, CSV, GeoJSON). If an invalid or unknown UUID is supplied, the API returns a 404 Not Found status.

curl -X GET "https://iot.citiq.cloud/portal/api/v2/view/enclod-traffic-zilina/?uuid=<DEVICE_UUID>"
curl -X GET "https://iot.citiq.cloud/portal/api/v2/view/enclod-traffic-zilina/?start=-1d&window=1h&agg_func=sum"
import requests

response = requests.get("https://iot.citiq.cloud/portal/api/v2/view/enclod-traffic-zilina/?start=-1d&window=1h&agg_func=sum")
print(response.json())
fetch("https://iot.citiq.cloud/portal/api/v2/view/enclod-traffic-zilina/?start=-1d&window=1h&agg_func=sum")
  .then(response => response.json())
  .then(data => console.log(data));

Try It Out

Click the button to see a live JSON response from this API endpoint.

Available Operational Metrics

The `operational_data` array in the API response will contain objects with the following structure, based on the metrics you configured for this view.

Field Key Description Unit
No operational metrics have been configured for this view.

Available Measurements

The table below describes the measurements available in this view. For complete metadata, including units, icons, and value ranges, please refer to the metadata endpoint.

Field Key Description Data Type Value Range
gate_increment_value Gate increment INTEGER Not defined
gate_len0_speed2_increment cars 30-60km/h INTEGER Not defined
gate_len0_speed1_increment cars <30km/h INTEGER Not defined
gate_len0_speed3_increment cars >60km/h INTEGER Not defined
gate_len0_speed0_increment cars opposite INTEGER Not defined
gate_len2_speed1_increment trucks 0-30km/h INTEGER Not defined
gate_len2_speed2_increment trucks 30-60km/h INTEGER Not defined
gate_len2_speed3_increment trucks >60km/h INTEGER Not defined
gate_len2_speed0_increment trucks opposite INTEGER Not defined
gate_len3_increment uncategorized INTEGER Not defined
gate_len1_speed2_increment vans 30-60km/h INTEGER Not defined
gate_len1_speed1_increment vans <30km/h INTEGER Not defined
gate_len1_speed3_increment vans >60km/h INTEGER Not defined
gate_len1_speed0_increment vans opposite INTEGER Not defined