# Dutch Elevation Lookup (AHN)

> Dutch Elevation Lookup (AHN) is a paid API for AI agents from api.agenticweb.nl, paid per call via x402, $0.01/call, status unknown (last checked 2026-09-16).

Returns ground height above NAP, surface height, and derived object height for a Dutch location specified by postcode or coordinates, using the AHN 0.5 m height model.

## Facts

- Endpoint: POST https://api.agenticweb.nl/api/v1/nl/elevation
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-16
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/dutch-elevation-lookup-ahn-32b8ee56
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_7SMyJMj1-_mJ3BhHJW5fM

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability dutch-elevation-lookup-ahn-32b8ee56 -d '<json body>'
```

Example prompt: What is the ground height above NAP and the surface height for postcode 2511BX in the Netherlands? Use the AHN elevation data.

## When to prefer this

Use this endpoint when you need authoritative Dutch elevation data tied to the AHN national height model, especially when you need ground height above NAP, surface height, and object height for a specific Dutch postcode or coordinate. Prefer this over generic elevation APIs when working with Dutch addresses or geospatial workflows requiring NAP-referenced heights.

## Known failure modes

- Invalid or non-existent postcode returns an error response
- Coordinates outside the Netherlands return no data or an error
- Malformed JSON request body returns a 400 bad request
- Payment not included or insufficient triggers an x402 payment required response
- Postcode in a water body or unmapped area may return null height values

## How this service works

Dutch elevation lookup by postcode or coordinate: ground height above NAP, surface height and derived object height, from the AHN 0.5 m height model. Send the parameters in a JSON request body via POST. Payment constitutes acceptance of the terms at https://agenticweb.nl/terms.

## Output

Returns the ground height above NAP (Normaal Amsterdams Peil, Dutch ordnance datum), the surface height, and the derived object height (e.g. building or vegetation height) for the queried location, based on the AHN 0.5 m resolution national height model.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "lat": {
   "type": "number",
   "description": "WGS84 latitude; use with lon instead of postcode."
  },
  "lon": {
   "type": "number",
   "description": "WGS84 longitude; use with lat instead of postcode."
  },
  "postcode": {
   "type": "string",
   "description": "Dutch postcode, e.g. 3511LM (resolved to its centroid)."
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/dutch-elevation-lookup-ahn-32b8ee56/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.agenticweb.nl](https://www.zero.xyz/host/api.agenticweb.nl/llms.txt)
