Fetch road restrictions within Directions API response

Hi there!

I’m starting to use Graphhopper so I’m new to it.

What I want to do is to query graphhopper so that I can get the directions between one point and another one, but having in the response all the restrictions of each road. With road restrictions I mean, for instance, HGV restrictions such as maximum weight/width/etc of the vehicle. Is that possible?

I know how to query Directions API with an HGV vehicle, but this differ from what I want, and afaik its response doesn’t comprise road restrictions.

Can anybody help me, please?

Thank you so much.

Take a look at ‘path details’. For example add details=max_height&details=max_width&details=max_weight to your (GET) routing request.