Traffic Status

Open data API in a single place

Provided by Ministerio de Hacienda y Administraciones Públicas

Get early access to Traffic Status API!

Let us know and we will figure it out for you.

Dataset information

Country of origin
Updated
Created
2011.02.15
Available languages
Spanish
Keywords
vía pública, movilidad urbana, tráfico
Quality scoring
220

Dataset description

Data set on traffic density in Zaragoza. It contains information on the traffic status based on sections, incidents and travel time. Tools for developers: http://www.zaragoza.es/trafico/estado/estadoFicherosTrafico.json (Access to the description of the files involved) List of files involved: http://www.zaragoza.es/trafico/estado/tramoswgs84.json http://www.zaragoza.es/trafico/estado/tramoswgs84.json description of sections in google format (wgs84) http://www.zaragoza.es/trafico/estado/tramos23030.json is the same information but the coordinates are utm30. http://www.zaragoza.es/trafico/estado/estado.json The timestamp field indicates the time at which that data was generated on the traffic server in UTC time. The format of the date is YYYYMMDD_HHMMSSZ, that is 4 digits for the year, 2 for the month, 2 for the day, a low dash, 2 digits for the hour, 2 for the minute, 2 for the second and the literal “Z” to indicate that the time is Zulu or UTC.The states field contains a string in which each character represents the state of a stretch, depending on the position it occupies. That is, the state of the stretch with id=23 is the 23 rd character of that chain. Therefore, if the maximum stretch id is 219, the string has to be 220 characters long. If in the future sections are deleted, the position in the chain will be saved with the character “-” (script).The states can be:r red and yellowg verdeb Blackt transparent — there is no section http://www.zaragoza.es/trafico/estado/barrios.json list of neighborhoods of Zaragoza and the geographical rectangle in which they are.http://www.zaragoza.es/trafico/estado/tiempos.jsonhttp://www.zaragoza.es/trafico/estado/tiempos.json list of the current travel times of certain predefined routes (updated every 30 seconds)The “id” has no relation to the id of the sections.Times are expressed in minutes and fractions (7.5 min = 7 min 30 sec)If the data is not initially available, this message can come without data, i.e.: {times: } http://www.zaragoza.es/trafico/estado/tiempos2.json list of the current travel times of certain predefined routes, with additional information to that provided with the Travel Times request in the previous section. (updates every 30seconds) The “id” has no relation to the id of the sections.Times are expressed in minutes and fractions (7.5 min = 7 min 30 sec)The via field contains an array of strings, each of which is an intermediate point on the described route.The value of minutes may be -1. This means that the value measured by the sensors has a reliability below the defined threshold. This occurs frequently at night, as traffic between sensors is very low and does not allow for representative statistical measurements.The value of minutesNormal indicates the reference value set for a route. If this reference value has not been set, the file displays the same value as minutesActual.
Build on reliable and scalable technology
Revolgy LogoAmazon Web Services LogoGoogle Cloud Logo
FAQ

Frequently Asked Questions

Some basic informations about API Store ®.

Operation and development of APIs are currently fully funded by company Apitalks and its usage is for free.
Yes, you can.
All important information such as time of last update, license and other information are in response of each API call.
In case of major update that would not be compatible with previous version of API, we keep for 30 days both versions so you will have enough time to transfer to new version. We will inform you about the changes in advance by e-mail.

Didn't find the API you need?

Let us know and we will figure it out for you.

API Store provides access to European Open Data via scalable and reliable REST API interface.
Copyright © 2024. Made with ♥ by Apitalks