Geocoding API documentation
Geocoding, autocomplete and reverse geocoding from one .glx file. Learn the API, how ranking works, and how to run it yourself.
Capabilities
Call api.geolith.app with a key, or run the same API from one .glx file.
Text, prefix and spatial indexes in one file. No database.
BM25 plus place importance. Filters apply before records are read.
Search, autocomplete, structured search and reverse geocoding.
User text is tokenized, never parsed as query syntax, never logged.
A Rust axum service that reads one .glx file.
Navigate
Base URL, keys, quotas, errors, and quickstarts for JS, React, Vue, Python, curl and MapLibre.
Read moreWhat geolith search is, a first request, and configuration.
Read moreEvery endpoint, parameter, response field and error.
Read moreHow ranking, focus points and reverse geocoding work.
Read moreBuild the .glx file and run the service.
Read more