{"uid":"cap_gWumfPGegp5pBrH7pVxJT","slug":"agentrxi-route-matrix-bb16d539","name":"AgentRXI Route Matrix","description":"Travel time and distance matrix between up to 50 origin-destination pairs (places or lat,lon) by car, truck, bike or foot, with the closest pair. For dispatching, store finders and delivery planning.","url":"https://agentrxi.com/v1/route/matrix?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":["origins","destinations"],"properties":{"mode":{"type":"string"},"origins":{"type":"string","description":"| separated"},"destinations":{"type":"string","description":"| separated"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.008","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.008/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.008","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.008","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_w1RdIq8vv1Y4Fr_i_pk8a","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.008","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Computes travel time and distance between up to 50 origin-destination pairs by car, truck, bike, or foot, and identifies the closest pair","exampleAgentPrompt":"What are the driving times and distances from our warehouse at 40.7128,-74.0060 to each of these three customer locations: 34.0522,-118.2437 | 41.8781,-87.6298 | 29.7604,-95.3698 — and which one is closest?","exampleUseCases":[{"title":"Nearest store finder for customers","prompt":"A customer is at 51.5074,-0.1278 — which of our five London store locations (51.5155,-0.0922 | 51.4995,-0.1248 | 51.5033,-0.0754 | 51.5207,-0.1550 | 51.4893,-0.1963) is closest to them by car, and how long would it take to drive there?"},{"title":"Delivery driver dispatch optimization","prompt":"I have three drivers at 40.7128,-74.0060 | 40.7306,-73.9352 | 40.6892,-74.0445 and a new order pickup at 40.7580,-73.9855 — which driver is closest by car and how many minutes away are they?"},{"title":"Multi-stop delivery route planning by bike","prompt":"Give me travel times and distances by bike from our fulfillment center at 48.8566,2.3522 to each of these five delivery addresses: 48.8738,2.2950 | 48.8462,2.3372 | 48.8799,2.3557 | 48.8615,2.3812 | 48.8329,2.3708, and tell me which is farthest."}],"resultDescription":"Returns a matrix of travel times and distances for each origin-destination pair, along with identification of the closest pair. Each cell typically contains duration (in seconds or minutes) and distance (in meters or kilometers) for the specified travel mode.","failureModes":["Too many origin-destination pairs exceeding the 50-pair limit","Invalid coordinate format or unresolvable place name","Unsupported travel mode value","Route not found between specified locations (e.g. island with no road access)","Payment failure or insufficient USDC balance"],"whenToPreferThis":"Use this endpoint when you need travel time or distance comparisons across multiple origin-destination pairs simultaneously — ideal for dispatching, store finders, or delivery planning. Prefer it over single-route APIs when batch comparison is needed, and over geocoding-only APIs when actual travel time (not straight-line distance) is required. Supports multiple transport modes including car, truck, bike, and foot.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-15T06:39:15.764Z","isFirstParty":false,"canonicalSlug":"agentrxi-route-matrix-bb16d539"}