Get safety relevant traffic information in the range of a given location

GET {{url}}/:location?radius=-88105560&cause=HR&next_page_token=d

Request Params

KeyDatatypeRequiredDescription
radiusnumberThe range around the given location in meters to look for events with a maximum radius of 50km
causestringA filter for the cause for the hazard. The filter is given as a key. The following keys return the respective values:
BDV -> Broken down vehicle
VA  -> Vehicle accident
GW  -> General warning
HL  -> Hazard light
SR  -> Slippery road
FOG -> Fog
HR  -> Heavy rain
CW  -> Cross wind

| | next_page_token | string | | Add this token from a previous query to obtain successive pages |

HEADERS

KeyDatatypeRequiredDescription
x-mock-response-namestring

RESPONSES

status: OK

{"result":[{"cancelled":true,"cause":"Broken down vehicle","heading":290.3,"trace":[[10.0156838,54.0233189]],"ts":1548852079708,"uuid":"1623dac1-701e-4764-abf0-fbea049a010d"},{"cancelled":false,"cause":"Road work - lane closure","heading":290.3,"trace":[[44.408958,37.0233189]],"ts":1548852079708,"uuid":"1623dac1-701e-4764-abf0-yno948975399"},{"cancelled":false,"cause":"Bridge repair","heading":290.3,"trace":[[51.345879,99.3987849]],"ts":1548852079708,"uuid":"1623dac1-701e-4764-abf0-ndj92348579"},{"cancelled":true,"cause":"Road work - lane shift","heading":290.3,"trace":[[66.4985739,91.34295879]],"ts":1548852079708,"uuid":"1623dac1-39487-4764-abf0-dsb385279"}],"next_page_token":"1623dac1-701e-4764-abf0-fbea049a010d"}