R
$0.01
per call · USD Coin on Base
$0.01/route. Calculate a route between two points — distance, duration, and geometry back as JSON. 155 tools, one balance — relaystation.ai
Endpoint
POST https://api.relaystation.ai/v1/location/route20
Calls / 30d
1
Unique payers / 30d
Sep 10
Last called
exact
Payment scheme
Call this service
TypeScript · @x402/fetch
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://api.relaystation.ai/v1/location/route", {
method: "POST",
headers: { "Content-Type": "application/json" },
body: JSON.stringify({
"departNow": true,
"destination": [
1,
1
],
"origin": [
1,
1
],
"travelMode": "Car"
}),
});
const data = await res.json();cURL
curl -X POST \
"https://api.relaystation.ai/v1/location/route" \
-H "Content-Type: application/json" \
-d '{"departNow":true,"destination":[1,1],"origin":[1,1],"travelMode":"Car"}' \
-H "X-PAYMENT: <signed x402 payment>"Example response
{
"ok": true
}Payment details
Pay to
0x5f7254f252ef9b9f92b6b4f2cf91205ed7a96c7aAsset
USD Coin · 0x833589fcd6edb6e08f4c7c32d4f71b54bda02913NetworksBase
Schemesexact
Is this your API?
Pin it to the top of Data & Enrichment and the homepage with a featured placement.
More from Relaystation Route & similar services
O
Oneshotagent · Verify Email
win.oneshotagent.com
Email deliverability verification
POSTBaseData & Enrichment
$0.001 / call5.8k calls / 30d
O
Oneshotagent · Enrich Email
win.oneshotagent.com
Email enrichment and validation
POSTBaseData & Enrichment
$0.005 / call2.6k calls / 30d
S
Strale · Email Validate
api.strale.io
Validate an email address: RFC 5322 syntax, MX records, 5,361 disposable domain detection, role-based address detection (35 patterns), free provider detection, and typo suggestion for common providers (gmial.com ? gmail.com). Returns deliverability assess…
GETbaseData & Enrichment
$0.0324 / call2.3k calls / 30d