Skip to main content

Buildings

GET /v1/analytics/buildings

Returns building-level analytics and reference data for a specific address, including delivery counts, building characteristics, and time metrics.

Requires an API key sent as a Bearer token in the Authorization header.

Request

Query Parameters

ParameterTypeRequired?Description
addressstringYesThe building to analyze.
Example: 123 Main St, San Francisco, CA 94105

Example Request

curl "https://api.core.doorstep.ai/v1/analytics/buildings?address=123 Main St, San Francisco, CA 94105" \
-H "Authorization: Bearer $API_KEY"

Response

Building-level analytics for the requested address.

Response Body

FieldTypeDescription
deliveryCountintegerTotal number of deliveries to the building.
elevationMethodstringHow floors are reached.
One of: elevator, stairs, both, none.
deliveryTypesobjectMap of delivery type to delivery count.
timeMetricsobjectMedian time metrics for the building, in seconds. See Time Metrics for each field.

All time values are in seconds.

Example Response

{
"deliveryCount": 1842,
"elevationMethod": "elevator",
"deliveryTypes": {
"doorstep": 1204,
"threshold": 638
},
"timeMetrics": {
"handoverTime": 180,
"inBuildingTime": 95,
"activeTime": 210,
"walkingTime": 140
}
}

Common Applications

  • Adjust stop time estimates based on address complexity
  • Validate expected delivery type when reviewing disputes