Category: 

What Is an Application Program Interface?

An application program interface is a collection of programming instructions and standards that enable computer programs to directly communicate with one another.
Article Details
  • Written By: Contel Bradford
  • Edited By: Michelle Arevalo
  • Last Modified Date: 22 November 2014
  • Copyright Protected:
    2003-2014
    Conjecture Corporation
  • Print this Article
Free Widgets for your Site/Blog
A fortune cookie company was investigated for providing the winning lottery numbers on a fortune cookie message.  more...

November 28 ,  1943 :  The key leaders of the Allied forces during World War II met for the first time in Tehran, Iran.  more...

Often referred to as application programming interface or simple API, an application program interface is a collection of programming instructions and standards that enable computer programs to directly communicate with one another. Many software companies release their APIs to the public and allow developers to create applications powered by their service. A perfect example would be Microsoft’s DirectX, a set of APIs that enable developers to create games, multimedia features, and applications for the Windows operating system.

An application program interface is not a user interface, but a software-to-software interface. In fact, it allows programs to communicate with each other without any user knowledge or intervention. For example, when you buy concert tickets online with a credit card, the website uses an API to send your card data to a remote application that checks its validity. Once the payment has been confirmed, the application responds to the website giving it the okay to issue the tickets.

Application program interfaces designed to provide the fastest execution usually contain sets of procedures, functions, variables, and data structures. A complete API is often defined as one that provides an abstraction layer that prevents the developer from having to know how its function relates to the lower abstraction levels. This allows the programmer to enhance or redesign the functions within the API without breaking the code that needs it.

Ad

An application program interface is quite similar to Software-as-a-Service (SaaS). This is mainly because programmers do not have to start from scratch every time they write an application. Rather than scripting one core program designed to handle everything, the same program can outsource certain responsibilities to other applications capable of doing the job much better. This makes the API very useful for integrating with a website and various web applications.

The application program interface has become an integral part of Web 2.0 and the social networking phenomenon. Several popular communities use it to share content under an open architecture. Users can share comments, photos, videos, and all sorts of information with outside applications, utilizing an open API to deliver new functionality to their community. Two classic examples of APIs that enable this sharing are the Facebook Application Platform and Open Social platform.

Application program interfaces are provided by several big names, including Amazon®, eBay®, and Google™. When developed precisely and used correctly, these can benefit both the company providing the service and its users. Perhaps the biggest downside to APIs is that they are dependent on the providing service. For example, if Google Maps™ was discontinued, its application program interface would essentially be useless.

Ad

More from Wisegeek

You might also Like

Discuss this Article

anon158255
Post 1

I appreciate you taking the time to post these explanations. They have all been quite clear and helpful. Thanks again. --Austin

Post your comments

Post Anonymously

Login

username
password
forgot password?

Register

username
password
confirm
email