{"uid":"cap_w_SFoKM9JVc-M0yUXCKzq","slug":"suverse-geo-osrm-nearest-road-snap-cb2132ae","name":"Suverse Geo OSRM Nearest Road Snap","description":"Snap a lon,lat coordinate to the nearest routable road via public OSRM. Returns matched location, road name and snap distance for the closest N points. Keyless OpenStreetMap map-matching for agents.","url":"https://proxy.suverse.io/v1/data/suverse-geo-osrm-nearest","method":"POST","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method","bodyType","body"],"properties":{"body":{"properties":{}},"type":{"type":"string","const":"http"},"method":{"enum":["POST","PUT","PATCH"],"type":"string"},"bodyType":{"enum":["json","form-data","text"],"type":"string"}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.002","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"settled","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.002/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.06","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.06","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_S_ZenWk5f-FHU5tdqCZrV","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.06","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Snaps a longitude/latitude coordinate to the nearest routable road using public OSRM, returning the matched road location, road name, and snap distance.","exampleAgentPrompt":"Can you snap the coordinate -73.9857, 40.7484 to the nearest routable road and tell me the road name and how far off the road that point is?","exampleUseCases":[{"title":"Correct GPS drift to road","prompt":"I have a GPS reading at longitude -122.4194, latitude 37.7749 that might be slightly off — can you snap it to the nearest road and tell me what street it's on and how far the snap was?"},{"title":"Validate delivery address coordinates","prompt":"We have a delivery coordinate at lon 2.3522, lat 48.8566 — can you match it to the nearest routable road so we know the actual street name and whether it's on a navigable road?"},{"title":"Enrich ride-share pickup point","prompt":"A passenger's pickup pin is at longitude 13.4050, latitude 52.5200 — snap it to the nearest driveable road and give me the matched road name and snap distance so the driver knows exactly where to pull up."}],"resultDescription":"Returns the matched road location coordinates, the road name (from OpenStreetMap), and the distance in meters from the input coordinate to the snapped point on the road, for the closest N road points requested.","failureModes":["Coordinate in an area with no road data in OpenStreetMap (remote/unmapped regions) — may return no match or large snap distance","Invalid or out-of-range longitude/latitude values — likely returns an error or empty result","OSRM public service unavailability causing upstream timeout","Coordinate over water or non-routable terrain — snap distance may be very large or no match returned","Missing or malformed required body fields — returns 400-level error"],"whenToPreferThis":"Choose this endpoint when you need keyless, pay-per-call road snapping without setting up your own OSRM instance. Ideal for agents that need to correct raw GPS coordinates to the nearest routable road using OpenStreetMap data, especially when routing or map-matching fidelity matters and no API key management is desired. Prefer over raw geocoding APIs when the specific goal is snapping to a driveable road network rather than reverse geocoding to an address.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T00:52:06.858Z","isFirstParty":false}