NEW TO API DESIGN?
STEP 1START HERE

ScaleDojo Learn: API Design Fundamentals

Master REST, GraphQL, gRPC, and event-driven API architectures step by step.

2

Or read the history behind it

The Protocol Chronicles - From CORBA to GraphQL, 55 years of protocol evolution.

ACTIVE BOUNTY EVENT
7d left
🏆

Big Billion Days

A high-pressure system design and engineering challenge inspired by the scale of Big Billion Days. Design a system that can handle millions of users, massive traffic spikes, real-time inventory updates, concurrent orders, payments, and flash-sale demand without compromising performance or reliability.

QUEST PROGRESS0 / 6 COMPLETED
🎁 35% Off
LEADERBOARDLIVE

Compare stats and compete with top...

View

API Design Lab

Progressive API Design Curriculum

0/50
COMPLETED
1 of 10 levels unlocked·Start with Level 1 to begin your journey

Solve levels sequentially - each clear unlocks the next challenge

1/10
ACCESSIBLE
Architect Feature: Want to bypass sequential unlock? Go to your Profile and enable Architect's Sandbox.

Act 1

ACT PROGRESS0/10
1

#1 Hello, API World

EasyFresher
⚡ REST

Design your very first REST API - a simple user resource with proper naming and HTTP methods.

Standard Challenge
Learn the concepts first
Start Level →

#2 The CRUD Master

EasyFresher
⚡ REST

Build a complete CRUD lifecycle for a posts resource with proper HTTP method semantics.

Standard Challenge
Learn the concepts first
Locked

#3 Status Code Symphony

EasyFresher
⚡ REST

Master the HTTP status code taxonomy - know exactly which code to return for every situation.

Standard Challenge
Learn the concepts first
Locked

#4 Nested Treasures

EasySDE 1
⚡ REST

Design sub-resource relationships - when to nest /users/{id}/posts vs flatten /posts?filter=user_id.

Standard Challenge
Learn the concepts first
Locked

#5 The Query Master

Easy-MediumSDE 1Amazon
⚡ REST

Master filtering, sorting, and searching with query parameters.

Standard Challenge
Learn the concepts first
Locked

#6 Page Turner

MediumSDE 2GoogleStripe
⚡ REST

Implement pagination strategies - offset, cursor-based, and keyset.

Standard Challenge
Learn the concepts first
Locked

#7 The Error Whisperer

MediumSDE 2Stripe
⚡ REST

Design a consistent error response format following RFC 7807 Problem Details.

Standard Challenge
Learn the concepts first
Locked

#8 Request & Response

MediumSDE 1
⚡ REST

Design request/response DTOs with proper field conventions, types, and enumerations.

Standard Challenge
Learn the concepts first
Locked

#9 The Gatekeeper

MediumSDE 2
⚡ REST

Design authentication and authorization for your API - API keys, JWT, and OAuth 2.0.

Standard Challenge
Learn the concepts first
Locked

#10 Version Control

MediumSDE 2GoogleStripe
⚡ REST

Design an API versioning strategy that supports backward compatibility.

Standard Challenge
Learn the concepts first
Locked

Act 2

ACT PROGRESS0/8

#11 Rate Limit Fortress

MediumSDE 2AmazonUber
⚡ REST

Design rate limiting headers and 429 responses that don't leave developers guessing.

Standard Challenge
Learn the concepts first
Locked

#12 The Cache Architect

MediumSDE 2Google
⚡ REST

Design HTTP caching with ETags, If-None-Match, and Cache-Control headers.

Standard Challenge
Learn the concepts first
Locked

#13 Bulk Operations HQ

Medium-HardSDE 2GoogleMicrosoft
⚡ REST

Design batch endpoints with partial success handling and 207 Multi-Status.

Standard Challenge
Learn the concepts first
Locked

#14 The Webhook Wire

Medium-HardSDE 2Stripe
⚡ REST

Design a webhook system with event types, HMAC signing, and retry policies.

