HTTP Status Code Lookup
HTTP Status Code Lookup
Search for any HTTP status code by number or keyword, or browse by category. All data is embedded — no network request needed.
About the HTTP Status Code Lookup
Every HTTP response starts with a three-digit status code that tells the client what happened. The first digit gives the class: 1xx informational, 2xx success, 3xx redirection, 4xx client error and 5xx server error. Knowing exactly which code to return — and what a code from someone else's API means — is part of building and debugging any web application.
This reference lets you search all standard status codes by number or keyword, or browse them by class. Each entry explains what the code means, when it should be used, and practical notes such as how browsers and APIs typically treat it. The data is built into the page, so searching is instant.
Common uses
- Choosing the right status code for a REST API response.
- Understanding an unfamiliar code in logs, monitoring alerts or an API error.
- Deciding between similar codes such as
301vs308or401vs403. - Learning HTTP for interviews and certifications.
How to use it
- Type a code (
404) or a keyword (redirect,timeout) into the search box. - Or filter by class using the 1xx–5xx buttons.
- Read the description and notes for each matching code.
Example
Searching for an authentication-related keyword:
auth
401 Unauthorized — no valid credentials were sent
407 Proxy Authentication Required
511 Network Authentication Required
Tips and common pitfalls
401means "we don't know who you are" (authenticate and retry);403means "we know who you are, and you are not allowed".301/302may change a POST into a GET when the client follows them;307/308preserve the method and body.- Use
422 Unprocessable Contentfor well-formed requests that fail validation, and400for malformed ones. 502,503and504usually come from a proxy or load balancer in front of your app, not the app itself.
Frequently asked questions
What is the difference between 404 and 410?
404 Not Found says nothing about the future; 410 Gone says the resource was removed on purpose and will not return, which helps search engines drop it faster.
Should an API return 200 with an error message in the body?
Generally no. Using the proper 4xx or 5xx code lets clients, proxies and monitoring tools detect failures without parsing the body.
Is 418 I'm a Teapot a real status code?
It comes from an April Fools' RFC about coffee pots and is not part of the official HTTP specification, but many frameworks recognise it.
When should I return 429?
429 Too Many Requests signals rate limiting. Include a Retry-After header so clients know when to try again.