On OpenSteetMap it is possible to define ways  which are basically a sequence of nodes. Is there a way to fetch the coordinates of the nodes constructing this way in an automated manner (via API) just by providing the ID of the way?
The idea is to get a defined way onto a Leaflet map just by providing the ID.
Thanks for suggestions, pointers etc. and most importantly for your time.