🔌Pro

API Design Masterclass

Master API design for interviews. Learn REST, GraphQL, gRPC and design real-world APIs for Twitter, Stripe, Dropbox, WhatsApp, and Airbnb.

7 modules 37 lessons ~9h AI voice coach
Start Learning — Pro

7-day free Pro trial included

Course Outline

1

API Design Fundamentals

5 lessons

Master the foundational principles of API design — REST, GraphQL, gRPC, versioning, and authentication patterns that interviewers expect you to know.

Intro to API Design Interviews
REST Principles & Best Practices
GraphQL vs REST vs gRPC
API Versioning Strategies
Authentication & Authorization (OAuth/JWT/API Keys)
2

Core API Patterns

6 lessons

Learn the essential patterns every production API needs — pagination, rate limiting, idempotency, filtering, error handling, and discoverability.

Pagination (Cursor vs Offset)
Rate Limiting & Throttling
Idempotency & Retry Safety
Filtering, Sorting & Search
Error Handling & Status Codes
HATEOAS & Discoverability
3

Design Twitter API

5 lessons

Design a complete API for a Twitter-like social platform — tweet CRUD, timelines, social graph, and real-world trade-offs.

Requirements & Resource Modeling
Tweet CRUD Endpoints
Timeline & Feed API
Follow/Unfollow & Social Graph
API Walkthrough & Trade-offs
4

Design Stripe API

5 lessons

Design a payment processing API inspired by Stripe — payment intents, webhooks, idempotency, and financial safety patterns.

Requirements & Resource Modeling
Payment Intent Flow
Webhook Design & Event System
Idempotency Keys & Error Handling
API Walkthrough & Trade-offs
5

Design File Storage API

5 lessons

Design a Dropbox-like file storage API — chunked uploads, resumable transfers, sharing permissions, and sync conflict resolution.

Requirements & Resource Modeling
Upload & Download (Chunked/Resumable)
File Sharing & Permissions
Sync Protocol & Conflict Resolution
API Walkthrough
6

Design Messaging API

6 lessons

Design a WhatsApp-like messaging API — message delivery, group chats, read receipts, presence indicators, and real-time transport choices.

Requirements & Resource Modeling
Message Send/Receive
Group Chat API
Read Receipts & Presence
WebSocket vs Long Polling
API Walkthrough
7

Design Marketplace API

5 lessons

Design an Airbnb-like marketplace API — listing management, search, booking and availability, reviews, and two-sided marketplace trade-offs.

Requirements & Resource Modeling
Listing CRUD & Search
Booking & Availability
Reviews & Ratings
API Walkthrough