Although the Lab does not have an API just yet, you can access various other services via their API from the notebooks. To learn how to do this, visit the tutorial