patchBay

administrative-divisons-db vs GraphHopper Directions 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

GraphHopper Directions API

With the [GraphHopper Directions API](https://www.graphhopper.com/products/) you can integrate A-to-B route planning, turn-by-turn navigation, route optimization, isochrone calculations and other ...

administrative-divisons-db

  • No authentication required
  • HTTPS supported
  • CORS enabled for frontend use

GraphHopper Directions API

  • Simple API key authentication
  • HTTPS supported
Featureadministrative-divisons-dbGraphHopper Directions API
AuthenticationNoneapiKey
HTTPSYesYes
CORSYesUnknown

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.