API Design

Learn it once, explain it cold

API design, from first principles.

A visual, interactive course that builds your intuition from the wire up — so you can design, defend, and debug an API in any interview, from low-level networking to high-level system design. Every lesson has diagrams, worked examples, common traps, the interview angle, quizzes, and hands-on exercises.

0 / 107 lessons complete

Part 1 — Foundations10/10

How the machinery under every API works. Master this and the rest is application.

Part 2 — Data & Formats3/3

How API data is represented on the wire and why format choice matters.

Part 3 — Architectural Styles7/7

REST, GraphQL, gRPC — what each is and when to reach for it.

Part 4 — Resource Design Patterns8/8

Build-along resource modelling — standard & custom methods, field masks, long-running ops, batch, soft delete — ending in a complete mock API you can stand up.

Part 5 — Security10/10

Protecting APIs end to end: transport, identity, and input.

Part 6 — Reliability & Scale18/18

The patterns that keep APIs correct and fast under load.

Part 7 — Performance5/5

Estimating and shrinking response time.

Part 8 — Production at Scale10/10

Interactive simulators + evidence-based scaling walkthroughs — drag the load toward 100M and watch the behaviour. Figures are first-principles models, cited and labeled.

Part 9 — Debugging & Real-World6/6

Diagnosing real API failures — the skills interviews and on-call both test.

Part 10 — Design Case Studies18/18

The repeating interview pattern: requirements → decisions → API model → evaluation.

Part 11 — Failure Case Studies4/4

What real outages teach about API design.

Part 12 — Interview Prep7/7

Drill, self-test, and a repeatable method to ace the interview.

Part 13 — Wrap-up1/1