Routing API using postal codes

I’m trying to figure out if there is an option to use Routing API by providing postal codes instead of lat/long pairs.

In our app, we are using postal codes and google maps can handle this. However, we are trying to move to TomTom but I can not find a way to get route data by providing postal codes.

Is there a way to do so?

Hi Nemanja.

Welcome to our community :slight_smile:

Unfortunately, it’s not possible by using only one call. The TomTom Routing API uses lat/long coordinates as an origin and destination parameters. You can get those coordinates from the TomTom Geocoding API and then, use them to perform the actual routing call. It’s definitely worth checking and comparing with the TomTom Maps API Pricing.

Let us know if you’ll have more questions.

Regards,
Mateusz