Urbanum Logo

API Documentation

External parties can acces information about industrial and office buildings, including property details, location information, pricing, and availability. This API makes it easy for external parties to streamline their processes and access the data they need to provide their customers with up-to-date information about properties all over the world.

The Urbanum API is a REST API accessible through HTTPs. All endpoints return JSON-encoded responses and uses standard HTTP response codes and verbs.

Authentication

Authentication to the API is performed via the Authorization header.

i.e. Get buildings

curl https://api.urbanum.app/v1/buildings -H "Authorization: Bearer eyJhbGciOiJIUzI1Ni..."

Resources

Refresh Token

Allows the user to exchange a valid refresh token for a new access token, which can be used to continue accessing the service.

Endpoint URL: https://api.urbanum.app/v1/auth/token/refresh

Request headers:

Request body:

The request body should contain a JSON object with the following field:

Example request body:

 {
    "refresh_token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9..."
}

Response:

The API responds with a JSON object containing the access token and its expiration time:

Example response body:

{
    "access_token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9...",
    "expires_in": 3600
}

Possible response status codes:

Retrieve Buildings

Endpoint URL: https://api.urbanum.app/v1/buildings

This endpoint retrieves a list of active buildings in the platform.

Parameters:

Example request

curl https://api.urbanum.app/buildings -H "Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9..."

Example response

{
	"current_page": 1,
  "count": 9123,
  "previous": null,
  "total_pages": 457,
  "page_size": 20,
  "next": "https://api.urbanum.app/v1/buildings?page=2",
  "results": [
    {
      "token_id": "47917",
      "name": "902 Hornet Way",
      "building_type": "industrial",
      "year_built": 2018,
      "location": {
        "lat": 33.92429530236272,
        "lng": -118.38010767243841
      },
      "address": "902 Hornet Way, El Segundo, California 90245, United States",
      "rentable_area": 90534.67095135504,
      "available_area": 0,
			"street_number": "902",
			"street_name": "Hornet Way",
			"city": "El Segundo",
			"state": "California",
			"country": "United States",
			"zipcode": "90245",
			"market": "Los Angeles Industrial",
			"submarket": "Downtown Los Angeles",
			"developer_name": null,
			"status": "existing",
			"rating": "4",
			"attributes": {
        "min_clear_height": 20,
        "building_use": "Warehouse",
        "dock_high_doors": 4,
        "drive_in_doors": 2,
        "sprinklers": true,
        "rating": "4",
        "parking_non_trailer": 50,
        "tenancy": "Single",
        "lot_size": 100000,
        "walls": "Concrete",
        "power": "400 Amps",
        "office_area": 5000,
        "rail_spur": false,
        "skylights": true,
        "hvac": "Central",
        "sustainability": "LEED Certified",
        "parking_trailer": 20,
        "developer_name": null,
        "column_spacing": 40
			}
    }
    ...
  ]
}

Fields