Skip to main content

Get Historical Link Hazards

GET 

/regions/:region/links/:link_id/hazards

This method allows you to view the hazards time series of a single Link in a particular region.

Use since and until parameters to control the time range. You can select time range of maximum 30 days.

Getting historical estimated hazard

You must set since and until to be a time in the past or present, and set minutes_ahead to 0.

Getting predicted hazard

You can set until to be a time in the future, up to 3 hours ahead. You must set minutes_ahead to value greater than 0.

Note that minutes_ahead = 120 represents a prediction made for 120 minutes ahead when the prediction was made. Hence, when you set minutes_ahead to 120, the furthest you can set until is 2 hours from the current time, and so on.

Request

Responses

Successful Response