tomtom-traffic
Retrieve real-time and upcoming traffic incidents within a specified bounding box. Filter by category, type, language, and time validity for precise traffic data integration into location-based applications.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
bbox | No | Bounding box for traffic area: 'minLon,minLat,maxLon,maxLat'. Example: '-74.02,40.70,-73.96,40.80' for lower Manhattan. Use smaller areas for better results. | |
categoryFilter | No | Filter by incident categories (comma-separated): '0' (Accident), '1' (Fog), '2' (Dangerous Conditions), '3' (Rain), '4' (Ice), '5' (Lane Restrictions), '6' (Lane Closure), '7' (Road Closure), '8' (Road Works), '9' (Wind), '10' (Flooding), '11' (Detour), '14' (Cluster). | |
incidentTypes | No | Filter by incident types (comma-separated): '0' (Accident), '1' (Fog), '4' (Ice), '5' (Lane Restrictions), '7' (Closure), '8' (Roadworks). | |
language | No | Language for incident descriptions: 'en-US', 'de-DE', 'fr-FR', 'es-ES'. Default: 'en-US'. | |
maxResults | No | Maximum incidents to return (1-1000). Use 10-20 for readability in high-traffic areas. | |
t | No | Unix Timestamp in seconds for traffic model. Use current time if not provided. | |
timeFilter | No | Time validity filter: 'present' (current), 'future' (upcoming), 'all' (both). Default: 'present'. |