82trust / 100

Battery Category

by rechen.halowerk.com in Documents & files

x402 APIPassing, checked 3 h ago

Determine the battery category under EU Battery Regulation 2023/1542 (portable, general-use, LMT, SLI, industrial, EV, stationary storage) with the obligations and their application dates, including the German BattDG.

POST
https://rechen.halowerk.com/v1/battery-category
Price
$0.002
per call in USDC
Uptime
96.5%
last 30 days
Response time
156 ms
261 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/battery-category

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/battery-category
content-type: application/json

{
  "designed_for": "general",
  "format": "AA",
  "rechargeable": false,
  "sealed": true,
  "weight_kg": 0.023
}

Parameters

ParameterTypeRequiredDescription
capacity_kwhnumberNo
designed_forstringYes One of: general, industrial, starting_lighting_ignition, traction_light_means_of_transport, traction_vehicle_L, traction_vehicle_M_N_O.
exclusively_external_storagebooleanNo Default: false.
formatstringNo One of: 4.5V_3R12, button_cell, D, C, AA, AAA, AAAA, A23, 9V_PP3, other.
incorporated_instringNo One of: none, military_or_security, space. Default: "none".
interoperablebooleanNo Default: true.
operator_in_group_above_40mbooleanNo
operator_net_turnover_eurnumberNo
rechargeablebooleanNo Default: true.
repurposed_for_industrial_usebooleanNo Default: false.
sealedbooleanYes
stationary_energy_storagebooleanNo Default: false.
weight_kgnumberYes

Example response

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

Example response, 45 lines
{
  "limitations": [
    "Information on the stated legal texts and data as of 2026-11-01; not legal or ta…",
    "Results depend on the facts supplied by the caller, which are not verified.",
    "Label dates depend on the implementing act under Art. 13(10), whose adoption was…"
  ],
  "result": {
    "category": "portable_battery",
    "collection_targets": [
      {
        "article": "Art. 59(3)",
        "target": "63 % of portable batteries by 31.12.2027, 73 % by 31.12.2030"
      }
    ],
    "definition": "Art. 3(1) point 9",
    "in_scope": true,
    "legal_basis": "Regulation (EU) 2023/1542 (OJ L 191, 28.7.2023) as amended by Regulation (EU) 20…",
    "obligations": [
      {
        "applies_from": "2024-08-18",
        "article": "Art. 17-20, Chapter VI (from 18.08.2024 per Art. 96(2))",
        "obligation": "Conformity assessment, EU declaration of conformity and CE marking"
      },
      {
        "applies_from": "2025-08-18",
        "article": "Art. 13(4)",
        "obligation": "Separate collection symbol (crossed-out wheeled bin)"
      },
      {
        "applies_from": "2026-08-18 or 18 months after the implementing act of Art. 13(10), whichever is …",
        "article": "Art. 13(1)",
        "date_certain": false,
        "obligation": "Label with general information (Annex VI Part A)"
      }
    ],
    "portable_of_general_use": true,
    "reasons": [
      "Sealed, 0.023 kg ≤ 5 kg, not designed for industrial use and not EV/LMT/SLI (Art…",
      "Common format AA, interoperable: portable battery of general use (Art. 3(1) poin…"
    ],
    "stationary_battery_energy_storage_system": false
  },
  "service": "battery-category",
  "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/battery-category' \
  -H 'content-type: application/json' \
  --data-raw '{"designed_for":"general","format":"AA","rechargeable":false,"sealed":true,"weight_kg":0.023}'

# 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/battery-category' \
  -H 'content-type: application/json' \
  --data-raw '{"designed_for":"general","format":"AA","rechargeable":false,"sealed":true,"weight_kg":0.023}' \
  | 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%2Fbattery-category&method=POST
const res = await pay("https://rechen.halowerk.com/v1/battery-category", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({
    "designed_for": "general",
    "format": "AA",
    "rechargeable": false,
    "sealed": true,
    "weight_kg": 0.023
  }),
});
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/battery-category",
        json={
            "designed_for": "general",
            "format": "AA",
            "rechargeable": False,
            "sealed": True,
            "weight_kg": 0.023,
        },
    )
    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 agoPassed402143 ms$0.002
13 h agoPassed402140 ms$0.002
29 h agoTimed out---
3 days agoTimed out---
4 days agoPassed402248 ms$0.002
Show 10 older checks
5 days agoPassed402124 ms$0.002
5 days agoPassed402126 ms$0.002
6 days agoPassed402118 ms$0.002
6 days agoPassed402139 ms$0.002
6 days agoPassed402135 ms$0.002
7 days agoPassed40245 ms$0.002
7 days agoPassed402119 ms$0.002
7 days agoPassed40248 ms$0.002
8 days agoPassed402120 ms$0.002
8 days agoPassed402126 ms$0.002