🎁 New User? Get 20% off your first purchase with code NEWUSER20 Register Now →
Menu

Categories

Web Development Beginner

What is API (Application Programming Interface)?

A set of rules and protocols that allows different software applications to communicate and exchange data.

APIs define how software components interact. Web APIs (typically REST or GraphQL) allow applications to request and send data over HTTP. For example, a weather app uses a weather API to get forecast data.

REST APIs use standard HTTP methods (GET, POST, PUT, DELETE) and return JSON/XML. GraphQL APIs let clients specify exactly what data they need. API design principles include versioning, authentication, rate limiting, and clear documentation.

Related Terms

Caching
Storing copies of frequently accessed data in faster storage to reduce load times and server processing.
Content Negotiation
An HTTP mechanism where client and server agree on the best representation of a resource based on format, language, or encoding preferences.
Server-Sent Events (SSE)
A web technology enabling servers to push real-time updates to browsers over a single HTTP connection, simpler than WebSockets.
CORS Headers
HTTP headers that control cross-origin resource sharing between different domains, specifying allowed origins, methods, and headers.
Canonical URL
An HTML element that tells search engines which URL is the preferred version of a page when duplicate or similar content exists at multiple URLs.
Structured Data (Schema.org)
A standardized vocabulary for marking up web content so search engines can understand and display it as rich results.
View All Web Development Terms →