1 What is API design?
This chapter covers
- Web APIs
- The importance of web API design
- When to design web APIs
- Who designs web APIs
- How to design web APIs
Web application programming interfaces or web APIs are crucial in our connected world. Whether seen as technical software interfaces or products, they are used by organizations of all sizes and types, from startups to large corporations and government entities. They enable data display and collection in internal or public-facing web and mobile applications and enable communication between server applications. Web APIs allow users to share photos on social media, check bank balances, and hail cabs from their phones. For developers, they simplify adding telecom or payment services to applications without the need for specialized expertise.
The design of any web API is crucial, whether used by thousands of third parties or a few internal developers. Poorly designed APIs can negatively impact developers' productivity, an IT system’s performance and integrity, end users' experience, and an organization’s revenue. Well-designed APIs give developers and IT systems superpowers and make end users happy, helping individuals, teams, departments, or organizations achieve their IT-system-dependent goals faster and more efficiently.