Api Endpoint

x402-toolbox

Driving route between two coordinates via OSRM (OpenStreetMap): distance km, duration, road summary. Free public router, no key.

Open interactive test console

Offering

Provider
x402-toolbox.shablony-pro.workers.dev
Method
GET
Offering type
Api Endpoint
Transport type
http
Category
Other
Delivery
Not provided
Pricing model
Not provided
x402 version
2

Endpoint context

URL
https://x402-toolbox.shablony-pro.workers.dev/geo/driving-route-distance
MIME type
application/json
First seen
2026-10-23T22:46:46.158Z
Last seen
Tags
route, driving, distance, osrm, maps, directions, travel

Payment pricing

x402 payment terms are the authoritative price for calling this endpoint.

Payment option 1
0.002 USDC
Atomic price: 2000 · Network: eip155:8453 · Asset: USDC · Scheme: exact
Payment option 2
0.002 USDC
Atomic price: 2000 · Network: solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp · Asset: USDC · Scheme: exact
Payment option 3
2000 atomic units
Atomic price: 2000 · Network: eip155:196 · Asset: 0x779Ded0c9e1022225f8E0630b35a9b54bE713736 · Scheme: exact
Raw x402 terms
[
  {
    "scheme": "exact",
    "network": "eip155:8453",
    "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
    "amount": "2000",
    "payTo": "0xab05988B85F177f3a355d05848abA11fC27E1317"
  },
  {
    "scheme": "exact",
    "network": "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp",
    "asset": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
    "amount": "2000",
    "payTo": "4m49M9rWjqQBAkUXkhigX9Ebe9D8pbnuUVb1ySoYsjSP"
  },
  {
    "scheme": "exact",
    "network": "eip155:196",
    "asset": "0x779Ded0c9e1022225f8E0630b35a9b54bE713736",
    "amount": "2000",
    "payTo": "0xab05988B85F177f3a355d05848abA11fC27E1317"
  }
]

Observed health

Status
Healthy
Latest latency
86 ms
Average latency
79 ms
HTTP status
402
Last checked
Reachability
100% over 8 checks

Latency is measured to the first response headers. A reachable result does not verify response accuracy or merchant identity.

Input schema

{
  "type": "http",
  "method": "GET",
  "queryParams": {
    "schema": {
      "queryParams": {
        "to": {
          "type": "string",
          "required": true,
          "description": "lon,lat"
        },
        "from": {
          "type": "string",
          "required": true,
          "description": "lon,lat"
        },
        "mode": {
          "type": "string",
          "required": false,
          "description": "driving (default) | cycling | walking"
        }
      }
    }
  }
}

Output schema

{
  "type": "object",
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "required": [
    "input"
  ],
  "properties": {
    "input": {
      "type": "object",
      "required": [
        "type",
        "method"
      ],
      "properties": {
        "type": {
          "type": "string",
          "const": "http"
        },
        "method": {
          "enum": [
            "GET"
          ],
          "type": "string"
        },
        "queryParams": {
          "type": "object"
        }
      }
    },
    "output": {
      "type": "object",
      "required": [
        "type"
      ],
      "properties": {
        "type": {
          "type": "string"
        },
        "example": {
          "type": "object"
        }
      }
    }
  }
}