API stands for Application Programming Interface. It allows software programs to communicate with each other. The main goal of an API is to make code reusable. There are different types of APIs including local APIs, program APIs, and web APIs. REST (REpresentational State Transfer) is a popular approach for building web APIs that uses HTTP requests to GET, PUT, POST and DELETE data. SOAP (Simple Object Access Protocol) is an older alternative that uses XML for messaging. REST APIs are generally simpler to implement than SOAP APIs.