osrmroute
Products
Search

Autocomplete API

Fast, typo-tolerant place suggestions as the user types, with optional location bias.

Illustrative example
GET/api/1/autocomplete

Current plan limits

Free includes Routing, Route Optimization, Geocoding (including reverse lookup and autocomplete) and Matrix APIs within plan limits. Map Matching, Isochrone, Truck Routing, Fuel Estimate and other separate APIs require a paid plan, including PAYG. API access follows the account’s effective plan; a positive balance alone does not override Free restrictions. Road Data and AI retain their separate Business requirements.

Credit and requests-per-minute limits are shared across all account keys. An additional key credit cap cannot enlarge the account budget. Included credits are used first, then purchased credits.

Current plans and pricing

Overview

The Autocomplete API returns fast, typo-tolerant place suggestions as the user types. Each suggestion includes a ready-to-display label, its category and coordinates, so you can power a search box in a few lines. Bias results toward the user with lat/lon, restrict them with a bounding box, or filter by place type.

API reference

GET/api/1/autocomplete
ParameterTypeStatus
qstringRequired
limitintegerOptional
langstringOptional
latnumberOptional
lonnumberOptional
countrystringOptional
citystringOptional
osm_tagstringOptional

Example request

Credit cost: 1 credit
curl "https://osrmroute.com/api/1/autocomplete?q=niz&lang=az&lat=40.40&lon=49.86" -H "Authorization: Bearer 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.