Single logo
  • Courses
  • Articles
  • About
Join for freeJoin free
  1. Blog
  2. /
  3. full-stack-python-architect-fastapi-react-vibe-coding
  4. /
  5. The Richardson Maturity Model Explained: 4 Levels of RESTful API Design

FULL STACK PYTHON ARCHITECT: FAST API + REACT + VIBE CODING
Web Development
0 views

The Richardson Maturity Model Explained: 4 Levels of RESTful API Design

Not all APIs that call themselves 'RESTful' actually are. Discover the Richardson Maturity Model, a simple framework for measuring how truly REST-compliant your API design is, and learn exactly what it takes to level up your FastAPI project.

A
Author
July 17, 2026

Why Most APIs Aren't as RESTful as They Claim

If you've spent any time building backend services, you've probably called your API 'RESTful' without giving it much thought. But here's an uncomfortable truth: most APIs that claim to be RESTful aren't actually following REST principles at all. They're often just HTTP endpoints wrapped in JSON, missing the architectural discipline that makes REST powerful in the first place.

This is exactly the problem that Leonard Richardson set out to solve when he introduced the Richardson Maturity Model (RMM) — a framework that classifies APIs into four distinct levels based on how closely they adhere to true REST architecture. Whether you're building your first API in FastAPI or refactoring a legacy service, understanding this model gives you a practical lens to evaluate and improve your API design.

In this article, we'll break down each level of the Richardson Maturity Model, show you real-world examples, and help you identify exactly where your current project stands — and what it takes to level up.

What Is the Richardson Maturity Model?

The Richardson Maturity Model is a way of grading APIs on a scale from Level 0 to Level 3, with each level representing a deeper commitment to REST constraints. Think of it as a maturity ladder: the higher you climb, the more your API embraces the principles of scalability, discoverability, and statelessness that make REST such a powerful architectural style.

This model doesn't just matter academically — it has real implications for how maintainable, scalable, and intuitive your API is for other developers (and future you) to work with. Let's walk through each level.

Level 0: The Swamp of POX (Plain Old XML)

At the bottom of the maturity ladder sits Level 0, sometimes called \"the swamp of POX.\" APIs at this level typically use a single URI and a single HTTP verb — usually POST — to handle every possible operation.

