getAllRisks
GET https://{{base_url}}/v1/getAllRisks/{{Project_Id}}
Get the risk assessment data of the project whose id is specified in {Project_Id}.
The difference with getRisksMetered is that generating a project uses up one credit, but can be called any number of times.
Path parameters:
- Project_Id: The id of the project you generated using the Projects/postProjects or Projects/getProjects endpoints.
Returns:
This endpoint returns the same data as the getRisksMetered above with the additional following data:
- ...
- id: Same project id as provided above
- userEmail: The email of the user who generated the project
- address: The address of the project's location
- lat: Latitude
- long: Longitude
- blockId: Id of the census block
- countyId: Id of the project's county
- state: Name of the project's state
- createdAt: Date of generation
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Apikey | string |
RESPONSES
status: OK
{"id":"83c0ba80-4075-11ec-ad14-739f55b25d97","userEmail":"william.madison@gmail.com","address":"80456, Jefferson, Colorado","lat":39.306354234338315,"long":-105.7294140624965,"blockId":"0004001232","countyId":"08093","createdAt":1636363399,"state":"Colorado","county":"Park County","globalRiskScore":42.1224756439,"globalEnvironmentalRiskScore":38.4262812955,"globalSocietalScore":31.7054692587,"socioEconomicScore":30.72,"stormScore":15.7,"wildfireScore":31.33,"crimeScore":3.68,"droughtScore":25.332575,"floodScore":0,"volScore":0,"nuclearScore":0,"earthquakeScore":37,"airQualityScore":53,"healthcareScore":42.69,"socioEconomicData":{"medianHouseholdIncomeRaw":69884,"medianHouseholdIncome":41.59,"unemploymentRateRaw":2.9,"unemploymentRate":8.6,"educationalAttainmentRaw":292.1,"educationalAttainment":63.26,"povertyRateRaw":8.6,"povertyRate":10.43,"incomeInequalityRaw":3.93,"incomeInequality":18.28},"stormData":{"riskScoreTornadoes":10,"riskScoreHurricanes":0,"riskScoreHailStorms":9,"riskScoreSnowStorms":89,"riskScoreBlizzard":30,"tornadoesFujitaCount":{"aboveFujitaScale0":2,"aboveFujitaScale1":3,"aboveFujitaScale2":2,"aboveFujitaScale3":0,"aboveFujitaScale4":0,"aboveFujitaScale5":0},"tornadoesFujitaScore":{"aboveFujitaScale0":10,"aboveFujitaScale1":10,"aboveFujitaScale2":10,"aboveFujitaScale3":0,"aboveFujitaScale4":0,"aboveFujitaScale5":0},"hailCountSizes":{"allSizes":33,"size05in":33,"size075in":33,"size1in":23,"size15in":11},"hailScoreSizes":{"allSizes":9,"size05in":9,"size075in":9,"size1in":9,"size15in":9},"snowCountInches":{"alarmTreshold":139,"snowfall4in":495,"snowfall8in":139,"snowfall12in":50},"snowScoreInches":{"alarmTreshold":89,"snowfall4in":100,"snowfall8in":97,"snowfall12in":93},"snowAlarmThreshold":8,"totalSnowAllTime":5538,"hurricaneScoresKt":{"allEvents":0,"stormIntensity34kt":0,"hurricaneIntensity64kt":0},"stormsEventsByWindSpeed":"{\"hn34\":[],\"hn34-64\":[],\"hn64\":[]}"},"volcanoData":{"nearestVolcano":"Dotsero","volcanoDistance":72.36},"airQualData":{"nearestHubStation":"Rocky Mountain National Park","nearestHubDistance":67.6,"medianAQI":49,"maxAQI":157,"AQIValues2019":[50,49,90,84,90,115,112,105,112,71,46,50]},"droughtData":{"droughtIndex2000To2019":[0,119,70,33,0,14,0,0,5,0,5,77,48,0,0,8,8,48,19],"numberWeeksAbnormallyDry":735,"numberWeeksModerateDrought":472,"numberWeeksSevereDrought":262},"nuclearData":{"nearestNuclearPPDistance":80.45},"wildfireData":{"avgTempIncrease":2.34,"burnRiskDistribution":{"veryHigh":0.02,"high":0.1,"moderate":0.17,"low":0.28,"veryLow":0.43}},"floodData":{"averageAltitude":-1,"expectedSeaLevelRise":-1,"isCoastalArea":0},"earthquakeData":{"earthquakeMercalliIndex":6.43},"healthcareData":{"distanceNearestHospital":24.01,"hospitalsPerInhabitants":0},"crimeData":{"source":"predicted","medianHouseholdIncome":76563,"percentUnemployed":3.11,"population":1581,"populationDensity":1,"povertyRate":8.6000004,"policeDepartmentsNearby":0,"violentCrimeNumber":2,"propertyCrimeNumber":4,"vehicleTheftNumber":1,"vandalismNumber":1,"propertyCrimeScore":4.74,"violentCrimeScore":3.16,"vehiculeTheftScore":6.21,"vandalismScore":3.45}}