What is an API?
GeneralClass 10CBSEAnswered 25 May 2026
Answer
API stands for Application Programming Interface a defined set of rules that lets two pieces of software talk to each other.
Think of a restaurant: you do not walk into the kitchen and cook. You give your order to a waiter (the API), the kitchen (server) prepares it, and the waiter brings the result. You never need to see the kitchen.
When a weather app shows today's temperature, it sends a request to a weather service's API "give me the temperature for London" and the API returns the data. The app displays it. The app never needs access to the underlying code.
An API is a contract between two software systems: here is how you ask me for something, and here is what I give back.
Suggested Q&A
General · Class 10- GeneralClass 10Explain the role of an entrepreneur as an innovator and job and wealth generator.
- GeneralClass 10The spirit of entrepreneurship helps an individual to grow. Explain this statement in detail.
- GeneralClass 10Explain the process of entrepreneurship in detail.
- GeneralClass 10Explain the role of entrepreneur as described by Peter Drucker.
- GeneralClass 10How does Jean Baptiste Say envisage the role of the entrepreneur?
- GeneralClass 10According to a famous thinker Peter Drucker, innovation is a specific instrument of an entrepreneur. Hence he believes that an effective entrepreneur converts a source into a resource. When is a source converted into a resource? Explain with the help if an example.