The course
API Design
Learn how web APIs work from the network up, then design one properly. You will pick methods and status codes, shape resources and URLs, handle paging, retries and errors, and secure it all with sessions, tokens and OAuth — on one small library API.
Ready to learnYour path through the ideas
Inside the course
Install your tools, choose your setup and verify a local run.
02Learn the Basics5 lessons
Meet APIs as published promises, follow a request through DNS and TCP/IP, read raw HTTP messages, place details in the path or query, and let client and server agree on formats.
03HTTP in Depth5 lessons
Choose methods by their meaning, answer with the right status code, carry metadata in headers and cookies, cache responses safely, and let browsers call your API across origins.
04API Styles3 lessons
See what makes an API truly RESTful, let clients choose their fields with GraphQL, and compare the contract-first RPC styles SOAP and gRPC.
05Designing RESTful APIs4 lessons
Choose the nouns your API is about, name them so developers can guess the URLs, change the API without breaking callers, and map create, read, update and delete onto HTTP.
06Robust Endpoints3 lessons
Slice big collections with filters, sorting and pagination, make retries harmless with idempotency, and return errors in one clear, standard shape.
07Authentication Methods4 lessons
Compare Basic auth, server-side sessions and tokens, check JWTs in the right order, and let other apps act for a user with OAuth 2.0 and OpenID Connect.