Gpx Analyze
by ort.halowerk.com in Documents & files
Analyse a GPX track: ellipsoidal (Vincenty) and spherical (haversine) distance, raw and smoothed elevation gain/loss, pauses, moving time, average/max speed and per-km splits. Parses GPX 1.0/1.1 tracks (or routes) segment by segment, or a point list. Distance: Vincenty inverse on WGS84 per point pair (haversine with the IUGG mean radius 6,371,008.8 m reported alongside), plus 3D distance when elevations exist.
https://ort.halowerk.com/v1/gpx-analyze- Price
- $0.002
- per call in USDC
- Uptime
- 95.8%
- last 30 days
- Response time
- 43 ms
- 177 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/gpx-analyze
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://ort.halowerk.com/v1/gpx-analyze
content-type: application/json
{
"gpx": "<gpx version=\"1.1\" creator=\"x\" xmlns=\"http://www.topografix.com/GPX/1/1\"><trk><trkseg><trkpt lat=\"52.0\" lon=\"7.0\"><ele>40</ele><time>2026-10-01T10:00:00Z</time></trkpt><trkpt lat=\"52.001\" lon=\"7.0\"><ele>42</ele><time>2026-10-01T10:00:20Z</time></trkpt></trkseg></trk></gpx>"
}Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
elevation_threshold_m | number | No | Default: 2. |
gpx | string | No | |
max_speed_window_s | integer | No | Default: 10. |
min_pause_s | integer | No | Default: 60. |
pause_speed_kmh | number | No | Default: 1.5. |
points | array of object | No | |
smoothing_window | integer | No | Default: 5. |
Example response
The provider's example. We can't check it without paying.
Example response, 47 lines
{
"limitations": [
"GPS elevation is noisy; smoothed gain depends on the chosen window and threshold.",
"Speeds and pauses need timestamps on every point; without them only distance and elevation are returned."
],
"result": {
"bbox": [
7,
52,
7,
52.001
],
"distance_3d_m": 111.29,
"distance_haversine_m": 111.2,
"distance_m": 111.27,
"elevation": {
"gain_m": 0,
"gain_raw_m": 2,
"loss_m": 0,
"loss_raw_m": 0,
"max_m": 42,
"min_m": 40,
"smoothing_window": 5,
"threshold_m": 2
},
"method": {
"distance": "Vincenty inverse on WGS84 (haversine R=6371008.8 m for comparison)"
},
"pauses": [],
"points": 2,
"segments": 1,
"splits": [],
"time": {
"avg_speed_kmh": 20.028,
"end": "2026-10-01T10:00:20.000Z",
"max_speed_kmh": 20.028,
"max_speed_window_s": 10,
"moving_s": 20,
"moving_speed_kmh": 20.028,
"paused_s": 0,
"start": "2026-10-01T10:00:00.000Z",
"total_s": 20
}
},
"service": "gpx-analyze",
"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://ort.halowerk.com/v1/gpx-analyze' \
-H 'content-type: application/json' \
--data-raw '{"gpx":"<gpx version=\"1.1\" creator=\"x\" xmlns=\"http://www.topografix.com/GPX/1/1\"><trk><trkseg><trkpt lat=\"52.0\" lon=\"7.0\"><ele>40<\/ele><time>2026-10-01T10:00:00Z<\/time><\/trkpt><trkpt lat=\"52.001\" lon=\"7.0\"><ele>42<\/ele><time>2026-10-01T10:00:20Z<\/time><\/trkpt><\/trkseg><\/trk><\/gpx>"}'
# 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/gpx-analyze' \
-H 'content-type: application/json' \
--data-raw '{"gpx":"<gpx version=\"1.1\" creator=\"x\" xmlns=\"http://www.topografix.com/GPX/1/1\"><trk><trkseg><trkpt lat=\"52.0\" lon=\"7.0\"><ele>40<\/ele><time>2026-10-01T10:00:00Z<\/time><\/trkpt><trkpt lat=\"52.001\" lon=\"7.0\"><ele>42<\/ele><time>2026-10-01T10:00:20Z<\/time><\/trkpt><\/trkseg><\/trk><\/gpx>"}' \
| 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.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%2Fort.halowerk.com%2Fv1%2Fgpx-analyze&method=POST
const res = await pay("https://ort.halowerk.com/v1/gpx-analyze", {
method: "POST",
headers: { "content-type": "application/json" },
body: JSON.stringify({
"gpx": "<gpx version=\"1.1\" creator=\"x\" xmlns=\"http://www.topografix.com/GPX/1/1\"><trk><trkseg><trkpt lat=\"52.0\" lon=\"7.0\"><ele>40<\/ele><time>2026-10-01T10:00:00Z<\/time><\/trkpt><trkpt lat=\"52.001\" lon=\"7.0\"><ele>42<\/ele><time>2026-10-01T10:00:20Z<\/time><\/trkpt><\/trkseg><\/trk><\/gpx>"
}),
});
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://ort.halowerk.com/v1/gpx-analyze",
json={
"gpx": "<gpx version=\"1.1\" creator=\"x\" xmlns=\"http://www.topografix.com/GPX/1/1\"><trk><trkseg><trkpt lat=\"52.0\" lon=\"7.0\"><ele>40</ele><time>2026-10-01T10:00:00Z</time></trkpt><trkpt lat=\"52.001\" lon=\"7.0\"><ele>42</ele><time>2026-10-01T10:00:20Z</time></trkpt></trkseg></trk></gpx>",
},
)
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 | 42 ms | $0.002 |
| 17 h ago | Passed | 402 | 125 ms | $0.002 |
| 3 days ago | Timed out | - | - | - |
| 4 days ago | Passed | 402 | 185 ms | $0.002 |
| 4 days ago | Passed | 402 | 177 ms | $0.002 |
Show 10 older checks
| 5 days ago | Passed | 402 | 41 ms | $0.002 |
| 5 days ago | Passed | 402 | 43 ms | $0.002 |
| 6 days ago | Passed | 402 | 40 ms | $0.002 |
| 6 days ago | Passed | 402 | 131 ms | $0.002 |
| 6 days ago | Passed | 402 | 38 ms | $0.002 |
| 7 days ago | Passed | 402 | 39 ms | $0.002 |
| 7 days ago | Passed | 402 | 39 ms | $0.002 |
| 7 days ago | Passed | 402 | 141 ms | $0.002 |
| 7 days ago | Passed | 402 | 44 ms | $0.002 |
| 8 days ago | Passed | 402 | 133 ms | $0.002 |