{"uid":"cap_cpnDzond4_ovUD9vtXzzG","slug":"geocoding-reverse-geocoding-openstreetmap-a51d3323","name":"Geocoding & Reverse Geocoding (OpenStreetMap)","description":"Turn an address, place or landmark into coordinates with a structured address, or coordinates into the nearest address (reverse), from OpenStreetMap. Use for maps, delivery, distance calculations or location lookups.","url":"https://bess-x402.onrender.com/v1/geo/geocode?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","HEAD","DELETE"],"type":"string"},"queryParams":{"type":"object","required":[],"properties":{"q":{"type":"string","description":"Address or place name (forward geocoding)"},"lat":{"type":"number","description":"Latitude (reverse geocoding)"},"lon":{"type":"number","description":"Longitude (reverse geocoding)"},"lang":{"type":"string","description":"Result language, e.g. en"},"limit":{"type":"integer","description":"Maximum number of results (1-20)"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.003","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.002/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_xBbtDoBEnLFuc8_5i8t9g","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.002","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Converts an address or place name into geographic coordinates (forward geocoding) or converts coordinates into a nearest address (reverse geocoding) using OpenStreetMap data.","exampleAgentPrompt":"What are the GPS coordinates for 221B Baker Street, London? Give me the lat/lon and the full structured address.","exampleUseCases":[{"title":"Delivery address validation and routing","prompt":"I have a customer shipping address — '1600 Pennsylvania Avenue NW, Washington DC' — can you get me the exact latitude and longitude so I can plug it into my routing system?"},{"title":"Reverse geocode a GPS ping","prompt":"I've got coordinates 48.8584 latitude and 2.2945 longitude — what's the nearest street address there?"},{"title":"Location enrichment for user signups","prompt":"A user typed 'Eiffel Tower, Paris' as their location during signup — can you look that up and give me the structured address and coordinates so I can store them in our database?"}],"resultDescription":"Returns one or more geocoding results, each containing latitude, longitude, a human-readable display name, a structured address broken into components (street, city, country, postcode, etc.), the place type, and a bounding box. For reverse geocoding, returns the nearest address to the provided coordinates.","failureModes":["No results found for ambiguous or misspelled address — empty results array returned","Missing required query parameter (either `q` for forward or `lat`/`lon` for reverse) — 400 error","Rate limit or payment failure — 402 or 429 response","Service unavailable on Render cold start — 503 or slow first response","Non-existent or very rural location may return low-confidence or distant result"],"whenToPreferThis":"Choose this endpoint when you need low-cost, OpenStreetMap-based geocoding or reverse geocoding without requiring a Google Maps or proprietary API key. It is well-suited for maps, delivery logistics, distance calculations, and location enrichment pipelines. It supports multilingual results and up to 20 results per call, making it flexible for disambiguation use cases.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-30T07:04:02.862Z","isFirstParty":false,"canonicalSlug":"geocoding-reverse-geocoding-openstreetmap-a51d3323"}