80trust / 100

Energy Label

by Factline in Onchain & crypto

x402 APIPassing, checked 18 min ago

Use when the user asks for the energy label of a Dutch home: the officially registered label (A++++ to G), registration and expiry date, building type and energy index, or a clear 'none registered'. Input: postcode + house number. Source: RVO EP-Online, the Dutch national register.

GET https://factline.dev/v1/energy-label

Last 30 days

All checks passedSome failedAll failedNot checked
Uptime
100%
Response time
80 ms typical, 80 ms slowest 5%
Last check
18 min ago
Next check
in 9 min

How to call it

# See the payment challenge (nothing is charged)
curl -i -X GET "https://factline.dev/v1/energy-label?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%2Fenergy-label
const res = await pay("https://factline.dev/v1/energy-label?house_number=100&postcode=2517AS");
console.log(await res.json());

Example input

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

Example output

{
  "address": {
    "bag_object_id": "0518010001775699",
    "city": "'s-Gravenhage",
    "house_number": 100,
    "label": "Laan van Meerdervoort 100, 2517AS 's-Gravenhage",
    "postcode": "2517AS"
  },
  "energy_label": {
    "building_type": "Flatwoning (overig)",
    "energy_index": 1.02,
    "inspected": "2020-12-30",
    "label": "A",
    "registered": "2020-12-31",
    "simplified_label": false,
    "valid_until": "2030-12-30"
  },
  "source": "RVO EP-Online"
}

Security scan

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

Recent checks

WhenResultHTTPTimePrice
18 min agoPassed402436 ms$0.005
5 h agoPassed40280 ms$0.005