Barcelona urban mobility API REST

The Barcelona Urban Mobility API is an application program interface that allows the developers of Barcelona to get access to all the mobility information of the city that is actually stored in the Barcelona and Generalitat open data websites. The aim of the API is to offer static data such as the bus and metro stations but also real-time data such as the time for the next bus on a specific bus shelter, the free bicing stations next to me or the traffic in the streets of Barcelona.

Technically the Barcelona Urban Mobility API is a REST API with GET methods described below that can send JSON or XML responses of the requests.