{"uid":"cap_xYiOq5YCdejDQlZ7uOcV7","slug":"agentrxi-route-directions-980388ed","name":"AgentRXI Route & Directions","description":"Directions between places (addresses, names or lat,lon) with optional stops: distance in km and miles, travel time, and turn-by-turn steps for driving, trucks, cycling, walking or transit, avoiding tolls, highways or ferries; optional GeoJSON route line.","url":"https://agentrxi.com/v1/route?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"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","required":["from","to"],"properties":{"to":{"type":"string"},"via":{"type":"string","description":"Stops separated by |"},"from":{"type":"string"},"mode":{"type":"string","description":"drive (default), truck, bicycle, walk, transit, ..."},"avoid":{"type":"string","description":"tolls|highways|ferries"},"units":{"type":"string","description":"metric or imperial"},"geometry":{"type":"boolean","description":"true to include the route line"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.005","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.005/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_-gIgqTteEeej2BhC9ttLW","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.005","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns turn-by-turn driving, cycling, walking, transit, or truck directions between two or more locations, including distance (km/mi), travel time, and an optional GeoJSON route line.","exampleAgentPrompt":"What's the driving route from 'Times Square, New York' to 'Philadelphia, PA' avoiding tolls — give me the distance in miles, travel time, and turn-by-turn steps?","exampleUseCases":[{"title":"Multi-stop road trip planner","prompt":"Plan a driving route from Los Angeles to San Francisco with stops in Santa Barbara and San Luis Obispo — give me the total distance in miles and turn-by-turn directions."},{"title":"Cyclist commute route","prompt":"Get me a cycling route from Brooklyn Bridge to Central Park in New York, avoiding highways, with the distance in kilometers and step-by-step directions."},{"title":"Truck delivery route avoiding tolls","prompt":"I need a truck-friendly route from Chicago, IL to Detroit, MI avoiding tolls and ferries — show me the distance, estimated travel time, and navigation steps."}],"resultDescription":"Returns total distance in both kilometers and miles, estimated travel time, and an ordered list of turn-by-turn navigation steps. If geometry is requested, also returns a GeoJSON LineString representing the route path on a map.","failureModes":["Unresolvable address or place name returns an error or empty result","Invalid or unsupported travel mode string causes a validation error","Missing required 'from' or 'to' parameters returns a 400-style error","Ambiguous place names may resolve to the wrong location","No viable route exists (e.g. island with no ferry/transit option) returns no route found","Malformed lat,lon coordinates cause parsing errors"],"whenToPreferThis":"Choose this endpoint when you need structured routing data including distance, time, and turn-by-turn steps for multiple travel modes (drive, truck, bicycle, walk, transit) with support for waypoints and avoidance options. Prefer it over general web search when you need machine-readable directions that can be parsed by an agent, and over mapping APIs when you need pay-per-call pricing without monthly subscription commitments.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-15T06:38:54.924Z","isFirstParty":false,"canonicalSlug":"agentrxi-route-directions-980388ed"}