Generated by GPT-5-mini| Web APIs | |
|---|---|
| Name | Web APIs |
| Caption | Conceptual diagram of client–server interactions via APIs |
| Introduced | 2000s |
| Developer | World Wide Web Consortium, Internet Engineering Task Force |
| Type | Application programming interface |
Web APIs Web APIs are programmatic interfaces that enable software agents, applications, and services to communicate over the Internet using standardized protocols and data formats. They expose resources and operations from servers, platforms, and services provided by organizations such as the World Wide Web Consortium and the Internet Engineering Task Force, allowing clients developed by companies like Google, Microsoft, Amazon (company), and Facebook to interoperate. Web APIs underpin modern web and mobile ecosystems by connecting systems across infrastructures maintained by institutions including Apache Software Foundation, Mozilla Foundation, and Oracle Corporation.
Web APIs present machine-readable endpoints that publish functionality and data from platforms such as Twitter, GitHub, Stripe (company), Salesforce, and Spotify to client applications built by developers at firms like Airbnb, Uber Technologies, Netflix, and LinkedIn. They rely on specifications authored by standards bodies including the World Wide Web Consortium and the Internet Engineering Task Force and are cataloged and managed by companies such as ProgrammableWeb and platforms like Postman (company). Historically, public APIs evolved during the early 2000s alongside web services offered by Amazon (company) and eBay, and later matured with contributions from projects such as Google Maps and Flickr.
Architectural styles for Web APIs include representational state transfer (REST) popularized through implementations by Roy Fielding, and architectural variants such as RPC used in systems by Google and Microsoft. Protocols and transport layers include Hypertext Transfer Protocol (both HTTP/1.1 and HTTP/2), WebSocket for bidirectional streams as adopted by Slack Technologies and Trello, and gRPC developed originally at Google. Data interchange formats widely used are JSON (favored by Mozilla Foundation and many startups), XML (used historically by Microsoft and Oracle Corporation), and Protocol Buffers employed in services by Google.
Common Web API types include RESTful APIs implemented by companies such as Twitter and Stripe (company), SOAP-based web services used in enterprise systems by SAP SE and IBM, GraphQL endpoints popularized by Facebook and used by GitHub, and streaming APIs exemplified by Twitter and Twitch. Public APIs from technology providers include the Google Maps APIs, Amazon Web Services APIs for cloud services, and the Microsoft Graph API for productivity services. Hybrid and gateway patterns are implemented in microservice architectures by organizations like Netflix and Uber Technologies.
Authentication and authorization mechanisms for Web APIs include OAuth, originally specified through efforts involving Twitter and Google, and implemented by identity providers such as Auth0 and Okta (company). Transport security relies on Transport Layer Security (TLS) championed by groups like the Internet Engineering Task Force and adopted universally by platforms including PayPal and Stripe (company). Additional practices include API keys used by services from Amazon (company) and Google, JSON Web Tokens (JWT) standardized via projects with contributors from Microsoft and Auth0, and mutual TLS used in financial services by institutions such as JPMorgan Chase.
Design approaches emphasize consistent resource modeling and discoverability; guidelines from organizations like the World Wide Web Consortium and tooling from Swagger (now part of SmartBear) and OpenAPI Initiative inform schema and contract design. Versioning strategies used by firms such as Google, Facebook, and Microsoft range from URI versioning and header-based negotiation to semantic versioning for API client libraries maintained in ecosystems like npm and Maven Central. API lifecycle management, including deprecation policies practiced by GitHub and Twitter, integrates with developer portals and SDK distribution through services like GitHub and npm.
Scalability techniques for Web APIs include caching (CDNs operated by Cloudflare and Akamai Technologies), load balancing appliances from F5 Networks and cloud providers such as Amazon Web Services and Microsoft Azure, and rate limiting enforced by gateway solutions from Kong (company) and NGINX. Observability and performance monitoring tools from Datadog, New Relic, and Prometheus (project associated with Cloud Native Computing Foundation) provide telemetry for latency optimization used by platforms like Netflix. Architectural patterns such as circuit breakers and bulkheads are applied in microservices referenced by practitioners at Netflix and codified by projects like Hystrix.
Web APIs power integrations across e-commerce platforms like Shopify, payment processors such as Stripe (company) and PayPal, mapping and location services from Google Maps, social integrations with Facebook and Twitter, and enterprise automation in suites from Salesforce. They have reshaped front-end development practices through single-page application frameworks maintained by organizations like Facebook (React (JavaScript library)), Google (Angular (application platform)), and Vue.js (community project), enabling client-server separation and microfrontend architectures used at companies such as Amazon (company) and Spotify. Web APIs also influence regulatory and compliance landscapes involving institutions like the European Commission and standards referenced by ISO and have enabled ecosystems of developer communities hosted on platforms like GitHub and Stack Overflow.
Category:Application programming interfaces