77trust / 100

Bafoeg Estimate

by rechen.halowerk.com in Markets & finance

x402 APIPassing, checked 3 h ago

Returns a monthly estimate of German student financial aid (BAföG, 2024-08 to 2027-03): statutory need for students or pupils, health insurance supplement, the student's own income and assets and the parents' contribution with all statutory allowances (sections 21-25 and 29 of the act).

POST
https://rechen.halowerk.com/v1/bafoeg-estimate
Price
$0.003
per call in USDC
Uptime
95.8%
last 30 days
Response time
123 ms
159 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/bafoeg-estimate

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/bafoeg-estimate
content-type: application/json

{
  "education": "university",
  "health_insurance": "student_statutory",
  "living_with_parents": false,
  "month": "2026-11",
  "parents": {
    "other_children_not_in_funded_training": 1,
    "parent_a": {
      "annual_positive_income": 50000,
      "annual_taxes": 7000
    },
    "parent_b": {
      "annual_positive_income": 30000,
      "annual_taxes": 3000
    },
    "status": "married_together"
  }
}

Parameters

ParameterTypeRequiredDescription
educationstringYes One of: university, trade_school_after_training, vocational_school, evening_school.
health_insurancestringNo One of: family_or_none, student_statutory, voluntary_statutory, private. Default: "family_or_none".
living_with_parentsbooleanYes
monthstringYes
parentsobjectNo
studentobjectNo

Example response

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

Example response, 59 lines
{
  "limitations": [
    "Information computed by formula from the statute and the stated parameters; not …",
    "Hardship allowances on application (§ 23(5), § 25(6) BAföG), the update applicat…",
    "Parental income must be supplied for the penultimate year before the award perio…"
  ],
  "result": {
    "allowances_used": {
      "asset_allowance": 15000,
      "student_income_allowance": 389
    },
    "deductions": {
      "parents": 466.5,
      "student_assets": 0,
      "student_income": 0
    },
    "legal_basis": {
      "checked": "2026-11-01",
      "norms": [
        "§§ 11-13a BAföG",
        "§ 17 BAföG",
        "§§ 21-25 BAföG"
      ],
      "parameters_valid": {
        "from": "2024-08",
        "student_allowance_from": "2026-01",
        "to": "2027-03"
      },
      "sources": [
        "https://www.gesetze-im-internet.de/baf_g/",
        "https://www.recht.bund.de/bgbl/1/2024/249/VO.html",
        "https://www.recht.bund.de/bgbl/1/2025/279/VO.html"
      ],
      "version": "BAföG as last amended by Art. 11(1) of the Act of 16.04.2026; amounts per 29th B…"
    },
    "month": "2026-11",
    "monthly_amount": 526,
    "need": {
      "base": 475,
      "care_insurance": 35,
      "health_insurance": 102,
      "housing": 380,
      "total": 992
    },
    "split": {
      "grant": 263,
      "interest_free_loan": 263,
      "norm": "§ 17(2) BAföG"
    },
    "steps": [
      "§ 13 BAföG: base need 475 EUR + housing 380 EUR (away from parents).",
      "§ 13a BAföG: health 102 EUR + care 35 EUR insurance supplement.",
      "Parent A: (50000.00 - social lump sum 11150.00 (22.3 %, max 17200) - taxes 7000.…"
    ],
    "unrounded_amount": 525.5
  },
  "service": "bafoeg-estimate",
  "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/bafoeg-estimate' \
  -H 'content-type: application/json' \
  --data-raw '{"education":"university","health_insurance":"student_statutory","living_with_parents":false,"month":"2026-11","parents":{"other_children_not_in_funded_training":1,"parent_a":{"annual_positive_income":50000,"annual_taxes":7000},"parent_b":{"annual_positive_income":30000,"annual_taxes":3000},"status":"married_together"}}'

# 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/bafoeg-estimate' \
  -H 'content-type: application/json' \
  --data-raw '{"education":"university","health_insurance":"student_statutory","living_with_parents":false,"month":"2026-11","parents":{"other_children_not_in_funded_training":1,"parent_a":{"annual_positive_income":50000,"annual_taxes":7000},"parent_b":{"annual_positive_income":30000,"annual_taxes":3000},"status":"married_together"}}' \
  | 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%2Fbafoeg-estimate&method=POST
const res = await pay("https://rechen.halowerk.com/v1/bafoeg-estimate", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({
    "education": "university",
    "health_insurance": "student_statutory",
    "living_with_parents": false,
    "month": "2026-11",
    "parents": {
      "other_children_not_in_funded_training": 1,
      "parent_a": {
        "annual_positive_income": 50000,
        "annual_taxes": 7000
      },
      "parent_b": {
        "annual_positive_income": 30000,
        "annual_taxes": 3000
      },
      "status": "married_together"
    }
  }),
});
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/bafoeg-estimate",
        json={
            "education": "university",
            "health_insurance": "student_statutory",
            "living_with_parents": False,
            "month": "2026-11",
            "parents": {
                "other_children_not_in_funded_training": 1,
                "parent_a": {
                    "annual_positive_income": 50000,
                    "annual_taxes": 7000,
                },
                "parent_b": {
                    "annual_positive_income": 30000,
                    "annual_taxes": 3000,
                },
                "status": "married_together",
            },
        },
    )
    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 agoPassed402132 ms$0.003
14 h agoPassed402140 ms$0.003
27 h agoPassed40243 ms$0.003
3 days agoTimed out---
4 days agoPassed402123 ms$0.003
Show 10 older checks
5 days agoPassed402137 ms$0.003
5 days agoPassed40272 ms$0.003
6 days agoPassed40245 ms$0.003
6 days agoPassed40240 ms$0.003
6 days agoPassed40248 ms$0.003
7 days agoPassed402124 ms$0.003
7 days agoPassed402218 ms$0.003
7 days agoPassed402119 ms$0.003
8 days agoPassed40240 ms$0.003
8 days agoPassed402124 ms$0.003