$0.004
per call · USD Coin on Base
Berechnet Entfernung und Fahrzeit zwischen bis zu 25 Punkten, wahlweise als volle Matrix oder als Start-Ziel-Kreuz. Nimmt Koordinaten oder Anschriften und geokodiert sie selbst. Nutzt freie Streckendaten auf Basis von OpenStreetMap fuer Auto, Rad und Fussweg und faellt bei Ausfall nachvollziehbar auf eine Luftlinienschaetzung mit Umwegfaktor zurueck.
Endpoint
POST https://tools.halowerk.com/v1/route/matrix3
Calls / 30d
2
Unique payers / 30d
Sep 1
Last called
exact
Payment scheme
Call this service
import { wrapFetchWithPayment } from "@x402/fetch";
import { privateKeyToAccount } from "viem/accounts";
const account = privateKeyToAccount(process.env.PRIVATE_KEY);
const fetchWithPay = wrapFetchWithPayment(fetch, account);
const res = await fetchWithPay("https://tools.halowerk.com/v1/route/matrix", {
method: "POST",
headers: { "Content-Type": "application/json" },
body: JSON.stringify({
"mode": "driving",
"points": [
"Gronau, Westfalen",
"Münster, Deutschland",
{
"label": "Lager Ost",
"lat": 51.9607,
"lon": 7.6261
}
]
}),
});
const data = await res.json();curl -X POST \
"https://tools.halowerk.com/v1/route/matrix" \
-H "Content-Type: application/json" \
-d '{"mode":"driving","points":["Gronau, Westfalen","Münster, Deutschland",{"label":"Lager Ost","lat":51.9607,"lon":7.6261}]}' \
-H "X-PAYMENT: <signed x402 payment>"Example response
{
"attribution": "Streckendaten: OSRM auf Basis von OpenStreetMap, Mitwirkende ODbL",
"cells": [
{
"distance_km": 71.43,
"distance_m": 71430,
"duration_min": 56.7,
"duration_s": 3402,
"from": "Gronau, Westfalen",
"from_index": 0,
"to": "Lager Ost",
"to_index": 2
}
],
"destinations": [
"Gronau, Westfalen",
"Münster, Deutschland",
"Lager Ost"
],
"fallback_reason": null,
"mode": "driving",
"nearest_per_origin": {
"Gronau, Westfalen": {
"distance_km": 69.8,
"duration_min": 55.1,
"to": "Münster, Deutschland"
}
},
"note": "Freie Streckendaten ohne Verkehrslage und ohne Zeitfenster.",
"origins": [
"Gronau, Westfalen",
"Münster, Deutschland",
"Lager Ost"
],
"points": [
{
"label": "Gronau, Westfalen",
"lat": 52.2117,
"lon": 7.0403,
"matched": "Gronau (Westf.), Nordrhein-Westfalen",
"resolved_from": "geokodierung"
},
{
"label": "Lager Ost",
"lat": 51.9607,
"lon": 7.6261,
"resolved_from": "koordinaten"
}
],
"source": "osrm",
"totals": {
"cells": 9,
"max_distance_km": 71.43,
"max_duration_min": 56.7,
"unreachable": 0
}
}Payment details
0x2880edfff13100677bf97a3cbdf3bc34771c4e5eUSD Coin · 0x833589fcd6edb6e08f4c7c32d4f71b54bda02913Is this your API?
Pin it to the top of Developer Tools and the homepage with a featured placement.
More from HALOWERK Agent Tools & similar services
Loyalspark · Recipient API Offers
api.loyalspark.online
Onchain loyalty platform on Base Network. Businesses launch branded rewards in minutes, customers earn real value with every purchase, and AI agents automate the rest via REST and MCP. Free plan mints up to 1,000 tokens per month; every call is scoped by row-level security to the wallet behind the API key. 16 skill guides at loyalspark.online/.well-known/skills/index.md.
Loyalspark · Workflow Reward Status
api.loyalspark.online
Onchain loyalty platform on Base Network. Businesses launch branded rewards in minutes, customers earn real value with every purchase, and AI agents automate the rest via REST and MCP. Free plan mints up to 1,000 tokens per month; every call is scoped by row-level security to the wallet behind the API key. 16 skill guides at loyalspark.online/.well-known/skills/index.md.
Loyalspark · Recipient API Vouchers
api.loyalspark.online
Onchain loyalty platform on Base Network. Businesses launch branded rewards in minutes, customers earn real value with every purchase, and AI agents automate the rest via REST and MCP. Free plan mints up to 1,000 tokens per month; every call is scoped by row-level security to the wallet behind the API key. 16 skill guides at loyalspark.online/.well-known/skills/index.md.