A REST API is a type of application programming interface that follows the architectural principles of Representational State Transfer (REST). These principles are a set of guidelines for building web APIs. When a client makes a request, a RESTful API transfers a representation of a resource's state—often in formats like JSON, HTML, or plain text—over HTTP.