post
https://api.streetlightdata.com/satc/v1/segmentcount
Recent Requests
Log in to see full request history
| Time | Status | User Agent | |
|---|---|---|---|
Retrieving recent requests… | |||
Loading…
Returns the number of segments for a given geometry, regardless of whether they have data for the given parameters (mode, source, year, and filters such as roadway_classification).
The results from this endpoint should never be lower than the number of rows returned by the metrics endpoint but may be higher.
When source is agps (including mode: truck), segment_count is an array of objects keyed by OSM vintage, for example [{"202302": 123}]. For other sources, segment_count is an integer.
For mode: truck, use country: us, source: agps, and a year of 2023 or 2024. When source is agps, year is required unless osm_vintage is provided. See Truck metrics.
