Which is the best alternative (if any) to the Google Directions API?
Preferrably, it should be some solution I can host, but I can consider to use an online service less restritive than Google API. These are the limits for Google Directions Business:
Google Maps API for Business customers may query up to 100,000 directions requests per day, with up to 23 waypoints allowed in each request.
UPDATE
Besides these limitations, which can be negotiated with Google, I would like to have an alternative because it's a good pratice don't put all eggs in one basket :)
In the absence of somebody with a opinion strong enough to share, these two services seem to be good choices:
One replacement for Google Directions API is GraphHopper. It is a routing engine written in Java which uses OpenStreetMap data. It is Open Source, extremly fast and suitable for self-hosting. You have two options:
You can try it online: https://graphhopper.com/maps/
If you want to know more about embedding GraphHopper in your application you can visit my article at https://bmehner.github.io/graphhopper/
Disclosure : I work for TomTom.
Have you considered our TomTom Maps APIs.
We believe we are the best alternative for Maps APIs. To get directions you can use the Routing API's instructions type parameter :
instructionsType string. If specified, guidance instructions will be returned (if available). Possible values are:
You can request a free API KEY (No credit card required and no locked-in contracts) and TomTom will allow you to mix and match APIs from different providers.
Check out our tutorials for JS.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With