Standard Challenge
Learn the concepts first
Locked

#15 Idempotency Shield

HardSDE 3StripePayPal
⚡ REST

Implement idempotency keys for safe retries on payment and order creation.

Standard Challenge
Learn the concepts first
Locked

#16 Long-Running Ops

HardSDE 3GoogleAmazonMicrosoft
⚡ REST

Design async operation patterns with 202 Accepted and polling endpoints.

Standard Challenge
Learn the concepts first
Locked

#17 The File Vault

HardSDE 3AmazonGoogle
⚡ REST

Design file upload/download APIs with presigned URLs and resumable uploads.

Standard Challenge
Learn the concepts first
Locked

#18 Search Engine API

HardSDE 3Google
⚡ REST

Design an advanced search API with facets, highlighting, and suggestions.

Standard Challenge
Learn the concepts first
Locked

Act 3

ACT PROGRESS0/10

#19 Schema Genesis

MediumSDE 1Meta
⚡ GRAPHQL

Design your first GraphQL schema - types, fields, queries, and non-null markers.

Standard Challenge
Learn the concepts first
Locked

#20 Mutation Station

MediumSDE 1Meta
⚡ GRAPHQL

Design GraphQL mutations with input types and proper return types.

Standard Challenge
Learn the concepts first
Locked

#21 The Resolver Graph

HardSDE 3MetaNetflixAirbnb
⚡ GRAPHQL

Solve the N+1 problem with DataLoader batching and resolver chain design.

Standard Challenge
Learn the concepts first
Locked

#22 Relay Connections

HardSDE 2Meta
⚡ GRAPHQL

Implement Relay-style cursor pagination with edges, nodes, and pageInfo.

Standard Challenge
Learn the concepts first
Locked

#23 Real-Time Feed

HardSDE 3Meta
⚡ GRAPHQL

Design GraphQL subscriptions for real-time updates over WebSocket.

Standard Challenge
Learn the concepts first
Locked

#24 Permission Matrix

HardSDE 3Meta
⚡ GRAPHQL

Design field-level authorization with @auth directives and type policies.

Standard Challenge
Learn the concepts first
Locked

#25 Query Fortress

HardSDE 3Meta
⚡ GRAPHQL

Protect your GraphQL API from malicious queries using depth limiting and complexity analysis.

Standard Challenge
Learn the concepts first
Locked

#26 Schema Federation

ExpertStaff+Netflix
⚡ GRAPHQL

Design a federated GraphQL schema with Apollo Federation directives.

Standard Challenge
Learn the concepts first
Locked

#27 Custom Scalars Lab

Medium-HardSDE 2Meta
⚡ GRAPHQL

Design custom scalar types for type-safe validation - DateTime, Email, URL, JSON.

Standard Challenge
Learn the concepts first
Locked

#28 Schema Evolution

HardSDE 3MetaNetflix
⚡ GRAPHQL

Evolve a GraphQL schema without breaking existing clients - deprecation, aliases, and additive changes.

Standard Challenge
Learn the concepts first
Locked

Act 4

ACT PROGRESS0/12

#29 Proto Origins

MediumSDE 1Google
⚡ GRPC

Design your first Protocol Buffer schema - messages, services, and field numbers.

Standard Challenge
Learn the concepts first
Locked

#30 Service Contracts

Medium-HardSDE 2GoogleUber
⚡ GRPC

Design a multi-service gRPC architecture with well-defined contracts.

Standard Challenge
Learn the concepts first
Locked

#31 Stream Engine

HardSDE 3GoogleNetflix
⚡ GRPC

Design gRPC streaming RPCs - server streaming, client streaming, and bidirectional.

Standard Challenge
Learn the concepts first
Locked

#32 Wire Evolution

HardSDE 3GoogleNetflix
⚡ GRPC

Evolve a proto schema safely - backward and forward compatibility rules.

Standard Challenge
Learn the concepts first
Locked

#33 Error Dimensions

Medium-HardSDE 2GoogleUber
⚡ GRPC

