An open API (often referred to as a public API) is a publicly available application programming interface that provides developers with programmatic access to a (possibly proprietary) software application or web service. Open APIs are APIs that are published on the internet and are free to access by consumers.
Alternative Definitions
There is no universally accepted definition of the term "Open API" and it may be used to mean a variety of things in different contexts, including:
- An API for use by developers and other users with relatively few restrictions. It may require registration or enforce quotas and rate-limits, but registration is free and open to all; or
- An API backed by open data. Open data is freely available for everyone to use and republish as they wish, without restrictions from copyright, patents or other mechanisms of control; or
- An API based on an open standard, which specifies the mechanism by which a consumer queries the API and interprets its responses.
Open API versus private API
Private API
A private API is an interface that opens parts of an organization's backend data and application functionality for use by developers working within (or contractors working for) that organization. Private APIs are only exposed to internal developers therefore the API publishers have total control over what and how applications are developed. Private APIs offer substantial benefits with regards to internal collaboration. Using a private API across an organization allows for greater shared awareness of the internal data models. As the developers are working for (or contracted by) one organization, communication will be more direct and therefore they should be able to work more cohesively as a group. Private APIs can significantly diminish the development time needed to manipulate and build internal systems that maximise productivity and create customer-facing applications that improve market reach and add value to existing offerings.
Private APIs can be made "private" in a number of ways. Most commonly the organization simply chooses not to document such an interface, such as in the case of undocumented functions of Microsoft Windows, which can be found by inspection of the symbol tables. Some Web-based APIs may be authenticated by keys, both discoverable by analysis of application traffic. macOS furthermore uses an "entitlement", granted only by digital signature, to control access to private APIs in the system.
Private APIs are by definition without any guarantee to the third-party developer choosing to uncover and use them. Nevertheless, the use of undocumented functions on Microsoft Windows have become so widespread that the system needs to preserve old behaviors for specific programs using the "AppCompat" database.
Open API
In contrast to a private API, an open API is publicly available for all developers to access. They allow developers, outside of an organization's workforce, to access backend data that can then be used to enhance their own applications. Open APIs can significantly increase revenue without the business having to invest in hiring new developers making them a very profitable software application. However, opening back end information to the public can create a range of security and management challenges. For example, publishing open APIs can make it harder for organisations to control the experience end users have with their information assets. Open API publishers cannot assume client apps built on their APIs will offer a good user experience. Furthermore, they cannot fully ensure that client apps maintain the look and feel of their corporate branding.
Open APIs in business
Open APIs can be used by businesses seeking to leverage the ever-growing community of freelancing developers who have the ability to create innovative applications that add value to their core business. Open APIs are favoured in the business sphere as they simultaneously increase the production of new ideas without investing directly in development efforts. Businesses often tailor their APIs to target specific developer audiences that they feel will be most effective in creating valuable new applications. However, an API can significantly diminish an application's functionality if it is overloaded with features.
For example, Yahoo's open search API allows developers to integrate Yahoo search into their own software applications. The addition of this API provides search functionality to the developer's application whilst also increasing search traffic for Yahoo's search engine hence benefitting both parties. With respect to Facebook and Twitter, we can see how third parties have enriched these services with their own code. For example, the ability to create an account on an external site/app using your Facebook credentials is made possible using Facebook's open API.
Many large technology firms, such as Twitter, LinkedIn and Facebook, allow the use of their service by third parties and competitors.
Open APIs on the Web
With the rise in prominence of HTML5 and Web 2.0, the modern browsing experience has become interactive and dynamic and this has, in part, been accelerated through the use of open APIs. Some open APIs fetch data from the database behind a website and these are called Web APIs. For example, Google's YouTube API allows developers to integrate YouTube into their applications by providing the capability to search for videos, retrieve standard feeds, and see related content.
Web APIs are used for exchanging information with a website either by receiving or by sending data. When a web API fetches data from a website, the application makes a HTTP request to the server the site is stored on. The server then sends data back in a format your application expects (if you requested data) or incorporates your changes to the website (if you sent data).
See also
- OpenAPI Specification
- Application enablement
- Open system (computing)
- Mashup (web application hybrid)
- Webhook
- Web API
External links
- Open API Initiative (OAI) website
- Eclipse OpenAPI (OAS) Editor and Studio
- OpenAPI Editor and Test Studio Usage Wiki
References
- Proffitt, Brian (September 19, 2013). "What APIs Are And Why They're Important". Readwrite. Retrieved 28 October 2015.
- "What is open API? - Definition from WhatIs.com". SearchCloudApplications. Archived from the original on 2017-04-30. Retrieved 2015-10-26.
- Dodds, Leigh (25 March 2014). "What is an Open API?". Lost Boy. Retrieved 2015-11-02.
- "6 Business Benefits of Private APIs | Nordic APIs |". Nordic APIs. 13 February 2014. Retrieved 2015-11-04.
- "NTAPI Undocumented Functions". undocumented.ntinternals.net.
- "A Tutorial for Reverse Engineering Your Software's Private API: Hacking Your Couch | Toptal®". Toptal Engineering Blog.
- Mo, Darren (2019-05-07). "A helper tool that enables Optimus Player to stream audio using AirPlay 2". GitHub. Retrieved 2019-05-09.
- Pierce, Sean. "Malicious Application Compatibility Shims" (PDF).
- "Beat the risks of managing public, private APIs". SearchSOA. Archived from the original on 2015-11-25. Retrieved 2015-11-04.
- Tündik, Máté Ákos; Szabó, Zsolt; Hilt, Attila; Járó, Gábor (2024-11-12). "Fusion of Telecommunications and IT Services Boosted by Application Programming Interfaces". Signals. 5 (4): 756–773. doi:10.3390/signals5040042. ISSN 2624-6120.
- Deng, Zhui; Saltaformaggio, Brendan; Zhang, Xiangyu; Xu, Dongyan (2015-01-01). "IRiS". Proceedings of the 22nd ACM SIGSAC Conference on Computer and Communications Security. CCS '15. New York, NY, USA: ACM. pp. 44–56. doi:10.1145/2810103.2813675. ISBN 978-1-4503-3832-5. S2CID 5613038.
- "What Are APIs, And How Are Open APIs Changing The Internet". MakeUseOf. 19 February 2015. Retrieved 2015-11-02.
- "Facebook Developer Docs". Facebook for Developers. Retrieved 2021-02-09.
- tonyxu-io. "LinkedIn API documentation - LinkedIn". docs.microsoft.com. Retrieved 2021-02-09.
- "About Twitter's APIs". help.twitter.com. Retrieved 2021-02-09.
Web interfaces | |||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| |||||||||||||||||
| |||||||||||||||||
|