Sanalda.comBETA

What is an API?

Added: 20 October 2026

An API defines the rules under which software can access particular functions or information exposed by other software. It enables cooperation without knowing every internal detail. APIs are not limited to internet services: operating systems and programming libraries expose them too.

How do requests, responses and contracts work?

A weather application requests information for a location and displays the response. Web API requests include an address, method, headers and sometimes a body. Responses contain data and status information. JSON is a common data format, not another name for an API. The interface contract establishes required fields and error reporting. Version changes can affect clients. Delays, timeouts and service outages need handling even in ordinary operation.

Why are keys, authorization and rate limits used?

Authentication identifies a caller, while authorization determines permitted actions. An API key does not necessarily grant unrestricted access; its scope matters. Secret keys should not appear in public browser code. Rate limits reduce excessive resource use but do not stop every form of abuse. Inputs require validation and responses should avoid unnecessary personal information. Caching can improve speed but also requires managing stale responses. API use remains subject to the provider’s conditions and access rights.

Related topics

How is AI training data prepared?Is installing an APK file safe?What is NFC used for?How is music generated with AI?What is LiDAR?What is robotics?What is virtual reality?What is CORS?What is a database index used for?What is the difference between SaaS, PaaS and IaaS?What does AI PC mean?What is WebAssembly?How is malware on a phone detected?How does traceroute work?What is domain-driven design?How does device encryption work?What is the difference between 4K and 8K resolution?How can systems be protected from ransomware?How can data on a lost phone be protected?What happens when an app cache is cleared?How does a retrieval-augmented generation system work?What is a webhook?Domain nameHow does satellite internet work?Artificial intelligenceWhat is split tunneling used for?How does speech-to-text work?What is a progressive web app (PWA)?What is a photovoltaic solar panel?Should you buy a tablet or a laptop?
Revision history

20 October 2026 — Article added.