An API is a middleman that permits two program programs to talk to one another and defines how they request and acquire info or performance.The serving application procedures the ask for and, if authorized, performs the action or retrieves the information and sends it again towards the client, via the API, within a structured structure, like JSON o