administrative-divisons-db vs Gravity API
If you need a Geocoding API that's easy to integrate, go with administrative-divisons-db.
administrative-divisons-db
Get all administrative divisions of a country
Gravity API
The gravitational field of the earth is non-uniform. The <a href='https://en.wikipedia.org/wiki/Geoid'>geoid</a> is the shape the ocean surface would take if only gravity and the rotation of the ...
administrative-divisons-db
- No authentication required
- HTTPS supported
- CORS enabled for frontend use
Gravity API
- Simple API key authentication
- HTTPS supported
| Feature | administrative-divisons-db | Gravity API |
|---|---|---|
| Authentication | None | apiKey |
| HTTPS | Yes | Yes |
| CORS | Yes | Unknown |
When to use which?
administrative-divisons-db is the better choice for quick prototypes and hackathons since it requires no authentication. administrative-divisons-db works directly from the browser with CORS enabled, making it better for frontend-only apps.