GeocodingPublic API
administrative-divisons-db
Get all administrative divisions of a country
Before you call it
What this listing means in practice
No key to obtain
You can make a request immediately. Be considerate with volume anyway: open APIs often publish informal rate limits, and some will block clients that hammer them.
HTTPS supported
Requests can be made over TLS. Use HTTPS endpoints in production so browsers do not block the call as mixed content.
CORS enabled
The provider sends browser-friendly CORS headers, so you can call the API from client-side JavaScript without a proxy — subject to any key restrictions.
Start with the provider's own documentation. It is the only place where endpoints, rate limits, pricing and terms are authoritative.
https://github.com/kamikazechaser/administrative-divisions-dbNo API calls are proxied by this directory. Links go directly to the provider.
API listings describe access requirements, not endorsements. Review each provider's privacy policy, terms and rate limits.
Overview
About administrative-divisons-db
administrative-divisons-db needs no API key. That puts it among 56 of the 113 geocoding APIs we list that you can try without signing up.
It also supports HTTPS and CORS, so you can call it straight from browser JavaScript with no key and no proxy. Only 24 geocoding APIs tick all three boxes.
The documentation is hosted on GitHub (github.com), which usually means an open-source or community-run project. Check the repository's recent commits and open issues to see whether it is still maintained.
Geocoding APIs in general
Geocoding APIs turn addresses into coordinates and back, look up IP locations, and return country, postcode and boundary data.
What people build with them
- Address autocomplete in checkout forms
- Plotting customers on a map
- Detecting a visitor's country
Watch out for
Many free geocoders forbid storing results permanently. If you need to keep coordinates, check the caching rules.
First request
Calling administrative-divisons-db
Works in the browser or in Node.
JavaScript// Replace the path with an endpoint from the administrative-divisons-db docs
const res = await fetch("https://github.com/kamikazechaser/administrative-divisions-db/<endpoint>");
if (!res.ok) throw new Error(`administrative-divisons-db returned ${res.status}`);
const data = await res.json();Compare
administrative-divisons-db vs similar APIs
| API | Auth | HTTPS | CORS |
|---|---|---|---|
| administrative-divisons-db | No key | Yes | Yes |
| bng2latlong | No key | Yes | Yes |
| Unblock Master IP | No key | Yes | Yes |
| SLF | No key | Yes | Yes |
| SearchPinCode | No key | Yes | Yes |
| REST Countries | No key | Yes | Yes |
FAQ
Common questions about administrative-divisons-db
Does administrative-divisons-db need an API key?
No. administrative-divisons-db is listed with no authentication, so you can send a request without registering.
Can I call administrative-divisons-db from the browser?
CORS is listed as enabled, so frontend JavaScript can call it directly.
Is administrative-divisons-db free?
No key is required, which usually means free access, but providers can still limit volume. Check administrative-divisons-db's docs for rate limits and fair-use terms.
What are some alternatives to administrative-divisons-db?
Other geocoding APIs in the directory include bng2latlong (no key), Unblock Master IP (no key), SLF (no key). The comparison table on this page shows how they differ on authentication, HTTPS and CORS.
Same category
More Geocoding APIs
Next step
Keep looking until the constraints fit.
Filter the directory by authentication, HTTPS and CORS, or start from a category and work backwards.