Skip to main content

Add an asset to a project in bulk

This API endpoint allows you to add multiple assets to a project in bulk. The asset is the main container for all the data and analysis results of a specific asset.

warning

Maximum of 500 assets can be added in a single request.

API Endpoint

[POST] https://api.intensel.net/apiv2/add_bulk_assets/

Request Arguments

ArgumentTypeDescription
project_namestringThe Name of the project.
asset_datalistThe list of asset data.

Available Fields for asset_data

The asset data is a dictionary with the following keys:

✅ indicates a required field, while ❌ indicates an optional field.

KeyTypeRequiredDescription
namestringThe name of the asset.
latitudefloatThe latitude of the asset.
longitudefloatThe longitude of the asset.
areafloatThe area of the asset.
valuationfloatThe valuation of the asset.
storiesintThe number of stories of the asset.
revenuefloatThe revenue of the asset.
property_typestringThe property type of the asset.
ownershipstringThe ownership of the asset.
replacement_valuefloatThe replacement value of the asset.
content_valuefloatThe content value of the asset.
basementstringWhether the asset has a basement. (Yes/No)
mitigation_riskintThe Flood Mitigation Risk of the asset. (0,1,2,3)
(0-No Risk, 1-Low Risk, 2-Moderate Risk, 3-High Risk)
exclude_ground_floorstringWhether to exclude the ground floor from the analysis. (Yes/No)
plinth_heightfloatThe plinth height of the asset.

Note: Fields marked as ✅ are required and must be included in the request. Others are optional.

Request Example

import requests
URL = "https://api.intensel.net/apiv2/add_bulk_assets/"
headers = {
'X-Intensel-Api-Key': 'YOUR_API_KEY',
}
payload = {
"project_name": "My Awesome Project",
"asset_data" : [
{
"name": "Hong Kong Park",
"latitude": 22.424645494250665,
"longitude" : 114.2135547607693,
"area": 2509,
"valuation": 2117.25,
"stories": 3
},
{
"name": "Canal Rd West",
"latitude": 22.27806830351389,
"longitude" : 114.18119155173112,
"area": 1810,
"valuation": 2117.25,
"stories": 3
}
]
}
response = requests.post(URL, json=payload, headers=headers)
data = response.json()
print(data)

Respose

{
"message": "2 assets added successfully"
}
{
"message": "You have reached your limit of assets. Please Contact Intensel to increase asset limit."
}
{
"message": "You can add only 500 assets at a time."
}

Example Response

Bulk Asset add Response JSON -> view response