Skip to content
Fourohtwo

lade.halowerk.com/v1/range

Returns a simplified e-bike range plan along a route given as points, polyline or GPX from battery size in Wh, consumption in Wh/km, start charge and reserve, with charging stops at OpenStreetMap e-bike points with a matching socket (Schuko by default). A full charge per stop is assumed and detours are straight-line distances; operation, opening and passability are not guaranteed.

BaseAnswering
POSThttps://lade.halowerk.com/v1/range

Uptime100% of 1 check in 30 days

30 days agoToday

Try it

Pays from your browser wallet in USDC on Base or USDG on Robinhood Chain, whichever the endpoint takes. The provider is paid directly; failed calls aren't refunded by Fourohtwo.

The response shows up here.

Call it from an agent

// npm install fourohtwo
import { createPayer } from "fourohtwo";

// One agent key pays USDC on Base or USDG on Robinhood Chain, inside your spending rules.
const pay = createPayer({ privateKey: process.env.AGENT_KEY, maxPerCallUsd: "0.05" });
const res = await pay("https://lade.halowerk.com/v1/range", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({"battery_wh":500,"connector":"schuko","corridor_m":1500,"points":[{"lat":51.9607,"lon":7.6261},{"lat":51.989,"lon":7.599}],"reserve_percent":10,"start_percent":100,"wh_per_km":10}),
});
console.log(await res.json());

Example input

{
  "battery_wh": 500,
  "connector": "schuko",
  "corridor_m": 1500,
  "points": [
    {
      "lat": 51.9607,
      "lon": 7.6261
    },
    {
      "lat": 51.989,
      "lon": 7.599
    }
  ],
  "reserve_percent": 10,
  "start_percent": 100,
  "wh_per_km": 10
}

More from HALOWERK ladewerkProvider status