DB-API is an acronym for DataBase Application Programming Interface and a library that lets Python connect to the database server. ... Simply put, databases are the same, they interact using client-server interaction over a network. When an end-user makes a request, a browser will do the same to the web server.