80trust / 100

Postcode Addresses

by Factline in Weather & location

x402 APIPassing, checked 2 h ago

Use when you need every address in a Dutch postcode: street, house number, letter and addition, BAG id and coordinates, sorted. For address pickers, delivery and canvassing routes and data cleaning. Source: Kadaster BAG via PDOK.

GET https://factline.dev/v1/postcode/addresses

Last 30 days

All checks passedSome failedAll failedNot checked
Uptime
100%
Response time
73 ms typical, 73 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/postcode/addresses?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%2Fpostcode%2Faddresses
const res = await pay("https://factline.dev/v1/postcode/addresses?postcode=2517AS");
console.log(await res.json());

Example input

{
  "postcode": "2517AS"
}

Example output

{
  "addresses": [
    {
      "bag_object_id": "0518010000688907",
      "house_letter": null,
      "house_number": 98,
      "house_number_addition": null,
      "label": "Laan van Meerdervoort 98, 2517AS 's-Gravenhage",
      "lat": 52.08363811,
      "lon": 4.29201429,
      "street": "Laan van Meerdervoort"
    },
    {
      "bag_object_id": "0518010001775699",
      "house_letter": null,
      "house_number": 100,
      "house_number_addition": null,
      "label": "Laan van Meerdervoort 100, 2517AS 's-Gravenhage",
      "lat": 52.08359668,
      "lon": 4.29193161,
      "street": "Laan van Meerdervoort"
    },
    {
      "bag_object_id": "0518010000432205",
      "house_letter": "A",
      "house_number": 100,
      "house_number_addition": null,
      "label": "Laan van Meerdervoort 100A, 2517AS 's-Gravenhage",
      "lat": 52.08358839,
      "lon": 4.29191123,
      "street": "Laan van Meerdervoort"
    }
  ],
  "city": "'s-Gravenhage",
  "count": 118,
  "postcode": "2517AS",
  "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
2 h agoPassed402141 ms$0.005
5 h agoPassed40256 ms$0.005
10 h agoPassed40273 ms$0.005