The Scores API allows you to retrieve physical climate risk and resilience-adjusted risk scores for any location globally.
https://app.alphageo.ai/api/public/v1/scores
$ curl --location 'https://app.alphageo.ai/api/public/v1/scores?longitude=-97.2805288&latitude=32.7376509&period=2035&scenario=SSP245' \
--header 'Authorization: dse3X8de878c37b2fd6835c52390303fk15fc3'
import requests
url = "https://app.alphageo.ai/api/public/v1/scores?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 and resilience-adjusted risk scores of the given location.
{
"identifiers":{
"SCENARIO":"SSP245",
"PERIOD":"2035"
},
"overall_indicators":{
"OVERALL_RISK_SCORE":15.0,
"TOTAL_PHYSICAL_IMPACT":0.0,
"OVERALL_RAJ_SCORE":11.0,
"TOTAL_RAJ_IMPACT":-0.68
},
"heat_stress":{
"HEAT_SCORE":37.0,
"HEAT_IMPACT":0.0,
"HEAT_RAJ_SCORE":86.0,
"HEAT_RAJ_IMPACT":-0.68
},
"inland_flooding":{
"INLAND_SCORE":34.0,
"INLAND_IMPACT":0.0,
"INLAND_RAJ_SCORE":6.0,
"INLAND_RAJ_IMPACT":0.0
},
"coastal_flooding":{
"COASTAL_SCORE":0.0,
"COASTAL_IMPACT":0.0,
"COASTAL_RAJ_SCORE":0.0,
"COASTAL_RAJ_IMPACT":0.0
},
"drought":{
"DROUGHT_SCORE":52.0,
"DROUGHT_IMPACT":0.0,
"DROUGHT_RAJ_SCORE":4.0,
"DROUGHT_RAJ_IMPACT":0.0
},
"hurricane_wind":{
"WIND_SCORE":0.0,
"WIND_IMPACT":0.0,
"WIND_RAJ_SCORE":0.0,
"WIND_RAJ_IMPACT":0.0
},
"wildfire":{
"FIRE_SCORE":0.0,
"FIRE_IMPACT":0.0,
"FIRE_RAJ_SCORE":0.0,
"FIRE_RAJ_IMPACT":0.0
},
"data_version":"March 2024"
}