Skip to content
Fourohtwo

lookups.mtfit-mcp.workers.dev/api/distance

Distance calculator between coordinates, haversine distance (km, miles). Great-circle distance between two points given as latitude and longitude (decimal degrees): kilometres, miles, nautical miles, plus the starting compass bearing and the midpoint.

BaseUnchecked
GEThttps://lookups.mtfit-mcp.workers.dev/api/distance

UptimeNot checked yet

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

import { createPayer } from "fourohtwo";

// One agent key pays USDC on Base or USDG on Robinhood Chain,
// inside the spending rules you set on Fourohtwo.
const pay = createPayer({ privateKey: process.env.AGENT_KEY });
const res = await pay("https://lookups.mtfit-mcp.workers.dev/api/distance?lat1=51.5074&lat2=48.8566&lon1=-0.1278&lon2=2.3522");
console.log(await res.json());

Example input

{
  "lat1": 51.5074,
  "lat2": 48.8566,
  "lon1": -0.1278,
  "lon2": 2.3522
}

More from Lookup Kit