81trust / 100

Address Reverse

by Factline in Weather & location

x402 APIPassing, checked 3 h ago

Use when you have coordinates in the Netherlands and need the address: nearest official BAG address with distance in metres, postcode, city, municipality, province, BAG ids and CBS buurt and wijk codes, plus other nearby addresses. Input: WGS84 latitude and longitude. Source: Kadaster BAG via PDOK.

GET https://factline.dev/v1/address/reverse

Last 30 days

All checks passedSome failedAll failedNot checked
Uptime
100%
Response time
59 ms typical, 59 ms slowest 5%
Last check
3 h ago
Next check
any minute now

How to call it

# See the payment challenge (nothing is charged)
curl -i -X GET "https://factline.dev/v1/address/reverse?lat=52.0836&lon=4.2919"
import { wrapFetchWithPayment } from "@x402/fetch";
import { x402Client } from "@x402/core/client";
import { ExactEvmScheme } from "@x402/evm/exact/client";
import { privateKeyToAccount } from "viem/accounts";

const client = new x402Client().register(
  "eip155:8453",
  new ExactEvmScheme(privateKeyToAccount(process.env.AGENT_KEY)),
);
const pay = wrapFetchWithPayment(fetch, client);

// Not sure it's safe to pay? Preflight it first for $0.03:
// GET https://toolvet.app/api/v1/check?url=https%3A%2F%2Ffactline.dev%2Fv1%2Faddress%2Freverse
const res = await pay("https://factline.dev/v1/address/reverse?lat=52.0836&lon=4.2919");
console.log(await res.json());

Example input

{
  "lat": "52.0836",
  "lon": "4.2919"
}

Example output

{
  "address": {
    "city": "'s-Gravenhage",
    "house_letter": "A",
    "house_number": 100,
    "house_number_addition": null,
    "label": "Laan van Meerdervoort 100A, 2517AS 's-Gravenhage",
    "municipality": "'s-Gravenhage",
    "municipality_code": "GM0518",
    "postcode": "2517AS",
    "province": "Zuid-Holland",
    "street": "Laan van Meerdervoort"
  },
  "bag": {
    "address_id": "0518200000432204",
    "addressable_object_id": "0518010000432205"
  },
  "distance_m": 1.5,
  "district": {
    "code": "WK051822",
    "name": "Wijk 22 Zeeheldenkwartier"
  },
  "location": {
    "crs": "WGS84",
    "lat": 52.08358839,
    "lon": 4.29191123
  },
  "neighbourhood": {
    "code": "BU05182245",
    "name": "Zeeheldenkwartier"
  },
  "other_nearby": [
    {
      "distance_m": 2.2,
      "label": "Laan van Meerdervoort 100, 2517AS 's-Gravenhage"
    },
    {
      "distance_m": 2.8,
      "label": "Laan van Meerdervoort 100B, 2517AS 's-Gravenhage"
    }
  ],
  "query": {
    "lat": 52.0836,
    "lon": 4.2919
  },
  "source": "Kadaster BAG via PDOK Locatieserver"
}

Security scan

  • No findings. We scan names, descriptions and tool definitions for hidden instructions and other prompt-injection patterns.

Recent checks

WhenResultHTTPTimePrice
3 h agoPassed40259 ms$0.002