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 Laurent Poupet, 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
- Claude CodeDevelopment and code
- Hooks in a coding assistantDevelopment and code
- No-codeDevelopment and code
Where this is taught
Track 4 · Programming with Claude and going live
Make Your First API (application programming interface) Calllesson 1 · 1 hourTrack 4 · Programming with Claude and going live
Messages API (application programming interface) and Choosing Your Modellesson 2 · 1 hour
Lesson content (step-by-step instructions, exercises with solutions, quizzes) is for students only, with an access code received after the first lesson.