The Physical Risk API allows you to retrieve detailed physical climate risk data for any location globally.
https://app.alphageo.ai/api/public/v1/risk_data
$ curl --location 'https://app.alphageo.ai/api/public/v1/risk_data?longitude=-97.2805288&latitude=32.7376509&period=2035&scenario=SSP245' \
--header 'Authorization: dse3X8de878c37b2fd6835c52390303fk15fc3'
import requests
url = "https://app.alphageo.ai/api/public/v1/risk_data?longitude=-97.2805288&latitude=32.7376509&period=2035&scenario=SSP245"
payload = {}
headers = {
'Authorization': 'dse3X8de878c37b2fd6835c52390303fk15fc3'
}
response = requests.request("GET", url, headers=headers, data=payload)
print(response.text)
A successful response containing physical climate risk data of the given location.
{
"identifiers":{
"SCENARIO":"SSP245",
"PERIOD":"2035"
},
"heat_stress":{
"CDD":1124.0,
"HOTDAYS_ABV90P":52.0,
"HOTDAYS105":14.0,
"TMAX5DAY":107.0,
"MAX_TEMP":109.28,
"MAX_TEMP_CEL":42.94
},
"inland_flooding":{
"MAX_CONS_WETDAYS":15.0,
"MEAN_PR":0.16,
"MEAN_PR_MM":4.14,
"PRDAYS_ABV95TH":18.0,
"PR_DAYS_2INCH":3.75,
"FLD_ZONE_FRAC":0.61
},
"coastal_flooding":{
"INUN_0100":0,
"INUN_0250":0,
"INUN_1000":0,
"SLR_CHG":0
},
"drought":{
"MAX_CONS_DRYDAYS":11.0,
"HOTDAYS105":14.0,
"WS":1.1,
"SV":0.31
},
"hurricane_wind":{
"HU_MWS":0,
"HU_CAT":0,
"HU_AF":0,
"HU_RP":0
},
"wildfire":{
"MAX_CONS_DRYDAYS":11.0,
"HOTDAYS105":14.0,
"AVG_VC":0
},
"data_version":"March 2024"
}