---
title: "Site facts (woom digital values) for one parcel"
description: "Site values for one Swiss parcel by EGRID (national `dd_metric`, 20 cantons). Values only, no risk verdicts. `null` = not available, never zero. Units are in the column names (`_m`, `_deg`, `_pct`, `_c`, `_mm`, `_ugm3`, `_cm`). Covers shape, terrain (elevation, slope, aspect), road access, population 100 m / 500 m, seismic zone, subsoil, hail, PM10/PM2.5, groundwater heat class, nearby GWR activity, climate normals and 2085 scenarios (RCP 2.6 / 4.5 / 8.5).\n\nRisk flags, scores and classes stay admin-only (`/res_api/dd/parcel/{egrid}`). `sources` lists the provenance per column group for the parcel's canton. A parcel outside the covered cantons answers 200 with `coverage: \"none\"` and `metrics: null`.\n\nAuth: a signed-in user's Zitadel id_token, or for server proxies the suite bearer or the suite `token` header. Cache-Control `private, max-age=300`; per-IP rate limit 120/min."
---

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

Path: RES API (public) › Parcel

`GET /res_api/dd/metric/{egrid}`

Site values for one Swiss parcel by EGRID (national `dd_metric`, 20 cantons). Values only, no risk verdicts. `null` = not available, never zero. Units are in the column names (`_m`, `_deg`, `_pct`, `_c`, `_mm`, `_ugm3`, `_cm`). Covers shape, terrain (elevation, slope, aspect), road access, population 100 m / 500 m, seismic zone, subsoil, hail, PM10/PM2.5, groundwater heat class, nearby GWR activity, climate normals and 2085 scenarios (RCP 2.6 / 4.5 / 8.5).

Risk flags, scores and classes stay admin-only (`/res_api/dd/parcel/{egrid}`). `sources` lists the provenance per column group for the parcel's canton. A parcel outside the covered cantons answers 200 with `coverage: "none"` and `metrics: null`.

Auth: a signed-in user's Zitadel id_token, or for server proxies the suite bearer or the suite `token` header. Cache-Control `private, max-age=300`; per-IP rate limit 120/min.

## Authentication

Requires one of the following:

- `BearerToken`, http, header `Authorization`
- `ZitadelJWTVerified`, http, header `Authorization`, format `JWT`
- `ResApiToken`, apiKey, in header, header `token`

## Path parameters

- `egrid` (`getParcelDdMetrics.path.egrid`; string, required): Parcel EGRID, e.g. CH938579012803.
  - pattern `^[Cc][Hh][0-9A-Za-z]{6,24}$`

## Code samples

### cURL

```bash
curl --request GET \
  --url 'https://res.aireon.ch/res_api/dd/metric/<egrid>' \
  --header 'Authorization: Bearer <token>'
```

### TypeScript

```typescript
const url = 'https://res.aireon.ch/res_api/dd/metric/<egrid>';
const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};

fetch(url, options)
  .then(res => res.json())
  .then(json => console.log(json))
  .catch(err => console.error(err));
```

### Python

```python
import requests

url = "https://res.aireon.ch/res_api/dd/metric/<egrid>"

headers = {"Authorization": "Bearer <token>"}

response = requests.get(url, headers=headers)

print(response.text)
```

## Responses

### 200

Site values, or `coverage: "none"` outside the covered cantons.

#### Example

```json
{
  "egrid": "string",
  "canton": "string",
  "coverage": "covered",
  "metrics": {
    "property1": 0,
    "property2": 0
  },
  "sources": [
    {
      "group": "string",
      "columns": [
        "string"
      ],
      "source": "string",
      "vintage": "string"
    }
  ],
  "computedAt": "2019-08-24T14:15:22Z"
}
```

- `egrid` (`getParcelDdMetrics.response.200.egrid`; string, required)
- `canton` (`getParcelDdMetrics.response.200.canton`; string | null, required): AV canton code.
- `coverage` (`getParcelDdMetrics.response.200.coverage`; string, required)
  - one of `"covered"`, `"none"`
- `metrics` (`getParcelDdMetrics.response.200.metrics`; object | null, required): dd_metric column name -> value. Numbers, except aspect_main, seismic_zone, subsoil_class, gw_heat_class and gw_body_type (text). null = not available.
- `sources` (`getParcelDdMetrics.response.200.sources`; array<object>, required)
  - `group` (`getParcelDdMetrics.response.200.sources.group`; string, optional)
  - `columns` (`getParcelDdMetrics.response.200.sources.columns`; array<string>, optional)
  - `source` (`getParcelDdMetrics.response.200.sources.source`; string | null, optional)
  - `vintage` (`getParcelDdMetrics.response.200.sources.vintage`; string | null, optional)
- `computedAt` (`getParcelDdMetrics.response.200.computedAt`; string | null, required)
  - format `date-time`

### 400

Invalid EGRID.

### 401

Authentication missing or invalid.

#### Example

```json
{
  "error": "string",
  "message": "string"
}
```

- `error` (`getParcelDdMetrics.response.401.error`; string, required): Human-readable error description.
- `message` (`getParcelDdMetrics.response.401.message`; string, optional): Optional underlying error message.

### 404

Unknown EGRID.

### 429

Rate limited.


Source: https://docs.aireon.ch/res/get-parcel-dd-metrics/index.md
