{ "opencollection": "1.0.0", "info": { "name": "Maps Additional Data Traffic Incidents API", "version": "3.0" }, "request": { "auth": { "type": "apikey", "key": "key", "value": "{{key}}", "placement": "query" } }, "items": [ { "info": { "name": "Traffic Incidents", "type": "folder" }, "items": [ { "info": { "name": "Get Incident Details", "type": "http" }, "http": { "method": "GET", "url": "https://api.tomtom.com/traffic/services/:versionNumber/incidentDetails", "params": [ { "name": "versionNumber", "value": "", "type": "path" }, { "name": "key", "value": "", "type": "query", "description": "TomTom API key" }, { "name": "bbox", "value": "-8.671875,36.173357,3.076171,57.040730", "type": "query", "description": "Bounding box (minLon,minLat,maxLon,maxLat)" }, { "name": "fields", "value": "", "type": "query", "description": "Fields to include in response (JSON path filter)" }, { "name": "language", "value": "en-GB", "type": "query", "description": "Language for incident descriptions (IETF BCP 47)" }, { "name": "categoryFilter", "value": "", "type": "query", "description": "Bitmask for incident categories: 0=Unknown, 1=Accident, 2=Fog, 4=Dangerous conditions, 8=Rain, 16=Ice, 32=Jam, 64=Lane closed, 128=Road closed, 256=Road works, 512=Wind, 1024=Flooding, 2048=Broken down vehicle" }, { "name": "timeValidityFilter", "value": "", "type": "query", "description": "Filter by incident time validity" }, { "name": "t", "value": "", "type": "query", "description": "Traffic model ID from traffic model endpoint" } ] }, "docs": "Returns detailed information about traffic incidents within a bounding box or around specific coordinates. Includes incident type, delay, description, and affected road segments." }, { "info": { "name": "Get Incident Viewport", "type": "http" }, "http": { "method": "GET", "url": "https://api.tomtom.com/traffic/services/:versionNumber/incidentViewport/:boundingBox/:overview/:copyright/:zoom/:format", "params": [ { "name": "versionNumber", "value": "", "type": "path" }, { "name": "boundingBox", "value": "", "type": "path", "description": "Bounding box coordinates" }, { "name": "overview", "value": "", "type": "path" }, { "name": "copyright", "value": "", "type": "path" }, { "name": "zoom", "value": "", "type": "path" }, { "name": "format", "value": "", "type": "path" }, { "name": "key", "value": "", "type": "query" } ] }, "docs": "Returns a viewport of traffic incidents for a given map area." } ] } ], "bundled": true }