77trust / 100

Dm Euro History

by rechen.halowerk.com in Documents & files

x402 APIPassing, checked 3 h ago

Convert historical Deutsche Mark or euro amounts between years with purchasing power, using official Destatis price indices and the fixed DM/EUR rate 1.95583. Purchasing-power equivalent = amount x index(target year) / index(source year), DM converted at the irrevocable rate 1 EUR = 1.95583 DEM (Council Regulation (EC) No 2866/98).

POST
https://rechen.halowerk.com/v1/dm-euro-history
Price
$0.002
per call in USDC
Uptime
95.8%
last 30 days
Response time
123 ms
375 ms slowest 5%
Last check
Passed
3 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/dm-euro-history

Each call costs $0.002 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/dm-euro-history
content-type: application/json

{
  "amount": 100,
  "currency": "DEM",
  "year": 1990
}

Parameters

ParameterTypeRequiredDescription
amountnumberYes
currencystringYes One of: DEM, EUR.
modestringNo One of: purchasing_power, fixed_rate. Default: "purchasing_power".
target_currencystringNo One of: EUR, DEM. Default: "EUR".
target_yearintegerNo
yearintegerYes

Example response

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

Example response, 42 lines
{
  "limitations": [
    "Purchasing-power comparisons over long periods are approximations: the basket of goods and its quality change; results are no valuation of individual goods.",
    "Before 1991 the indices refer to former West Germany; 1948 has only a second-half average and is not used."
  ],
  "result": {
    "amount": 100,
    "currency": "EUR",
    "formula": "100 DEM / 1.95583 x 121.9 / 60.775",
    "index": {
      "base": "VPI 2020 = 100 (chained)",
      "source": {
        "series": "cost-of-living index all private households, former West Germany, linked to the VPI in 1994",
        "value": 60.775,
        "year": 1990
      },
      "target": {
        "series": "VPI Germany, 2020 = 100",
        "value": 121.9,
        "year": 2025
      }
    },
    "mode": "purchasing_power",
    "price_factor": 2.0058,
    "purchasing_power_change_percent": -50.14,
    "result": 102.55,
    "source": {
      "conversion_rate": "1 EUR = 1.95583 DEM, Council Regulation (EC) No 2866/98",
      "licence": "Statistisches Bundesamt (Destatis): Vervielfaeltigung und Verbreitung, auch auszugsweise, mit Quellenangabe gestattet (Impressum des Statistischen Berichts); Datenlizenz Deutschland - Namensnennung - Version 2.0",
      "publisher": "Statistisches Bundesamt (Destatis)",
      "series": [
        "Statistischer Bericht Verbraucherpreisindex fuer Deutschland - Lange Reihen ab 1948, Tabelle 611xx-01 (erschienen 10.07.2025, Artikelnummer 5611103251065_SB)",
        "Verbraucherpreisindex Gesamtindex, Jahresdurchschnitte (Stand 13. Oktober 2026)"
      ]
    },
    "source_currency": "DEM",
    "target_year": 2025,
    "year": 1990
  },
  "service": "dm-euro-history",
  "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.002.

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/dm-euro-history' \
  -H 'content-type: application/json' \
  --data-raw '{"amount":100,"currency":"DEM","year":1990}'

# 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/dm-euro-history' \
  -H 'content-type: application/json' \
  --data-raw '{"amount":100,"currency":"DEM","year":1990}' \
  | 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.002 per call.
const client = new x402Client().setSpendControls({ maxAmountPerPayment: "$0.002" });
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.002 per payment. GET https://toolvet.app/api/v1/check?url=https%3A%2F%2Frechen.halowerk.com%2Fv1%2Fdm-euro-history&method=POST
const res = await pay("https://rechen.halowerk.com/v1/dm-euro-history", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({
    "amount": 100,
    "currency": "DEM",
    "year": 1990
  }),
});
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.002 per call.
client = x402ClientSync().set_spend_controls({"max_amount_per_payment": "$0.002"})
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/dm-euro-history",
        json={
            "amount": 100,
            "currency": "DEM",
            "year": 1990,
        },
    )
    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
3 h agoPassed402123 ms$0.002
14 h agoPassed40239 ms$0.002
27 h agoPassed402117 ms$0.002
3 days agoTimed out---
4 days agoPassed40241 ms$0.002
Show 10 older checks
5 days agoPassed402127 ms$0.002
5 days agoPassed402123 ms$0.002
6 days agoPassed402118 ms$0.002
6 days agoPassed402129 ms$0.002
6 days agoPassed402123 ms$0.002
7 days agoPassed402375 ms$0.002
7 days agoPassed402628 ms$0.002
7 days agoPassed402119 ms$0.002
8 days agoPassed402126 ms$0.002
8 days agoPassed402179 ms$0.002