Skip to content

Gazetteer API

Resolve free-text place names to structured geographic regions — in milliseconds.

Gazetteer takes a list of free-text place names and returns the most specific common geographic region that contains all of them, using fuzzy matching and a hierarchical place database.

["Cuiabá", "Sinop"] → Mato Grosso (state)
["Paris", "Lyon"] → France (country)
["NYC", "LA", "Chicago"] → United States (country)

Fuzzy Matching

Handles typos, accents, and alternate names via PostgreSQL pg_trgm similarity.

LCA Algorithm

Finds the Lowest Common Ancestor across ~180k places in a closure-table hierarchy.

Redis Caching

Results cached for 7 days. Repeated queries are sub-millisecond.

Pay-per-use

Prepaid credit model. Buy credits via PIX and pay only for what you use.