{"uid":"cap_4dye952lYJFYA58JhQ1qM","slug":"osrm-nearest-road-snap-clonecho-builda-company-e4a448ef","name":"OSRM Nearest Road Snap (clonecho.builda.company)","description":"TRANSPORT: snap a coordinate (?lat=&lon=) to the nearest drivable road segment via OSRM. Returns JSON.","url":"https://clonecho.builda.company/x402/nearest-road","method":"POST","headers":{},"bodySchema":null,"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.01","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"registry","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.01/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_N2B1oackbdT2Ut6ZiEJpZ","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":"0x036CbD53842c5426634e7929541eC2318f3dCF7e","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Snaps a geographic coordinate (lat/lon) to the nearest drivable road segment using OSRM, returning road metadata as JSON.","exampleAgentPrompt":"Can you snap the coordinate 40.7128, -74.0060 to the nearest drivable road segment and tell me what road it's on?","exampleUseCases":[{"title":"Cleaning up noisy delivery GPS traces","prompt":"I've got a bunch of messy GPS coordinates from our delivery driver's phone today. Can you snap each of these points to the actual roads so we can see the real route they took without all the GPS noise?"},{"title":"Finding nearest street for addresses","prompt":"We have some customer locations that are a bit off because of geocoding errors. Can you snap them to the nearest drivable road and tell me which street each one is actually on?"},{"title":"Preprocessing waypoints for route planning","prompt":"Before I calculate the best route between these stops, can you first snap all the pickup and dropoff coordinates to the road network so they're aligned with where drivers can actually drive?"}],"resultDescription":"A JSON object containing the snapped road coordinate, distance from the input point to the nearest road, and road segment metadata such as name and node identifiers, sourced from the OSRM routing engine.","failureModes":["Invalid or out-of-range latitude/longitude returns an error","Coordinate in a location with no road data (e.g. middle of ocean) returns no match","Missing lat or lon query parameter causes a bad request error","Payment not processed results in 402 response","OSRM backend unavailable causes timeout or 5xx error"],"whenToPreferThis":"Use this endpoint when you need to align raw GPS coordinates to the actual road network — ideal for preprocessing location data before routing, cleaning up noisy GPS traces, or determining which road a point belongs to. Prefer this over full routing endpoints when you only need the nearest road snap, not a full route.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T07:13:08.690Z","isFirstParty":false}