HTTP Status Codes
Complete reference for all HTTP status codes — 1xx to 5xx. Search, filter by category, view use cases and RFC references.
Showing 61 of 61 status codes
What is HTTP Status Codes?
The HTTP status code reference is a comprehensive developer guide covering every standardised response code defined in the HTTP specification — from informational 1xx codes through successful 2xx responses, redirects in the 3xx range, client errors in the 4xx range, and server errors in the 5xx range. Each entry includes the official code, reason phrase, plain-English explanation, common causes, and practical use cases so developers can quickly understand and act on any status they encounter.
HTTP status codes are the primary way web servers communicate the outcome of a request to clients and intermediaries such as CDNs, proxies, load balancers, and API gateways. Misunderstanding or misusing status codes leads to broken caching, failed redirects, incorrect error handling, and poor API design. For example, returning a 200 OK with an error payload in the body — a common anti-pattern — confuses API clients that rely on status codes to branch logic.
This reference covers both widely used codes like 200, 301, 400, 403, 404, and 500, as well as lesser-known but important codes such as 206 Partial Content for range requests, 429 Too Many Requests for rate limiting, 451 Unavailable For Legal Reasons, and 503 Service Unavailable. Codes are searchable and filterable by category so you can jump straight to what you need without scrolling through the full list.
How to Use HTTP Status Codes
- Search or browse by category
Type a status code number or keyword, or filter by category: 1xx, 2xx, 3xx, 4xx, or 5xx.
- Read the explanation
Click any code to see its official name, plain-English meaning, common causes, and typical use cases.
- Check example scenarios
Each entry includes real-world examples showing when to use the code and what clients should do in response.
- Copy for documentation
Copy any code entry to use in API documentation, error handling guides, or runbook references.
Key Benefits
All standardised HTTP status codes from 100 to 511 in one place — no need to visit multiple spec pages.
Find any code instantly by number or keyword, or narrow the list to a single category.
Every code is explained in clear language with real-world examples, not just the official RFC wording.
Understand when to use each code in your own API, what clients should do in response, and common pitfalls.
Frequently Asked Questions
A 301 Moved Permanently tells clients and search engines the resource has moved forever — they should update their links and cache the new URL. A 302 Found is a temporary redirect; clients should keep using the original URL.
Use 400 Bad Request for malformed syntax (invalid JSON, missing required fields). Use 422 Unprocessable Entity when the syntax is valid but the content fails business-logic validation.
429 Too Many Requests means the client has sent too many requests in a given time window. Servers include a Retry-After header to tell the client when it can try again.
No. 200 OK indicates success with a response body. 204 No Content indicates success but there is no body to return — commonly used for DELETE requests or actions that do not produce output.