# OpenWeb Ninja Driving Directions API

> OpenWeb Ninja Driving Directions API is a paid API for AI agents from x402.openwebninja.com, paid per call via x402, $0.003/call, status unknown (last checked 2026-09-14).

Returns turn-by-turn driving directions between two locations, including route steps, distance, and estimated travel time

## Facts

- Endpoint: GET https://x402.openwebninja.com/realtime-local-and-maps-data/driving-directions/get-directions
- Price: $0.003/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/openweb-ninja-driving-directions-api-66c11ab9
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_1IltMJ0FFPhBH846EUgx4

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability openweb-ninja-driving-directions-api-66c11ab9
```

Example prompt: Can you get me driving directions from 350 Fifth Avenue, New York, NY to JFK Airport so I know the route and how long it will take to drive?

## When to prefer this

Choose this endpoint when you need real-time driving directions without setting up an account or API key, and you can pay per-call in USDC via x402. It is ideal for agents that need on-demand routing for a single origin-destination pair at a very low cost ($0.003/call). Prefer alternatives like Google Maps Directions API or Mapbox if you need high-volume routing, complex multi-stop optimization, or guaranteed SLA.

## Known failure modes

- Invalid or unrecognizable origin/destination addresses return an error or empty result
- Ambiguous location names without sufficient context may produce incorrect routes
- No route found for inaccessible or non-drivable locations
- Payment failure over x402 protocol returns HTTP 402 and no data
- Network timeout if the upstream maps data provider is slow

## How this service works

40+ public web-data, SERP, e-commerce, real-estate, finance and AI-search APIs, payable per call over x402 (USDC on Base, Polygon, Arbitrum). No account or API key required. Most endpoints $0.003; AI-model endpoints $0.005.

## Output

A JSON response containing the full driving route including step-by-step turn-by-turn instructions, total distance, estimated duration, and potentially a route polyline or map data between the specified origin and destination.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "required": {
   "type": "string"
  },
  "properties": {
   "type": "string"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {}
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/openweb-ninja-driving-directions-api-66c11ab9/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402.openwebninja.com](https://www.zero.xyz/host/x402.openwebninja.com/llms.txt)
