Eta From Positions
by ort.halowerk.com in Other
Estimate the arrival time at a customer from recent GPS positions: remaining distance along a route or straight line, average speed of the recent window, ETA with early/late band and check against a delivery window. Remaining distance is measured along the supplied route from the projection of the latest position to the route end, or as great-circle distance × detour factor without a route (straight line = lower bound).
https://ort.halowerk.com/v1/eta-from-positions- Price
- $0.005
- per call in USDC
- Uptime
- 95.8%
- last 30 days
- Response time
- 117 ms
- 133 ms slowest 5%
- Last check
- Passed
- 3 h ago, next any minute now
Reliability
Status and outage history · Atom feed · Watch with other listings
How to call it
POST https://ort.halowerk.com/v1/eta-from-positions
Each call costs $0.005 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://ort.halowerk.com/v1/eta-from-positions
content-type: application/json
{
"destination": {
"lat": 52,
"lon": 7.5
},
"positions": [
{
"lat": 52,
"lon": 7,
"t": "2026-10-05T08:00:00Z"
},
{
"lat": 52,
"lon": 7.073,
"t": "2026-10-05T08:05:00Z"
}
]
}Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
arrival_radius_m | number | No | Distance at which the vehicle counts as arrived. Default: 200. |
destination | object | Yes | Customer location. |
detour_factor | number | No | Factor applied to the straight-line distance when no route is given (your assumption; 1 = lower bound). Default: 1. |
positions | array of object | Yes | Recent GPS fixes with timestamps t, in time order. |
route | array of array of number | No | Optional planned route [lon, lat] ending at the destination. |
stop_minutes | integer | No | Planned stops before arrival, added to the ETA. Default: 0. |
time_window | object | No | Customer delivery window. |
window_minutes | integer | No | Recent window for the speed estimate. Default: 30. |
Example response
The provider's example. We can't check it without paying.
Example response, 29 lines
{
"limitations": [
"Kinematic extrapolation of recent speed; traffic, road classes, driving bans and rest breaks are not modelled.",
"Without a route the straight-line distance underestimates the road distance unless a detour factor is supplied."
],
"result": {
"distance_method": "straight_line_lower_bound",
"eta": "2026-10-05T08:34:15Z",
"eta_early": "2026-10-05T08:34:15Z",
"eta_late": "2026-10-05T08:34:15Z",
"last_fix": "2026-10-05T08:05:00Z",
"remaining_km": 29.232,
"speed_band_kmh": {
"p25": 60,
"p75": 60
},
"speed_kmh": 60,
"speed_window": {
"fixes": 2,
"from": "2026-10-05T08:00:00Z",
"to": "2026-10-05T08:05:00Z"
},
"status": "en_route",
"straight_line_km": 29.232,
"warnings": []
},
"service": "eta-from-positions",
"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.005.
curl: see the payment challenge
# bash or zsh: see the payment challenge. Nothing is charged.
curl -sS -g -i -X POST 'https://ort.halowerk.com/v1/eta-from-positions' \
-H 'content-type: application/json' \
--data-raw '{"destination":{"lat":52,"lon":7.5},"positions":[{"lat":52,"lon":7,"t":"2026-10-05T08:00:00Z"},{"lat":52,"lon":7.073,"t":"2026-10-05T08:05:00Z"}]}'
# 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://ort.halowerk.com/v1/eta-from-positions' \
-H 'content-type: application/json' \
--data-raw '{"destination":{"lat":52,"lon":7.5},"positions":[{"lat":52,"lon":7,"t":"2026-10-05T08:00:00Z"},{"lat":52,"lon":7.073,"t":"2026-10-05T08:05:00Z"}]}' \
| grep -i '^payment-required:' | cut -d' ' -f2 | tr -d '\r' | base64 --decodeJavaScript: 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.005 per call.
const client = new x402Client().setSpendControls({ maxAmountPerPayment: "$0.005" });
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.005 per payment. GET https://toolvet.app/api/v1/check?url=https%3A%2F%2Fort.halowerk.com%2Fv1%2Feta-from-positions&method=POST
const res = await pay("https://ort.halowerk.com/v1/eta-from-positions", {
method: "POST",
headers: { "content-type": "application/json" },
body: JSON.stringify({
"destination": {
"lat": 52,
"lon": 7.5
},
"positions": [
{
"lat": 52,
"lon": 7,
"t": "2026-10-05T08:00:00Z"
},
{
"lat": 52,
"lon": 7.073,
"t": "2026-10-05T08:05:00Z"
}
]
}),
});
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.005 per call.
client = x402ClientSync().set_spend_controls({"max_amount_per_payment": "$0.005"})
register_exact_evm_client(client, EthAccountSigner(Account.from_key(os.environ["EVM_PRIVATE_KEY"])))
with x402_requests(client) as session:
res = session.post(
"https://ort.halowerk.com/v1/eta-from-positions",
json={
"destination": {
"lat": 52,
"lon": 7.5,
},
"positions": [
{
"lat": 52,
"lon": 7,
"t": "2026-10-05T08:00:00Z",
},
{
"lat": 52,
"lon": 7.073,
"t": "2026-10-05T08:05:00Z",
},
],
},
)
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
| When | Result | HTTP | Time | Price |
|---|---|---|---|---|
| 3 h ago | Passed | 402 | 117 ms | $0.005 |
| 16 h ago | Passed | 402 | 125 ms | $0.005 |
| 3 days ago | Timed out | - | - | - |
| 4 days ago | Passed | 402 | 121 ms | $0.005 |
| 4 days ago | Passed | 402 | 127 ms | $0.005 |
Show 10 older checks
| 5 days ago | Passed | 402 | 133 ms | $0.005 |
| 5 days ago | Passed | 402 | 146 ms | $0.005 |
| 6 days ago | Passed | 402 | 38 ms | $0.005 |
| 6 days ago | Passed | 402 | 127 ms | $0.005 |
| 6 days ago | Passed | 402 | 39 ms | $0.005 |
| 7 days ago | Passed | 402 | 133 ms | $0.005 |
| 7 days ago | Passed | 402 | 115 ms | $0.005 |
| 7 days ago | Passed | 402 | 129 ms | $0.005 |
| 7 days ago | Passed | 402 | 42 ms | $0.005 |
| 8 days ago | Passed | 402 | 114 ms | $0.005 |