Page languageFrançaisEnglish
Teacher area
Laurent PoupetClaude trainer and artificial intelligence architectStudent area

Category · Development and code

What is an API (application programming interface)?

An API (application programming interface) is the way a piece of software offers its functions to other software. It is a contract that says what you can ask for and what you get back. Most often, it works through web addresses.

By , Claude trainer and artificial intelligence architect · Updated

How it works

  • A REST (Representational State Transfer) interface organises its addresses around resources, and uses the verbs of the web to read, create or modify.
  • It is versioned, so the contract can evolve without breaking existing clients, and it documents its errors as carefully as its normal responses.
  • A well-designed interface serves two audiences, classic applications and now agents, which read it through its description to choose what to call.

The trap to avoid

The trap is an interface that exposes the structure of the database; every internal change then breaks the clients, whereas a stable contract protects them.

Related terms

Where this is taught

Lesson content (step-by-step instructions, exercises with solutions, quizzes) is for students only, with an access code received after the first lesson.

See the full program

All glossary terms

Trial lesson · 30 min · $20

Book (new tab)