The Ubidots REST API lets you retrieve data from the platform database. A typical application for data retrieval is actuators, like motors or lights control.