BaroclineBarocline
GaugeRisk Data

getAddressRiskData

Returns risk information for the supplied peril and addresses.

POST
/v3/risk/addresses

Returns risk information for the supplied peril and addresses in either CSV or JSON (default). Each address and the coordinates will be returned as part of the response. If an address cannot be found, the results for the center of that city will be provided.

Query Parameters

format*string

The response format either JSON or CSV (JSON is the default).

Value in"json" | "csv"
userKey*string

The user key.

additionalData?boolean

Request extra data (more than just the risk score, JSON only).

Defaultfalse
returnPerilWithNoData?boolean

Request to have a response of "N/A" returned in place of a risk score when no data is available.

Defaultfalse

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

curl -X POST "https://gauge.atheniumanalytics.com/v3/risk/addresses?perils=EARTHQUAKE&format=json&userKey=string" \  -H "Content-Type: application/json" \  -d '[    "address1",    "address2"  ]'
[
  {
    "state": "string",
    "peril": "Cold",
    "riskScore": "string",
    "lat": 0.1,
    "lng": 0.1,
    "address": "string",
    "details": null
  }
]
Empty
Empty
Empty