Traffic v1

Query Structure
Update Frequency:
10 minutes
API:
https://api.digichief.com/traffic/gettraffic/{customer}/{customer_api_key}?{parameter}&{optional_parameters}
Parameters
Query Parameter Description | Parameter Options

customer

Unique customer name provided by Digichief

customer_api_key

Your company's unique API key

parameters

Mandatory Parameter

startlatlon

Starting Latitude/Longitude for the route you want to measure, separated by comma. XX.XXXX,-XX,XXXX

endlatlon

Ending Latitude/Longitude for the route you want to measure, separated by comma. XX.XXXX,-XX,XXXX

Optional Parameter

&criteria=

Avoidance criteria for calculating the route, comma-separated combination of T, H, F, V, E, C. Defaults to no criteria. Entries include table

&maxroutes=

Maximum number of returned routes, from 1 to 3. Defaults to 1.

&format=

JSON or XML. Defaults to JSON.

&units=

0 for Imperial, 1 for Metric. Defaults to 0

Data Points Returned
Data Points Description

advisorydata

content

datetime

Published Date and Time GMT

datasource

Data Source

attribution

Attribution

server "DM-IAD-01"

Internal server reference for digichief diagnostics

data

routes

Route

name

Route Name

description

Route Description

keyroutename

Key Route Name if available

averagespeed

Average speedin MPH

traveltimeminutes

Travel Time in Minutes

uncongestedtraveltimeminutes

Uncogested "Normal" Travel Time

speedimage

Speed Image Icon

routerestricted

Value 0 for unrestricted, 1 if the route has closures at departure time

routeclosures

Value 0 for clear, 1 for closures at departure time

incidents

Incident Reports on requested route

road

Road name

shortdescription

Short description of reported Incident

fulldescription

More verbose description of report Incident

severity

The severity of the incident. This value can be in the range of 0-4, with 4 indicating the highest severity.

eventcode

Event Code

eventcodeimage

Insident Icon

Defines specific road types for your search, entries include table Multiples are possible by comma-delimiting like criteria=T,H. Remove the criteria attribute to remove restrictions.