81trust / 100

Address Lookup

by Factline in Weather & location

x402 APIPassing, checked 2 h ago

Use when you need to check that a Dutch address exists or get its exact spelling and coordinates: official BAG address from postcode + house number or free text, latitude/longitude, BAG ids, municipality, province and CBS neighbourhood code. Cheap address validation for onboarding, delivery and CRM. Source: Kadaster BAG via PDOK.

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

Last 30 days

All checks passedSome failedAll failedNot checked
Uptime
100%
Response time
76 ms typical, 76 ms slowest 5%
Last check
2 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/lookup?house_number=100&postcode=2517AS"
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.005:
// GET https://toolvet.app/api/v1/check?url=https%3A%2F%2Ffactline.dev%2Fv1%2Faddress%2Flookup
const res = await pay("https://factline.dev/v1/address/lookup?house_number=100&postcode=2517AS");
console.log(await res.json());

Example input

{
  "house_number": 100,
  "postcode": "2517AS"
}

Example output

{
  "address": {
    "city": "'s-Gravenhage",
    "house_letter": null,
    "house_number": 100,
    "house_number_addition": null,
    "label": "Laan van Meerdervoort 100, 2517AS 's-Gravenhage",
    "municipality": "'s-Gravenhage",
    "municipality_code": "GM0518",
    "postcode": "2517AS",
    "province": "Zuid-Holland",
    "street": "Laan van Meerdervoort"
  },
  "bag": {
    "address_id": "0518200001775789",
    "addressable_object_id": "0518010001775699"
  },
  "district": {
    "code": "WK051822",
    "name": "Wijk 22 Zeeheldenkwartier"
  },
  "location": {
    "crs": "WGS84",
    "lat": 52.08359668,
    "lon": 4.29193161
  },
  "neighbourhood": {
    "code": "BU05182245",
    "name": "Zeeheldenkwartier"
  },
  "other_matches": [],
  "related": [
    {
      "endpoint": "/v1/energy-label?postcode=2517AS&house_number=100",
      "price": "0.005 USDC",
      "what": "registered energy label of this home"
    }
  ]
}

Security scan

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

Recent checks

WhenResultHTTPTimePrice
2 h agoPassed40276 ms$0.002
8 h agoPassed402176 ms$0.002