The getByAddress query returns data based on the input address.
This query is supported for all datasets.
Query syntax:
Query Syntax:
getByAddress(
address: String!
country: String = "USA"
): RelationEntity| Parameter | Type | Required | Description |
|---|---|---|---|
| address | String | Required | The address to search on. This address may include the country. |
| country | String | Required if country is not United States | The country in which the address you are searching on is located:
|
Example
This query takes an address and returns structured geospatial data for any buildings at that location, including building type, geographic identifiers, coordinates, elevation details, floor area, and geometry..
query getByAddress {
getByAddress(address: "3252 Fulton St, Denver, CO 80238") {
buildings {
data {
buildingID
buildingType {
value
description
}
ubid
fips
geographyID
latitude
longitude
elevation
maximumElevation
minimumElevation
buildingArea
geometry
}
}
}
}