Search docs

Geocoding API documentation

Geolith Search

Geocoding, autocomplete and reverse geocoding from one .glx file. Learn the API, how ranking works, and how to run it yourself.

Capabilities

What you get

Hosted or self-hosted

Call api.geolith.app with a key, or run the same API from one .glx file.

One .glx file

Text, prefix and spatial indexes in one file. No database.

Ranked in the index

BM25 plus place importance. Filters apply before records are read.

Four endpoints

Search, autocomplete, structured search and reverse geocoding.

Safe input

User text is tokenized, never parsed as query syntax, never logged.

One binary

A Rust axum service that reads one .glx file.

Navigate

Jump into the docs