Skip to main content

Addresses

GET /v1/map/addresses

Retrieves detailed metadata for a specific address, including the building polygon, entrance locations, parking zones, and elevation access points.

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

Request

Query Parameters

ParameterTypeRequired?Description
addressstringYesThe full address string to query.
Example: 550 W 54th St, New York, NY, 10019

Example Request

curl "https://api.core.doorstep.ai/v1/map/addresses?address=550 W 54th St, New York, NY, 10019" \
-H "Authorization: Bearer $API_KEY"

Response

Metadata for the requested address.

Response Body

FieldTypeDescription
_idstringUnique identifier for the address.
addressobjectThe resolved address.
address.normalizedstringThe base address after it has been cleaned up and standardized.
address.unitstring or nullThe unit, if one was found.
polygonGeoJSON PolygonThe building footprint.
entrancesarray of GeoJSON Point FeaturesThe building's entrances. Each entrance may set primary (the building's main entry) and preferred (the best entry for this address).
parkingGeoJSON FeatureParking zone linked to the preferred entrance.
parking.properties.streetsGeoJSON PolygonThe parking area along the street.
parking.properties.centerGeoJSON PointCenter point of the parking zone.
parking.properties.coveredbooleanWhether the parking is covered.
elevationsarray of GeoJSON Point FeaturesElevation access points linked to the preferred entrance. Each sets method, either elevator or staircase.

Coordinate arrays in the example below are shortened for readability.

Example Response

{
"_id": "69351bf670ca5a2ce091b288",
"address": {
"normalized": "550 W 54th St, New York, NY, 10019",
"unit": null
},
"polygon": {
"type": "Polygon",
"coordinates": [
[
[-73.9927208, 40.7682455],
[-73.9927968, 40.7681424],
[-73.9930703, 40.7677714],
[-73.9927208, 40.7682455]
]
]
},
"entrances": [
{
"type": "Feature",
"properties": {
"_id": "e7fbbb63-0f48-4cb1-9371-918c7a83010b"
},
"geometry": {
"type": "Point",
"coordinates": [-73.99268101925855, 40.767606822432576]
}
},
{
"type": "Feature",
"properties": {
"_id": "3bada372-45da-4257-8e88-28d8ca857145",
"primary": true,
"preferred": true
},
"geometry": {
"type": "Point",
"coordinates": [-73.99158151537485, 40.76776374185844]
}
}
],
"parking": {
"type": "Feature",
"properties": {
"_id": "0eb8af9c-70e2-4200-9c8f-c5dc8d4a0eba",
"streets": {
"type": "Polygon",
"coordinates": [
[
[-73.99119735960485, 40.767741205467516],
[-73.99121305166163, 40.76772180985146],
[-73.99119735960485, 40.767741205467516]
]
]
},
"center": {
"type": "Point",
"coordinates": [-73.99147619492871, 40.76785816458687]
},
"covered": false
},
"geometry": {
"type": "Polygon",
"coordinates": [
[
[-73.99115967045111, 40.767850265478216],
[-73.99116148392595, 40.76782753606264],
[-73.99115967045111, 40.767850265478216]
]
]
}
},
"elevations": [
{
"type": "Feature",
"properties": {
"_id": "1d219d20-0749-4122-b3c2-f4147b7afbaa",
"method": "elevator"
},
"geometry": {
"type": "Point",
"coordinates": [-73.99199627495157, 40.767693999789486]
}
}
]
}