GET assets/geo-clustered
Returns the list of clustered asset geo coordinatesRequest
URL ( doesn't require authentication )
https://api-lease.crexi.com/assets/geo-clustered?term={term}&types=types[0]&types=types[1]&subtypes=subtypes[0]&subtypes=subtypes[1]&brokerIds=brokerIds[0]&brokerIds=brokerIds[1]&country={country}&brokerOrBrokerage={brokerOrBrokerage}&states=states[0]&states=states[1]&counties=counties[0]&counties=counties[1]&cities=cities[0]&cities=cities[1]&zips=zips[0]&zips=zips[1]&tenancies=tenancies[0]&tenancies=tenancies[1]&geometry={geometry}&classes=classes[0]&classes=classes[1]&acreageMin={acreageMin}&acreageMax={acreageMax}&sqftMin={sqftMin}&sqftMax={sqftMax}&rateMin={rateMin}&rateMax={rateMax}&latitudeMin={latitudeMin}&latitudeMax={latitudeMax}&longitudeMin={longitudeMin}&longitudeMax={longitudeMax}&zoom={zoom}&radius={radius}&mapWidth={mapWidth}&mapHeight={mapHeight}&activationPeriod={activationPeriod}&activationDateMin={activationDateMin}&activationDateMax={activationDateMax}&rateType={rateType}&includeUndisclosedRate={includeUndisclosedRate}&updatedSince={updatedSince}Parameters
acreageMaxdecimal number |
Optional |
acreageMindecimal number |
Optional |
activationDateMaxdate |
Max date of activation Optional |
activationDateMindate |
Min date of activation Optional |
activationPeriodstring |
Activation period Optional Possible values are: 'TwentyFourHours', 'SevenDays', 'TwoWeeks', 'OneMonth', 'ThreeMonths', 'SixMonths', 'TwelveMonths', 'Custom' |
brokerIdsCollection of integer |
Optional |
brokerOrBrokeragestring |
BrokerOrBrokerage Optional |
citiesCollection of string |
Cities Optional |
classesCollection of string |
Classes Optional Possible values are: 'A', 'B', 'C', 'D' |
countiesCollection of string |
Counties Optional |
countrystring |
Country Optional |
geometryGeometryParameters |
Polygons and Circles spatial filters. JSON object. Optional JSON: {"Polygons":[{"Coordinates":[{"Lt":41.849923,"Lg":-119.915771},{"Lt":38.973076,"Lg":-119.915771},{"Lt":35.99223,"Lg":-115.982666},{"Lt":36.098826,"Lg":-114.071045},{"Lt":41.882649,"Lg":-114.0271},{"Lt":41.849923,"Lg":-119.915771}]}],"Circles":[{"Coordinates":{"Lt":34.052234,"Lg":-118.243685},"Radius":0.34567}]} |
includeUndisclosedRateboolean |
Optional |
latitudeMaxdecimal number |
Optional |
latitudeMindecimal number |
Optional |
longitudeMaxdecimal number |
Optional |
longitudeMindecimal number |
Optional |
mapHeightinteger |
Optional |
mapWidthinteger |
Optional |
radiusunsigned integer |
Optional Default value is 40 |
rateMaxdecimal number |
Optional |
rateMindecimal number |
Optional |
rateTypestring |
Optional Possible values are: 'Per Year', 'Per Month' |
sqftMaxinteger |
Optional |
sqftMininteger |
Optional |
statesCollection of string |
States Optional |
subtypesCollection of string |
Optional Possible values are: 'Executive Suite', 'Co-working', 'Medical', 'Creative Office', 'Warehouse / distribution', 'Refrigerated', 'Manufacturing', 'Flex', 'Restaurant', 'Storefront', 'Traditional', 'Outparcel/Pad', 'Power Center', 'Strip Center', 'Professional', 'Free Standing' |
tenanciesCollection of string |
Tenancies Optional Possible values are: 'Single', 'Multiple' |
termstring |
Asset search term Optional |
typesCollection of string |
List of asset type names Optional Possible values are: 'Retail', 'Office', 'Industrial', 'Land' |
updatedSincedate |
Only return assets updated since the specified date Optional |
zipsCollection of string |
Zips Optional |
zoomunsigned integer |
Optional |
Response
Details
Returns an HTTP 200 OK and asset locations with clusters info if operation was successful. Returns 400 Bad Request and an error message otherwise.
Data fields
AssetsCollection of AssetGeoData |
|
CenterGeoData |
|
ClustersCollection of GeoClusterData |
|
Zoomunsigned integer |
|
Example
JSON
{ "Assets": [ { "AssetId": 10, "Latitude": 160.0, "Longitude": 90.0 }, { "AssetId": 10, "Latitude": 160.0, "Longitude": 90.0 }, { "AssetId": 10, "Latitude": 160.0, "Longitude": 90.0 } ], "Center": { "Latitude": 160.0, "Longitude": 90.0 }, "Clusters": [ { "Boundaries": { "LatitudeMax": 47.9, "LatitudeMin": 47.6550196, "LongitudeMax": -121.054332, "LongitudeMin": -122.6799419 }, "ClusterSize": 13, "Latitude": 130.0, "Longitude": 60.0 }, { "Boundaries": { "LatitudeMax": 47.9, "LatitudeMin": 47.6550196, "LongitudeMax": -121.054332, "LongitudeMin": -122.6799419 }, "ClusterSize": 1, "Latitude": 160.0, "Longitude": 90.0 } ], "Zoom": 5 }