77trust / 100

Mastr Nearby

by rechen.halowerk.com in Documents & files

x402 APIPassing, checked 4 h ago

Power generation and storage units around a point from the official Marktstammdatenregister open data (export of 2026-10-31): nearest units with type, capacity, commissioning date and status, totals by type.

POST
https://rechen.halowerk.com/v1/mastr-nearby
Price
$0.003
per call in USDC
Uptime
95.8%
last 30 days
Response time
121 ms
143 ms slowest 5%
Last check
Passed
4 h ago, next any minute now

Run a free test callHow to call it

Reliability

All checks passedSome failedAll failedNot checked

Status and outage history · Atom feed · Watch with other listings

How to call it

POST https://rechen.halowerk.com/v1/mastr-nearby

Each call costs $0.003 in USDC on Base, paid with the request over x402.

Run a free test callOne unpaid request, the way an agent sends it. You see the payment challenge it gets back. Nothing is charged.

Example request

From the listing.

POST https://rechen.halowerk.com/v1/mastr-nearby
content-type: application/json

{
  "lat": 51.270068,
  "lon": 9.739374,
  "radius_km": 2,
  "types": [
    "wind"
  ]
}

Parameters

ParameterTypeRequiredDescription
latnumberYes
limitintegerNo Default: 50.
lonnumberYes
min_gross_kwnumberNo Default: 0.
radius_kmnumberNo Default: 5.
statusarray of stringNo Default: ["in_operation"].
typesarray of stringNo

Example response

The provider's example. We can't check it without paying.

Example response, 143 lines
{
  "limitations": [
    "Information from the register snapshot; not legal or energy advice.",
    "Snapshot of the official open-data export of 2026-10-31; units registered or changed later are missing.",
    "Only units whose coordinates are published are included: coordinates of units up to 30 kW are not published (§ 15(1) no. 1 a MaStRV), and data of critical infra… [truncated, 204 chars]",
    "Data © Bundesnetzagentur, Marktstammdatenregister, Datenlizenz Deutschland - Namensnennung - Version 2.0 (www.govdata.de/dl-de/by-2-0)."
  ],
  "result": {
    "center": {
      "lat": 51.270068,
      "lon": 9.739374
    },
    "count": 8,
    "legal_basis": {
      "checked": "2026-11-01",
      "norms": [
        "§ 15(1) MaStRV (publication of register data, no coordinates up to 30 kW)"
      ],
      "parameters_valid": {
        "data_as_of": "2026-10-31"
      },
      "sources": [
        "https://www.gesetze-im-internet.de/mastrv/"
      ],
      "version": "MaStRV as last amended 08.10.2026; data per Gesamtdatenexport 26.2 of 2026-10-31"
    },
    "listed": 8,
    "radius_km": 2,
    "source": {
      "as_of": "2026-10-31",
      "export": "Gesamtdatenexport_20261031_26.2.zip",
      "licence": "Datenlizenz Deutschland - Namensnennung - Version 2.0",
      "register": "Marktstammdatenregister (Bundesnetzagentur)",
      "units_with_coordinates": 369419,
      "url": "https://www.marktstammdatenregister.de/MaStR/Datendownload"
    },
    "totals_by_type": {
      "wind": {
        "gross_kw": 24000,
        "units": 8
      }
    },
    "units": [
      {
        "commissioning_date": "2017-09-01",
        "distance_km": 0,
        "energy_carrier": "Wind",
        "gross_kw": 3000,
        "hub_height_m": 149.08,
        "kind": "Windenergie an Land",
        "lat": 51.27007,
        "lon": 9.73937,
        "mastr_number": "SEE940146675093",
        "municipality": "Gutsbezirk Kaufunger Wald",
        "municipality_key": "06636200",
        "net_kw": 3000,
        "postcode": "34298",
        "rotor_diameter_m": 115.71,
        "state": "Hessen",
        "status": "in_operation",
        "type": "wind"
      },
      {
        "commissioning_date": "2017-09-04",
        "distance_km": 0.496,
        "energy_carrier": "Wind",
        "gross_kw": 3000,
        "hub_height_m": 149.08,
        "kind": "Windenergie an Land",
        "lat": 51.27216,
        "lon": 9.73307,
        "mastr_number": "SEE914108319653",
        "municipality": "Gutsbezirk Kaufunger Wald",
        "municipality_key": "06636200",
        "net_kw": 3000,
        "postcode": "34298",
        "rotor_diameter_m": 115.71,
        "state": "Hessen",
        "status": "in_operation",
        "type": "wind"
      },
      {
        "commissioning_date": "2017-08-31",
        "distance_km": 0.627,
        "energy_carrier": "Wind",
        "gross_kw": 3000,
        "hub_height_m": 149.08,
        "kind": "Windenergie an Land",
        "lat": 51.27046,
        "lon": 9.74836,
        "mastr_number": "SEE982417853618",
        "municipality": "Gutsbezirk Kaufunger Wald",
        "municipality_key": "06636200",
        "net_kw": 3000,
        "postcode": "34298",
        "rotor_diameter_m": 115.71,
        "state": "Hessen",
        "status": "in_operation",
        "type": "wind"
      },
      {
        "commissioning_date": "2017-09-22",
        "distance_km": 0.803,
        "energy_carrier": "Wind",
        "gross_kw": 3000,
        "hub_height_m": 149.08,
        "kind": "Windenergie an Land",
        "lat": 51.26653,
        "lon": 9.74944,
        "mastr_number": "SEE994645831757",
        "municipality": "Gutsbezirk Kaufunger Wald",
        "municipality_key": "06636200",
        "net_kw": 3000,
        "postcode": "34298",
        "rotor_diameter_m": 115.71,
        "state": "Hessen",
        "status": "in_operation",
        "type": "wind"
      },
      {
        "commissioning_date": "2017-06-26",
        "distance_km": 0.945,
        "energy_carrier": "Wind",
        "gross_kw": 3000,
        "hub_height_m": 149.08,
        "kind": "Windenergie an Land",
        "lat": 51.27604,
        "lon": 9.7297,
        "mastr_number": "SEE916761594682",
        "municipality": "Gutsbezirk Kaufunger Wald",
        "municipality_key": "06636200",
        "net_kw": 3000,
        "postcode": "34298",
        "rotor_diameter_m": 115.71,
        "state": "Hessen",
        "status": "in_operation",
        "type": "wind"
      }
    ]
  },
  "service": "mastr-nearby",
  "status": "success"
}

