{"uid":"cap_DGWlLxgXAAAfN8uvw-V8a","slug":"agents-openwebninja-com-traffic-alerts-live-incident-lookup-by-56b36557","name":"Traffic Alerts - Live Incident Lookup by Bounding Box","description":"Returns live traffic incidents (accidents, construction zones, road closures, and other slowdowns) within the bounding box defined by two corner coordinates. Each alert includes its incident type and precise latitude/longitude.\n\nThe bounding box area is capped per `zoom` level (higher zoom returns finer detail over a smaller maximum area). To scan a larger area, use a lower zoom level.","url":"https://agents.openwebninja.com/google-maps-traffic-alerts/traffic-alerts?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"type":"object","required":["bottom_left","top_right"],"properties":{"zoom":{"type":"integer","default":13,"maximum":16,"minimum":11,"description":"Google Maps zoom level for the scan - the same zoom value Google Maps uses (higher is more zoomed in, returning finer detail over a smaller maximum area). Each zoom level has a maximum bounding-box area; to cover a larger area, use a lower zoom level.\n\n  **Allowed values:** `11-16`\n\n  **Maximum area per zoom:**\n\n  - zoom 11: 8000 km²\n  - zoom 12: 2000 km²\n  - zoom 13: 500 km² (default)\n  - zoom 14: 125 km²\n  - zoom 15: 30 km²\n  - zoom 16: 8 km²\n\n  **Default:** `13`"},"top_right":{"type":"string","description":"Top-right (north-east) corner of the area to scan, as `latitude,longitude`. The total box area is capped per `zoom` level (see the `zoom` parameter).\n\n  **Example:** `40.81,-73.87`"},"bottom_left":{"type":"string","description":"Bottom-left (south-west) corner of the area to scan, as `latitude,longitude`. The total box area is capped per `zoom` level (see the `zoom` parameter).\n\n  **Example:** `40.63,-74.10`"}}},"responseSchema":{"type":"object","required":["status","request_id","parameters","data"],"properties":{"data":{"type":"object","required":["count","alerts"],"properties":{"count":{"type":"integer","description":"Number of traffic alerts found within the requested area (the length of the alerts array)."},"alerts":{"type":"array","items":{"type":"object","required":["type","latitude","longitude"],"properties":{"type":{"type":"string","description":"Incident type. Values: road_closed, construction, accident, incident (generic incident when a more specific type cannot be determined)."},"latitude":{"type":"number","description":"Latitude of the incident location."},"longitude":{"type":"number","description":"Longitude of the incident location."}}},"description":"The traffic incidents detected within the requested area."}},"description":"The traffic alerts found within the requested area."},"status":{"type":"string","description":"The status of the API response."},"parameters":{"type":"object","required":["zoom"],"properties":{"zoom":{"type":"integer","description":"Google Maps zoom level used for the scan."},"top_right":{"type":"string","description":"Top-right (north-east) corner of the scanned area, as received."},"bottom_left":{"type":"string","description":"Bottom-left (south-west) corner of the scanned area, as received."}},"description":"The parameters the API received and used for this request, echoed back."},"request_id":{"type":"string","description":"A unique ID to trace the API request."}}},"example":null,"exampleRequest":null,"tags":[],"displayCostAmount":"unknown","displayCostAsset":"USD","priceDynamic":true,"priceHint":null,"priceStatus":"unprobed","priceSource":"registry","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"unknown","summary":"price unknown","primary":{"kind":"dynamic","protocol":"mpp","network":"tempo","amountUsd":null,"per":"call","confidence":"unknown"},"accepted":[{"kind":"dynamic","protocol":"mpp","network":"tempo","amountUsd":null,"per":"call","confidence":"unknown"}]},"paymentMethods":[{"uid":"pm_Ci8uHMdOy_8xqIi7XVPvB","protocol":"mpp","methodType":"crypto","chain":"tempo","mode":"charge","costAmount":"unknown","costPer":"request","priority":0,"asset":null,"unit":"request","depositMicros":null,"planRef":null}],"brandName":"agents.openwebninja.com","brandSlug":"agents-openwebninja-com-x402","brandBaseUrl":"https://agents.openwebninja.com","brandDocsUrl":null,"whatItDoes":"Returns live traffic incidents (accidents, construction, road closures, and generic slowdowns) within a geographic bounding box defined by two corner coordinates and a zoom level.","exampleAgentPrompt":"Can you pull up all live traffic incidents — accidents, road closures, and construction zones — for the area from coordinates 40.63,-74.10 (bottom-left) to 40.81,-73.87 (top-right), using zoom level 13?","exampleUseCases":[{"title":"Pre-commute route safety check","prompt":"Before I head out, can you check for any live accidents, road closures, or construction between the bottom-left corner 37.74,-122.50 and top-right corner 37.81,-122.39 in San Francisco using zoom 13?"},{"title":"Event traffic disruption monitoring","prompt":"I'm managing logistics for a large event near downtown Chicago — can you scan for all active traffic incidents in the bounding box from 41.85,-87.65 to 41.90,-87.61 at zoom level 14 so I can reroute vehicles if needed?"},{"title":"City-wide traffic incident overview","prompt":"Give me a broad overview of all road incidents across the greater Los Angeles metro area — use coordinates 33.70,-118.65 for bottom-left and 34.20,-118.15 for top-right at zoom level 11 to cover the whole region."}],"resultDescription":"A JSON object containing the count of traffic alerts found and an array of incidents, each with an incident type (road_closed, construction, accident, or incident) and precise latitude/longitude coordinates. Also includes echoed request parameters and a unique request ID for tracing.","failureModes":["Bounding box area exceeds the maximum allowed for the chosen zoom level — reduce the box size or lower the zoom","Invalid coordinate format for bottom_left or top_right — must be 'latitude,longitude' strings","Zoom level outside allowed range 11–16 — returns validation error","No incidents found in the area — returns empty alerts array with count of 0","Upstream Google Maps data unavailable — may return error status"],"whenToPreferThis":"Choose this endpoint when you need real-time, geolocated traffic incident data (accidents, closures, construction) for a specific rectangular area on a map. It is ideal for route planning, logistics monitoring, event management, and map-based dashboards that need structured JSON incident data with precise coordinates. Prefer it over general directions APIs when you specifically need incident awareness rather than turn-by-turn routing.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-14T00:35:04.974Z","isFirstParty":false,"canonicalSlug":"agents-openwebninja-com-traffic-alerts-live-incident-lookup-by-56b36557"}