GET assets/geo-clustered

Returns the list of clustered asset geo coordinates

Request

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

acreageMax

decimal number

Optional

acreageMin

decimal number

Optional

activationDateMax

date

Max date of activation

Optional

activationDateMin

date

Min date of activation

Optional

activationPeriod

string

Activation period

Optional

Possible values are: 'TwentyFourHours', 'SevenDays', 'TwoWeeks', 'OneMonth', 'ThreeMonths', 'SixMonths', 'TwelveMonths', 'Custom'

brokerIds

Collection of integer

Optional

brokerOrBrokerage

string

BrokerOrBrokerage

Optional

cities

Collection of string

Cities

Optional

classes

Collection of string

Classes

Optional

Possible values are: 'A', 'B', 'C', 'D'

counties

Collection of string

Counties

Optional

country

string

Country

Optional

geometry

GeometryParameters

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}]}

includeUndisclosedRate

boolean

Optional

latitudeMax

decimal number

Optional

latitudeMin

decimal number

Optional

longitudeMax

decimal number

Optional

longitudeMin

decimal number

Optional

mapHeight

integer

Optional

mapWidth

integer

Optional

radius

unsigned integer

Optional

Default value is 40

rateMax

decimal number

Optional

rateMin

decimal number

Optional

rateType

string

Optional

Possible values are: 'Per Year', 'Per Month'

sqftMax

integer

Optional

sqftMin

integer

Optional

states

Collection of string

States

Optional

subtypes

Collection 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'

tenancies

Collection of string

Tenancies

Optional

Possible values are: 'Single', 'Multiple'

term

string

Asset search term

Optional

types

Collection of string

List of asset type names

Optional

Possible values are: 'Retail', 'Office', 'Industrial', 'Land'

updatedSince

date

Only return assets updated since the specified date

Optional

zips

Collection of string

Zips

Optional

zoom

unsigned 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

Assets

Collection of AssetGeoData

Center

GeoData

Clusters

Collection of GeoClusterData

Zoom

unsigned 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
}