API for calculations

Hello!

Is there any tool, API for calculating shortest route or other things like this?

Regards

Lambertus has given us: http://yournavigation.org/ which is built upon Gosmore an routing app for openstretmap