Imagine an endpoint like /api that accepts a JSON payload describing what action to perform:

  • { \"action\": \"getUser\", \"id\": 5 }
  • { \"action\": \"deleteUser\", \"id\": 5 }

This is essentially using HTTP as a transport tunnel for remote procedure calls (RPC), completely ignoring the resource-oriented and verb-oriented nature of REST. There's no meaningful use of HTTP methods, no distinct resource URIs, and no leveraging of the protocol's built-in semantics. If your API looks like this, it's not RESTful — it's just using HTTP as a delivery mechanism.

Level 1: Introducing Resources

At Level 1, APIs begin to introduce the concept of resources. Instead of one giant catch-all endpoint, you start seeing multiple URIs that represent different entities in your system.

For example, in a bike showroom application (a great teaching example used throughout resource-based URI design), you might see:

  • /brands
  • /bikes
  • /spares

This is progress — resources are finally being identified and separated. However, there's still a major limitation: a single HTTP method (usually POST) is used for every operation on these resources. Whether you're creating, reading, updating, or deleting a bike record, you're still sending a POST request with an action embedded in the payload. You've split up the nouns, but you haven't yet embraced the verbs.

Level 2: Embracing HTTP Verbs (Where Most APIs Live)

This is where things get genuinely RESTful — and where most well-designed FastAPI projects should aim to be. At Level 2, APIs use multiple URIs combined with multiple HTTP verbs, mapping each verb to its semantically correct operation:

  • GET /bikes — retrieve a list of bikes
  • GET /bikes/{id} — retrieve a single bike
  • POST /bikes — create a new bike
  • PUT /bikes/{id} — update an existing bike
  • DELETE /bikes/{id} — remove a bike

This approach leverages HTTP the way it was designed to be used. Status codes become meaningful (200, 201, 404, 204), caching becomes possible for GET requests, and the API becomes far more predictable for consumers. If you're building endpoints in FastAPI using proper route decorators like @app.get(), @app.post(), @app.put(), and @app.delete() mapped to clean, resource-based URIs — congratulations, you're already at Level 2. This is considered the practical sweet spot for the vast majority of production APIs today.

Resource-Based URIs: The Foundation of Level 2

A key skill for reaching Level 2 is designing resource-based URIs instead of action-based ones. Rather than naming an endpoint /getBikeById or /createNewBrand, you structure your API around nouns representing your domain entities, and let the HTTP verb communicate the action.

This also extends to modeling relationships between resources. For instance, if bikes belong to brands, a well-designed API might expose:

  • /brands/{brandId}/bikes — all bikes belonging to a specific brand
  • /brands/{brandId}/bikes/{bikeId}/spares — spare parts for a specific bike

This parent-child resource structure makes your API intuitive to navigate and mirrors how developers naturally think about your data model.

Level 3: HATEOAS — The Final Frontier

The top of the maturity model, Level 3, introduces a concept that even many experienced developers rarely implement: HATEOAS (Hypermedia As The Engine Of Application State).

At this level, API responses don't just return data — they return hypermedia links that guide the client on what actions are available next. For example, a response for a single bike resource might look like this:

  • { \"id\": 5, \"model\": \"Trailblazer\", \"links\": [ { \"rel\": \"self\", \"href\": \"/bikes/5\" }, { \"rel\": \"spares\", \"href\": \"/bikes/5/spares\" }, { \"rel\": \"delete\", \"href\": \"/bikes/5\", \"method\": \"DELETE\" } ] }

This makes the API self-descriptive and discoverable — clients can navigate the entire application simply by following links, much like a human browsing a website by clicking hyperlinks. While powerful, Level 3 adds significant complexity and is far less commonly implemented in real-world systems, particularly in simpler internal APIs or microservices where the added overhead may not provide sufficient value.

Where Should Your FastAPI Project Stand?

For the overwhelming majority of applications — including full-stack projects combining FastAPI and React — Level 2 is the practical target. It gives you clean, predictable, cacheable, and scalable endpoints without the added complexity of hypermedia navigation.

Here's a quick checklist to evaluate your own API:

  • Are you using resource-based URIs instead of action verbs in the path?
  • Are you using the correct HTTP methods (GET, POST, PUT, DELETE) for each operation?
  • Are your endpoints organized around nouns (brands, bikes, spares) rather than actions (getBikes, createBike)?
  • Do you return appropriate HTTP status codes and use Content-Type headers correctly?

If you answered yes to all of these, your API is solidly at Level 2 — which is exactly where a well-architected backend service should be for most real-world use cases.

Featured Video

[Video Placeholder: Watch the full lecture walkthrough on the Richardson Maturity Model, including live examples of Level 0 through Level 3 API design in FastAPI.]

Bringing REST Theory Into Practice

Understanding the Richardson Maturity Model isn't just an academic exercise — it's a practical tool for making better architectural decisions in your everyday development work. When you understand why resource-based, verb-driven design at Level 2 works so well, you naturally write cleaner, more maintainable, and more scalable code.

This kind of foundational REST knowledge is exactly what's covered in depth inside the Full Stack Python Architect: FastAPI + React + Vibe Coding course, where you'll move from understanding these concepts theoretically to implementing them hands-on — building resource-based FastAPI routers, structuring parent-child relationships between entities, and applying REST best practices across a real full-stack application.

Key Takeaways

  • Level 0: A single URI and verb handling everything — not RESTful at all.
  • Level 1: Multiple resource URIs, but still limited to one HTTP method.
  • Level 2: Multiple URIs paired with proper HTTP verbs — the practical standard for most APIs.
  • Level 3: Full HATEOAS implementation with hypermedia-driven navigation — powerful but complex.

Most successful production APIs live comfortably at Level 2, and that's a perfectly respectable — even ideal — place to be. The real value of the Richardson Maturity Model is that it gives you a shared vocabulary and a clear framework to evaluate and continuously improve your API design as your applications grow in complexity.

Tags:
Richardson Maturity Model
REST API levels
API maturity model
RESTful design
API best practices
FastAPI
HATEOAS
Share Article

Back to All Articles

Single logo

Empowering Education, One Course at a Time

About
About usContact usFAQs
Legal
Terms of ServicePrivacy Policy

© 2026 StudyEasy Organization. All rights reserved.