Resolve place names to regions — instantly

Send a list of free-text city names. Get back the most specific geographic region they share. Powered by fuzzy matching and a 180k-place hierarchy.

# POST /geo/resolve
curl -X POST https://api.gazetteer.dev/geo/resolve \
  -H "Authorization: Bearer gaz_..." \
  --data "Cuiabá\nSinop\nRondonópolis"

# → { "region": "Mato Grosso", "type": "state", "region_id": 3457419 }

Everything you need

Fuzzy matching

Handles typos, accents, and alternate names with pg_trgm similarity.

LCA algorithm

Finds the Lowest Common Ancestor across a full geographic hierarchy.

Redis caching

7-day result cache. Repeated queries return in microseconds.

Simple, prepaid pricing

Buy credits upfront. Pay only for what you use.

Starter
R$ 10
1.000 credits
Get started
Growth
R$ 45
5.000 credits
Get started
Scale
R$ 160
20.000 credits
Get started