{"uid":"cap_deHNY9PwmOkw29Zi7wtfy","slug":"citiview-route-distance-time-matrix-96ceaa1c","name":"Citiview Route Distance & Time 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://agents.citiviewgroup.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_CWqmlIIjuEtI7DzM4Evb1","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 for up to 50 origin-destination pairs by car, truck, bike, or foot, and returns the closest pair.","exampleAgentPrompt":"What's the travel time and distance by car from 37.7749,-122.4194 to each of these three drop-off points: 37.3382,-121.8863 | 37.8716,-122.2727 | 37.6879,-122.4702, and tell me which pair is closest?","exampleUseCases":[{"title":"Nearest store finder for customers","prompt":"A customer is at 40.7128,-74.0060 — which of my five store locations is closest to them by car? The stores are at 40.7306,-73.9352 | 40.6892,-74.0445 | 40.7489,-73.9680 | 40.7282,-74.0776 | 40.6501,-73.9496. Give me the travel times and distances and highlight the nearest one."},{"title":"Dispatch closest driver to pickup","prompt":"I have three drivers waiting at 51.5074,-0.1278 | 51.5155,-0.0922 | 51.4975,-0.1357 and a new pickup request at 51.5033,-0.1195. Calculate travel times by car for all three driver-to-pickup pairs and tell me which driver should be dispatched."},{"title":"Multi-stop delivery time planning","prompt":"I need to plan deliveries from my depot at 48.8566,2.3522 to these four addresses: 48.8738,2.2950 | 48.8296,2.3691 | 48.8799,2.3469 | 48.8462,2.2772. Give me the distance and estimated driving time to each, and tell me which delivery is closest to the depot."}],"resultDescription":"Returns a matrix of travel times and distances for each origin-destination pair, along with identification of the closest pair. Includes values per transport mode (car, truck, bike, or foot) as requested.","failureModes":["Missing required 'origins' or 'destinations' query parameters returns an error","More than 50 origin-destination pairs exceeds the limit","Invalid coordinate format or unresolvable place names cause lookup failure","Unsupported transport mode value returns an error","Network or upstream routing service unavailability returns a 5xx error"],"whenToPreferThis":"Use this endpoint when you need to compare travel times or distances across multiple origin-destination pairs in a single call — ideal for dispatching the nearest driver, finding the closest store to a customer, or batch-planning deliveries. Prefer it over single-pair routing APIs when you need matrix comparisons or the closest-pair result without assembling multiple individual calls.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-14T06:47:13.274Z","isFirstParty":false,"canonicalSlug":"citiview-route-distance-time-matrix-96ceaa1c"}