StreetLight Advanced Traffic Counts API
Returns metrics for StreetLight segments within your defined geometry. You can request many types of metrics and filter your results. For more information, see Available Metrics.
Queries to this endpoint count against your quota
Segments queried in calls to the Metrics endpoint count against your segment quota. Each row returned from the metrics endpoint counts against your segment quota, even if you are querying the same segments. Use the Segment Count endpoint to see how many segments will be in your query.
You can merge geometry data from the geometry
endpoint with the metrics from the metrics
endpoint to visualize the metrics for each segment with the following recipe:
Use caution when using the nearest
geometry type and the date_range
parameter to get metrics in situations that may have very low sample data, such as pedestrian
travel mode with day_parts
late at night. This may yield a different selection of segments being returned for each month/year.