العربية
Back

AI

API: what an application programming interface is

The term API explained in plain Arabic from an official or primary source, with an original example, common mistakes and what was not verified.

Last reviewed:

What it is

MDN defines an API as a set of features and rules inside a software program enabling interaction with it through software, as opposed to a human user interface, and compares it to a simple contract between the application offering it and other parties. It gives browser examples such as the Geolocation API and the Web Animations API.

An example

Our example: when a site shows weather from another service it is calling that service's API.

Common mistakes

  • Confusing the API with the site itself.
  • Sharing the API key publicly.

Source

Our summary is based on the page MDN: API (Glossary) in our own wording, read on 2026-12-01. Read the official page for details.

Latest updates

The source page was read on 2026-12-01. Definitions can change, so check the source.

Similar tools

For neighbouring terms read the linked glossary pages, and for the full list read the glossary index.

Not verified

I read only the source page named, and our examples are illustrative and untested.

Related pages

Sources

Wording is ours, from the official source. Images and video belong to their owners and are credited with a link to the official page.

#glossary#ai-terms#api#article#exec

Frequently asked questions

Which source is this page based on?

The definition is our summary of: MDN: API (Glossary), read on 2026-12-01. The example is our own.

Do I need a key?

Many APIs ask for a key. Read the API key page and the Gemini key setup page.