Three lines

Uber

Developers

Active Incidents

POST/v1/incidents/active

Use Case

The Active Incidents endpoint returns the Uber-sourced road closures and traffic incidents that are active now within the requested S2 level-7 cell.

It evaluates current conditions only. There is no request timestamp, historical lookback, incident-type filter, or pagination. See the Traffic & Incidents introduction for base URLs and developer guides.

Authorization

OAuth 2.0 Bearer token with the maps.incidents scope. See Authentication.

Request Parameters

All request fields are required.

Name Type Description
spatial_selector SpatialSelector Spatial boundary for the query.
SpatialSelector Parameters
Name Type Description
s2_cell_id string S2 level 7 cell token.
Notes on S2 cell level
  • Use the hexadecimal token produced by an S2 library, not a raw decimal cell ID.
  • A token at any other level, or a malformed token, returns HTTP 400.
  • s2_cell_id is currently the only supported selector, and each request accepts one cell.
  • The Current Traffic and Traffic Snapshot endpoints use S2 level 13, and reusing a level-13 token here returns HTTP 400. See S2 Cells for converting between levels and covering larger areas.
Required Headers
Name Value
Authorization Bearer <ACCESS_TOKEN> with the maps.incidents scope
Content-Type application/json

Accept: application/json is optional.

Example Request

$api_url is api.uber.com in production, or test-api.uber.com if Uber has provisioned sandbox access for your application.

curl -X POST \
  -H "authorization: Bearer $UBER_TOKEN" \
  -H 'content-type: application/json' \
  https://$api_url/v1/incidents/active -d \
'{
  "spatial_selector": {
    "s2_cell_id": "<S2_LEVEL_7_CELL_TOKEN>"
  }
}'
Response body parameters
Name Type Description
incidents Incident[] Optional. Active incidents and closures in the cell.
read_time string UTC evaluation time.

Status-code: 200 OK

Illustrative response; UUIDs, road names, locations, and timestamps are example data, not a live capture:

{
  "incidents": [
    {
      "id": "9f26d66b-42c7-4d76-9a2c-4fb96a851201",
      "location_references": [
        {"openlr": "Cwhv9S369y9IAP8A/xsSBA=="}
      ],
      "road_name": "Example Road",
      "incident_type": "INCIDENT_TYPE_ROAD_CLOSURE"
    },
    {
      "id": "2c98b157-e0f4-4b8a-91cf-63ba2c7f3a02",
      "location_references": [
        {"openlr": "CyEjBBF+EiuyAP/h/9UrEg=="}
      ],
      "incident_type": "INCIDENT_TYPE_TRAFFIC",
      "metadata": {
        "ugc_report": {"upvotes": 5, "downvotes": 0}
      }
    }
  ],
  "read_time": "2026-10-23T08:30:00.412Z"
}
Notes on the response
  • An empty result is a successful response, not a 404. incidents is omitted when there are no incidents; treat that as an empty collection.
  • read_time is when this set of incidents was evaluated. It is not an incident’s start, end, or last-update time, and it may include fractional seconds.
  • Location references describe the affected direction of travel. Do not assume the opposite direction is also affected.
Incident Parameters

An Incident represents a closure or incident affecting one or more directed road segments.

Name Type Description
id string Stable incident UUID.
location_references LocationReference[] Affected road segments.
road_name string Optional. Road name.
incident_type IncidentType Kind of event.
metadata IncidentMetadata Optional. Report votes.
  • id persists across polls for the life of the incident.
  • road_name is omitted when the road has no name.
  • location_references has one OpenLR reference per affected road segment, ordered along the incident’s path and oriented in the affected direction of travel.
LocationReference Parameters
Name Type Description
openlr string Base64-encoded binary OpenLR reference.

OpenLR is currently the only supported location-reference format.

IncidentType Options
Name Description
INCIDENT_TYPE_INVALID Unset sentinel; not an event type.
INCIDENT_TYPE_ROAD_CLOSURE Road closure.
INCIDENT_TYPE_ACCIDENT Accident.
INCIDENT_TYPE_ROADWORKS Roadworks.
INCIDENT_TYPE_OBSTRUCTION Obstruction.
INCIDENT_TYPE_TRAFFIC Traffic incident or congestion.
INCIDENT_TYPE_SPEED_CHECK Speed check.
INCIDENT_TYPE_OTHER Any other supported incident type.
IncidentMetadata Parameters

The schema defines two mutually exclusive metadata variants.

Name Type Description
ugc_report object Optional. User-generated report votes.
ugc_report.upvotes uint32 Optional. Confirmation count.
ugc_report.downvotes uint32 Optional. Rejection count.
  • If upvotes or downvotes is absent, do not interpret it as an observed zero.

Errors

See Errors for HTTP status codes and how to handle them, and Rate Limits for quotas.

Uber

Developers
© 2026 Uber Technologies Inc.