Traffic API Developer's Guide

Localized Incident Data

The user wants to obtain traffic incident information for a tile at zoom level 8 representing an area near Instead of using the default settings for incident time zone, date format and language, the intention is to localize the response to USA and include an English language version of the text.

Request

The c and lg specify the desired locale and language from supported list.

https://traffic.hereapi.cn/traffic/6.3/incidents/xml/8/134/86
?app_id={YOUR_APP_ID}
&app_code={YOUR_APP_CODE}
&c=US
&lg=en
&i18n=true
&localtime=true
&units=metric

Response

The response to the request contains a list of the following:
  • TRAFFIC_ITEM: traffic incident information about one active incident