https://x402.openwebninja.com/driving-directions/get-directions
No description provided.
3000 (raw units)
price
4
calls / 30d
1
unique payers
2026-08-20
updated
Provider
x402.openwebninja.com · discovered, not yet claimed by its owner
Payment (x402 accepts[])
[
{
"scheme": "exact",
"network": "eip155:8453",
"payTo": "0x3e7c9cA818f713F19e126E3B7B37B47dC1411570",
"asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
"amount": "3000",
"maxTimeoutSeconds": 300
},
{
"scheme": "exact",
"network": "eip155:137",
"payTo": "0x3e7c9cA818f713F19e126E3B7B37B47dC1411570",
"asset": "0x3c499c542cEF5E3811e1192ce70d8cC03d5c3359",
"amount": "3000",
"maxTimeoutSeconds": 300
},
{
"scheme": "exact",
"network": "eip155:42161",
"payTo": "0x3e7c9cA818f713F19e126E3B7B37B47dC1411570",
"asset": "0xaf88d065e77c8cC2239327C5EDb3A432268e5831",
"amount": "3000",
"maxTimeoutSeconds": 300
}
]Output schema
{
"bazaar": {
"info": {
"input": {
"method": "GET",
"type": "http"
},
"output": {
"example": {},
"type": "json"
}
},
"schema": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"input": {
"additionalProperties": false,
"properties": {
"method": {
"enum": [
"GET",
"HEAD",
"DELETE"
],
"type": "string"
},
"queryParams": {
"properties": {
"arrival_time": {
"default": 0,
"type": "number"
},
"avoid_routes": {
"type": "string"
},
"country": {
"default": "US",
"type": "string"
},
"departure_time": {
"default": 0,
"type": "number"
},
"destination": {
"type": "string"
},
"distance_units": {
"default": "auto",
"enum": [
"auto",
"km",
"mi"
],
"type": "string"
},
"language": {
"default": "EN",
"type": "string"
},
"origin": {
"type": "string"
}
},
"required": [
"origin",
"destination"
],
"type": "object"
},
"type": {
"const": "http",
"type": "string"
}
},
"required": [
"type",
"method"
],
"type": "object"
},
"output": {
"properties": {
"example": {
"properties": {
"data": {
"properties": {
"best_routes": {
"items": {
"properties": {
"arrival_datetime_utc": {
"description": "Arrival time in UTC ISO format",
"type": "string"
},
"arrival_timestamp": {
"description": "Arrival time as Unix timestamp",
"type": "integer"
},
"departure_datetime_utc": {
"description": "Departure time in UTC ISO format",
"type": "string"
},
"departure_timestamp": {
"description": "Departure time as Unix timestamp",
"type": "integer"
},
"distance_label": {
"description": "Human-readable distance description",
"type": "string"
},
"distance_meters": {
"description": "Total route distance in meters",
"type": "integer"
},
"duration_label": {
"description": "Human-readable duration description",
"type": "string"
},
"duration_seconds": {
"description": "Estimated travel time in seconds",
"type": "integer"
},
"max_duration_seconds": {
"description": "Maximum expected travel time in seconds",
"type": "integer"
},
"min_duration_seconds": {
"description": "Minimum expected travel time in seconds",
"type": "integer"
},
"route_name": {
"description": "Name or identifier of the route",
"type": "string"
},
"route_parts": {
"items": {
"properties": {
"distance_label": {
"description": "Human-readable distance for this part",
"type": "string"
},
"distance_meters": {
"description": "Distance of this route part in meters",
"type": "integer"
},
"duration_label": {
"description": "Human-readable duration for this part",
"type": "string"
},
"duration_seconds": {
"description": "Duration of this route part in seconds",
"type": "integer"
},
"instructions": {
"items": {
"properties": {
"photo_url": {
"description": "URL of an instructional photo",
"type": "string"
}
},
"type": "object"
},
"type": "array"
},
"summary": {
"description": "Brief description of the route part",
"type": "string"
}
},
"type": "object"
},
"type": "array"
}
},
"type": "object"
},
"type": "array"
},
"destination": {
"properties": {
"address": {
"description": "Short address of the destination",
"type": "string"
},
"full_address": {
"description": "Complete address of the destination",
"type": "string"
},
"google_id": {
"description": "Google Places ID for the destination",
"type": "string"
},
"latitude": {
"description": "Latitude coordinate of the destination",
"type": "number"
},
"longitude": {
"description": "Longitude coordinate of the destination",
"type": "number"
},
"name": {
"description": "Name of the destination location",
"type": "string"
}
},
"type": "object"
},
"directions_link": {
"description": "URL to view directions on maps",
"type": "string"
},
"origin": {
"properties": {
"address": {
"description": "Short address of the origin",
"type": "string"
},
"full_address": {
"description": "Complete address of the origin",
"type": "string"
},
"google_id": {
"description": "Google Places ID for the origin",
"type": "string"
},
"latitude": {
"description": "Latitude coordinate of the origin",
"type": "number"
},
"longitude": {
"description": "Longitude coordinate of the origin",
"type": "number"
},
"name": {
"description": "Name of the origin location",
"type": "string"
}
},
"type": "object"
}
},
"type": "object"
},
"request_id": {
"description": "Unique identifier for the API request",
"type": "string"
},
"status": {
"description": "The status of the API response",
"type": "string"
}
},
"type": "object"
},
"type": {
"type": "string"
}
},
"required": [
"type"
],
"type": "object"
}
},
"required": [
"input"
],
"type": "object"
}
}
}Use it
curl
curl "https://x402.openwebninja.com/driving-directions/get-directions" # -> 402 Payment Required, accepts[] lists how to pay # retry with a PAYMENT-SIGNATURE (or PAYMENT header) once paid
JavaScript
const res = await fetch("https://x402.openwebninja.com/driving-directions/get-directions");
if (res.status === 402) {
const { accepts } = await res.json();
// pay one of accepts[] via an x402 client, then retry with the payment header
}Python
import httpx
res = httpx.get("https://x402.openwebninja.com/driving-directions/get-directions")
if res.status_code == 402:
accepts = res.json()["accepts"]
# pay one of accepts[] via an x402 client, then retry with the payment headerMachine-readable
Everything on this page is also available as clean JSON at /resources/14958.json, and this resource appears in /discovery/resources and /discovery/search.