Total difference in elevation of a route

Yes, but not.
See Total ascent or descent not in summary in geojson.
If requesting the route in geojson format, total ascent and descent are in the root of properties, not in summary.
I’ts OK in JSON format.