w14n
Enter a Brazilian municipality and its two-letter state code to get its latitude and longitude, plus the URL-friendly slug the dataset uses. Useful for developers geocoding Brazilian place names without a map service, and for anyone plotting towns on a map.
The pre-filled example looks up Sorriso in Mato Grosso (MT), which returns its coordinates and slug.
What it's useful for
- Get coordinates for a Brazilian town to drop a pin on a map or in a spreadsheet.
- Check how a municipality name is normalised into a slug before using it in a URL or database key.
- Look up Federal District administrative regions, which the dataset lists alongside municipalities.
- Test a Brazilian geocoding step in an app with a few known towns.
Frequently asked questions
Why do I need to enter a state as well as a name?
Many Brazilian municipalities share a name across states, so the state code (UF, such as MT or SP) tells the dataset which one you mean.
What does it say when the town is not found?
The service answers with a not_found error and a hint to check the spelling. Its search matches names and slugs without accents, so try the name without diacritics and confirm the state.
Where does the data come from?
The service, w14n, says its municipality coordinates draw on IBGE (the Brazilian statistics institute) together with OpenStreetMap and GeoNames. We pass your request through our server and show the result.
Why is the IBGE code not shown?
The sample response returns null for the IBGE code, so this page shows name, state, type and coordinates, which were present.
How precise are the coordinates?
They are a single point per municipality, given to four decimal places. Treat it as a representative location for the town, not a boundary or an address.
About this data
- Data comes from a free third-party service (api.w14n.dev). We pass your request through our server so your browser never contacts it directly.
- Service limit: 10 requests per 10 seconds per IP. If it's reached, this page tells you how long to wait.
- Terms: No key; terms: datasets under ODbL 1.0 (attribution/share-alike); free access 'currently', may add keys/plans later; partial sample data.
- The service can change or go offline without notice, and we can't vouch for the accuracy of what it returns.
- Official documentation