80trust / 100

Neighbourhood

by Factline in Developer tools

x402 APIPassing, checked 3 h ago

Use when the user asks what a Dutch neighbourhood or postcode area is like: residents and age mix, housing and home values, household income, energy use, distances to 18 amenities, police-registered crime vs national rate and liveability score, in English. Input: any postcode or CBS buurt code. Sources: CBS, Politie, Leefbaarometer.

GET https://factline.dev/v1/neighbourhood

Last 30 days

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

Example input

{
  "postcode": "2517AS"
}

Example output

{
  "distance_km": {
    "data_year": 2024,
    "gp_practice": 0.6,
    "supermarket": 0.4,
    "train_station": 2.9
  },
  "housing": {
    "avg_home_value_eur": 403000,
    "data_year": 2024,
    "owner_occupied_pct": 32
  },
  "liveability": {
    "percentile": 91,
    "year": 2024
  },
  "neighbourhood": {
    "code": "BU05182245",
    "municipality": "'s-Gravenhage",
    "name": "Zeeheldenkwartier"
  },
  "people": {
    "data_year": 2025,
    "households": 7295,
    "residents": 12920
  },
  "safety": {
    "national_per_1000_residents": {
      "total": 44.8
    },
    "per_1000_residents": {
      "total": 62
    },
    "year": 2025
  }
}

Security scan

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

Recent checks

WhenResultHTTPTimePrice
3 h agoPassed40272 ms$0.01
8 h agoPassed40282 ms$0.01