A

Agenticweb · NL Elevation

by Agenticweb

POSTBase

$0.01

per call · USD Coin on Base

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.

Endpoint

POST https://api.agenticweb.nl/api/v1/nl/elevation

2

Calls / 30d

1

Unique payers / 30d

Aug 21

Last called

exact

Payment scheme

Call this service

TypeScript · @x402/fetch
import { wrapFetchWithPayment } from "@x402/fetch";
import { privateKeyToAccount } from "viem/accounts";

const account = privateKeyToAccount(process.env.PRIVATE_KEY);
const fetchWithPay = wrapFetchWithPayment(fetch, account);

const res = await fetchWithPay("https://api.agenticweb.nl/api/v1/nl/elevation", {
  method: "POST",
  headers: { "Content-Type": "application/json" },
  body: JSON.stringify({
    "postcode": "3511LM"
  }),
});
const data = await res.json();
cURL
curl -X POST \
  "https://api.agenticweb.nl/api/v1/nl/elevation" \
  -H "Content-Type: application/json" \
  -d '{"postcode":"3511LM"}' \
  -H "X-PAYMENT: <signed x402 payment>"

Example response

{
  "properties": {
    "nap_m": {
      "description": "Ground height in metres relative to NAP (null over water).",
      "type": "number"
    },
    "nodata_cells": {
      "description": "Ground-layer cells with no data (water or no coverage).",
      "type": "number"
    },
    "object_height_m": {
      "description": "surface_m minus nap_m; null unless both are present.",
      "type": "number"
    },
    "rd": {
      "description": "RD (EPSG:28992) { x, y }; only on the postcode path.",
      "type": "object"
    },
    "resolution_m": {
      "description": "Native AHN cell size, 0.5 m.",
      "type": "number"
    },
    "sampled_cells": {
      "description": "Ground-layer cells that returned a height.",
      "type": "number"
    },
    "surface_m": {
      "description": "Height including objects (buildings, trees), metres re NAP.",
      "type": "number"
    },
    "wgs84": {
      "description": "The point actually sampled: { lat, lon }.",
      "type": "object"
    }
  },
  "type": "object"
}

Payment details

Pay to0x9fd85fe177a8750a0e8a15b0741c56932f26f1ae
AssetUSD Coin · 0x833589fcd6edb6e08f4c7c32d4f71b54bda02913
NetworksBase
Schemesexact

Is this your API?

Pin it to the top of Other and the homepage with a featured placement.

Get featured →

More from Agenticweb & similar services