Glossary term

API contract

An API contract defines request and response shapes, behavior, errors, versioning, and expectations between systems.

Why it matters

Good API contracts make developer experience, reliability, and product evolution easier to manage.

Example

A payments API should clearly define idempotency behavior so clients can retry safely without double-charging customers.

Start training for your next career move.

Run a live loop, get a score, and see the next move.