So, what is an API? An API (application programming interface) is a set of rules that defines how two software components interact. It’s essentially a contract. If one system makes a request in a specific way, the other system promises to deliver a defined response.