Design gRPC error handling with status codes, error details, and rich error models.

Standard Challenge
Learn the concepts first
Locked

#34 Deadline Chains

HardSDE 3GoogleUber
⚡ GRPC

Design deadline propagation across a chain of gRPC services.

Standard Challenge
Learn the concepts first
Locked

#35 Event Storm

HardSDE 3AmazonNetflix
⚡ EVENT-DRIVEN

Design domain events for an e-commerce system - event naming, payload design, and event catalog.

Standard Challenge
Learn the concepts first
Locked

#36 Saga Master

ExpertStaff+AmazonStripeUber
⚡ EVENT-DRIVEN

Design a saga pattern for distributed transactions with compensating actions.

Standard Challenge
Learn the concepts first
Locked

#37 CQRS Command Center

ExpertStaff+AmazonMicrosoftNetflix
⚡ EVENT-DRIVEN

Design a CQRS architecture separating commands from queries with event sourcing.

Standard Challenge
Learn the concepts first
Locked

#38 Schema Registry

HardSDE 3UberLinkedIn
⚡ EVENT-DRIVEN

Design a schema registry for event contracts with versioning and compatibility checking.

Standard Challenge
Learn the concepts first
Locked

#39 Exactly Once

ExpertSDE 3StripeAmazon
⚡ EVENT-DRIVEN

Design exactly-once processing with idempotent consumers and outbox pattern.

Standard Challenge
Learn the concepts first
Locked

#40 Dead Letter Detective

HardSDE 3AmazonUber
⚡ EVENT-DRIVEN

Design dead letter queues, retry policies, and poison message handling.

Standard Challenge
Learn the concepts first
Locked

Act 5

ACT PROGRESS0/10

#41 Gateway Architect

ExpertStaff+AmazonNetflix
⚡ MIXED

Design an API Gateway with routing, auth, rate limiting, and protocol translation.

Standard Challenge
Learn the concepts first
Locked

#42 BFF Workshop

ExpertStaff+Netflix
⚡ MIXED

Design Backend-for-Frontend APIs optimized for web, mobile, and TV clients.

Standard Challenge
Learn the concepts first
Locked

#43 Throttle Engine

HardSDE 3StripeAmazon
⚡ REST

Design a multi-tier rate limiting system with token bucket, sliding window, and quota management.

Standard Challenge
Learn the concepts first
Locked

#44 API Marketplace

ExpertStaff+Stripe
⚡ REST

Design a developer portal with API key management, OAuth flows, and usage analytics.

Standard Challenge
Learn the concepts first
Locked

#45 Circuit Breaker API

HardSDE 3NetflixAmazonUber
⚡ MIXED

Design APIs with circuit breaker patterns, fallbacks, and bulkhead isolation.

Standard Challenge
Learn the concepts first
Locked

#46 API Mesh Composer

ExpertStaff+GoogleNetflixUber
⚡ MIXED

Design a service mesh with sidecar proxies, mTLS, observability, and traffic management.

Standard Challenge
Learn the concepts first
Locked

#47 Design a Payment API

ExpertStaff+StripePayPal
⚡ REST

Full system design: Payment processing API like Stripe with idempotency, webhooks, and PCI compliance.

Standard Challenge
Learn the concepts first
Locked

#48 Design a Chat API

ExpertStaff+Meta
⚡ MIXED

Full system design: Real-time chat API with WebSocket, presence, read receipts, and message history.

Standard Challenge
Learn the concepts first
Locked

#49 Design a Food Delivery API

ExpertStaff+UberDoorDash
⚡ MIXED

Full system design: Food delivery platform with location tracking, real-time ETAs, and multi-party coordination.

Standard Challenge
Learn the concepts first
Locked

#50 The Grand Unified API

LegendaryStaff+GoogleMetaLinkedIn
⚡ MIXED

The ultimate challenge: design a complete multi-protocol API platform combining REST, GraphQL, gRPC, and events.

Standard Challenge
Learn the concepts first
Locked