> ## Documentation Index
> Fetch the complete documentation index at: https://docs.getriskdata.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Introduction

> Risk data for a property and its buildings, from one address or point.

The GetRiskData API takes one location and returns what we know about it. You send an address or coordinates. We find the parcel and its buildings, measure them from imagery and public records, and return one JSON analysis.

An analysis has two parts:

* **`location`**: the geocoded point, the parcel, hazards, heritage protection, surroundings such as road access and the nearest fire station, and a summary across the buildings.
* **`buildings`**: one entry per building, with its footprint, dimensions, construction, roof, facade, occupancy and valuation.

## How a request works

**1. Submit a location**

`POST /analyses` with an address or coordinates. The answer is `202 Accepted` with an `analysis_id`.

**2. Poll the analysis**

`GET /analyses/{analysis_id}` returns the analysis in every state. While it runs, the response carries `Retry-After`.

**3. Read the result**

When `status` is `completed` or `partial`, the analysis holds every field we found.

## Base URL

```text theme={null}
https://api.getriskdata.com/v1
```

Every request needs an API key in the `Authorization` header. See [Authentication](https://docs.getriskdata.com/authentication.md).

## Conventions

* **Missing or null.** A field we have no data for is left out, so read every field as optional. An attribute we assessed without a result keeps its key, with `"value": null` and a `status` such as `unknown`. Check `value` before you use it.
* **Units travel with the value.** A measurement is `{"value": 15101.0, "unit": "m2"}`. Add `?units=imperial` to get feet, square feet and miles.
* **Additive changes only.** Within `v1` we only add fields and enum values. Ignore fields you don't know, and treat an unknown enum value as "other".
* **Coverage varies by country.** A section that does not apply in a country is left out or carries a status such as `not_assessed`.

> [card] [Quickstart](https://docs.getriskdata.com/quickstart.md)
>
> Submit your first location and read the result.

> [card] [API reference](https://docs.getriskdata.com/api-reference/analyses/get-an-analysis.md)
>
> Every field, with an example for each country.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.