osrmroute

Geocoding API

High Accuracy

Convert addresses to coordinates and look up addresses from coordinates. Explore geocoding and reverse-geocoding requests, responses and coverage.

GET/api/1/geocode

Overview

The Geocoding API converts free-text addresses into precise coordinates (forward) and coordinates back into readable addresses (reverse). Forward search runs on a self-hosted Photon engine for fast, typo-tolerant, multilingual autocomplete that covers streets, addresses and points of interest; reverse runs on Nominatim for accurate structured results. Relevance controls — location bias, bounding box, category and strict country and city filters — let you tune results for any use case.

Forward geocoding (address to coordinate)
Reverse geocoding (coordinate to address)
Fast search suggestions (auto-complete)
High address accuracy

API reference

GET/api/1/geocode
ParameterTypeStatus
qstringOptional
reversebooleanOptional
pointstringOptional
limitintegerOptional
langstringOptional
latnumberOptional
lonnumberOptional
bboxstringOptional
osm_tagstringOptional
countrystringOptional
citystringOptional
elasticbooleanOptional

Example request

Credit cost: 1 credit
curl "https://osrmroute.com/api/1/geocode?q=Nizami&country=AZ&city=Bak%C4%B1&lang=az&key=YOUR_KEY"

Other services

OSRMRoute Support

Talk directly to our team

HERE TO HELP

How can we help?

Send a message. Ticket replies are also sent to your verified email.

Your chats

Your chats will appear here.