What Is API?

An API can be a service run from a website that allows other websites and users to interact with it simply by using URL commands. For example, this YouTube URL is using an API to tell the service which video you want to watch, – https://www.youtube.com/watch?v=dQw4w9WgXcQ – “watch” is the URL command. Similarly, when you enter credit card information to make an online purchase, the website sends your credit card information through an API to another application, which confirms that the provided information is correct.