Call it from code

The curl command shows the payment challenge. The JavaScript and Python versions pay and call, and never pay more than $0.003.

curl: see the payment challenge
# bash or zsh: see the payment challenge. Nothing is charged.
curl -sS -g -i -X POST 'https://rechen.halowerk.com/v1/mastr-nearby' \
  -H 'content-type: application/json' \
  --data-raw '{"lat":51.270068,"lon":9.739374,"radius_km":2,"types":["wind"]}'

# x402 v2 sends the challenge base64-encoded in the PAYMENT-REQUIRED header (v1 sends it in the body).
# To read the header:
curl -sS -g -o /dev/null -D - -X POST 'https://rechen.halowerk.com/v1/mastr-nearby' \
  -H 'content-type: application/json' \
  --data-raw '{"lat":51.270068,"lon":9.739374,"radius_km":2,"types":["wind"]}' \
  | grep -i '^payment-required:' | cut -d' ' -f2 | tr -d '\r' | base64 --decode
JavaScript: pay and call
// npm i @x402/fetch @x402/evm viem
import { wrapFetchWithPayment, x402Client } from "@x402/fetch";
import { registerExactEvmScheme } from "@x402/evm/exact/client";
import { privateKeyToAccount } from "viem/accounts";

// Pays at most $0.003 per call.
const client = new x402Client().setSpendControls({ maxAmountPerPayment: "$0.003" });
registerExactEvmScheme(client, { signer: privateKeyToAccount(process.env.EVM_PRIVATE_KEY) });
const pay = wrapFetchWithPayment(fetch, client);

// Not sure it's safe to pay? ToolVet checks it first for $0.005. Pay for that from a separate
// client: this one is capped at $0.003 per payment. GET https://toolvet.app/api/v1/check?url=https%3A%2F%2Frechen.halowerk.com%2Fv1%2Fmastr-nearby&method=POST
const res = await pay("https://rechen.halowerk.com/v1/mastr-nearby", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({
    "lat": 51.270068,
    "lon": 9.739374,
    "radius_km": 2,
    "types": [
      "wind"
    ]
  }),
});
console.log(res.status, await res.text());
Python: pay and call
# pip install "x402[requests,evm]"
import os
from eth_account import Account
from x402 import x402ClientSync
from x402.http.clients import x402_requests
from x402.mechanisms.evm import EthAccountSigner
from x402.mechanisms.evm.exact.register import register_exact_evm_client

# Pays at most $0.003 per call.
client = x402ClientSync().set_spend_controls({"max_amount_per_payment": "$0.003"})
register_exact_evm_client(client, EthAccountSigner(Account.from_key(os.environ["EVM_PRIVATE_KEY"])))

with x402_requests(client) as session:
    res = session.post(
        "https://rechen.halowerk.com/v1/mastr-nearby",
        json={
            "lat": 51.270068,
            "lon": 9.739374,
            "radius_km": 2,
            "types": [
                "wind",
            ],
        },
    )
    print(res.status_code, res.text)

Security scan

No findings

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

Recent checks

WhenResultHTTPTimePrice
4 h agoPassed402110 ms$0.003
14 h agoPassed402124 ms$0.003
29 h agoPassed402122 ms$0.003
3 days agoTimed out---
4 days agoPassed402136 ms$0.003
Show 10 older checks
5 days agoPassed40239 ms$0.003
5 days agoPassed402133 ms$0.003
6 days agoPassed40248 ms$0.003
6 days agoPassed402128 ms$0.003
6 days agoPassed402125 ms$0.003
7 days agoPassed402143 ms$0.003
7 days agoPassed402125 ms$0.003
7 days agoPassed402156 ms$0.003
8 days agoPassed402118 ms$0.003
8 days agoPassed40243 ms$0.003