← Back to directory

Build a haversine distance and estimated duration matrix from caller coordinates...

https://www.brainiac.software/api/v1/route-optimization/distance-matrix

Overview

Build a haversine distance and estimated duration matrix from caller coordinates with optional circuity and speed. Docs: https://www.brainiac.software/api/route-optimization/distance-matrix

Protocol x402 (POST)
Price $0.02
Payment Asset USD Coin
Payment Network eip155:8453
Category uncategorized
Provider Great-circle Distance Duration
Source bazaar
Indexed 2026-11-24 19:01:10

Health

Status unknown
Latency (p50) —
Uptime (30d) —
Reliability Score —
Last Checked Never
Last Healthy Never
Consecutive Failures 0

x402 Payment Validation

Payment Requirements —
Asset Verified —
Facilitator —

Input Schema

{ "body": { "circuity": 1, "locations": [ { "id": "london", "lat": 51.5074, "lon": -0.1278 }, { "id": "paris", "lat": 48.8566, "lon": 2.3522 } ], "speedKph": 80 }, "bodyType": "json", "method": "POST", "type": "http" }

Output Schema

{ "example": { "distancesM": [ [ 0, 343557 ], [ 343557, 0 ] ], "durationsS": [ [ 0, 15460 ], [ 15460, 0 ] ], "estimate": true, "ids": [ "london", "paris" ], "limitations": [ "Haversine with IUGG mean radius 6,371,008.8 m; duration = distance / (speedKph/3.6), rounded to whole metres/seconds.", "Outputs are route and delivery calculations for human review. They are not legal, customs, tax, medical or identity det" ], "sources": [ { "retrievedAt": "2026-11-14", "source": "Caller-supplied coordinates or distance/duration matrices processed locally", "status": "ok", "url": "https://www.brainiac.software/api/v1/route-optimization" } ] }, "type": "json" }