The London Underground used to have a freely accessible API for real-time data as well, it was useful to curl it to plan when to leave the house :) Sadly no longer.
As far as I can tell it's still free for relatively low request rates, but you need to register an account/get an app id from them (I've been doing some testing with it recently as part of an app)