HTTP Status Code Reference
Quick, searchable directory of 1xx, 2xx, 3xx, 4xx, and 5xx HTTP response status codes conforming to IETF RFC 9110.
Initial part of a request has been received and not yet rejected.
Server understands and is willing to comply with the Upgrade header (e.g. WebSockets).
Standard response for successful HTTP requests.
Request fulfilled and resulted in one or more new resources being created.
Request accepted for processing, but processing has not completed.
Server successfully processed request and is not returning any content.
Server is delivering only part of the resource due to a Range header sent by the client.
Target resource has been assigned a new permanent URI; future references should use it.
Target resource resides temporarily under a different URI.
Client can use cached version; resource state has not changed since conditional request.
Target resource resides temporarily under a different URI; method must not change.
Target resource has been permanently assigned a new URI; method must not change.
Server cannot process request due to apparent client error (malformed syntax, invalid framing).
Request lacks valid authentication credentials for the target resource.
Server understood request but refuses to authorize it. Credentials do not provide access.
Server cannot find the requested resource. Endpoint does not exist.
HTTP request method is known by server but not supported by target resource.
Server did not receive a complete request message within the time it was prepared to wait.
Request could not be completed due to a conflict with current state of target resource.
Server understands content type and syntax, but was unable to process contained instructions.
User has sent too many requests in a given amount of time (Rate Limited).
Server encountered an unexpected condition that prevented it from fulfilling request.
Server, while acting as a gateway or proxy, received an invalid response from upstream.
Server is currently unable to handle request due to temporary overload or scheduled maintenance.
Server, while acting as a gateway or proxy, did not receive timely response from upstream.
Technical Specifications & Standards
Conforms to IETF RFC 9110 (HTTP Semantics) specification. Classifies status codes into Informational (1xx), Successful (2xx), Redirection (3xx), Client Error (4xx), and Server Error (5xx).
Verified Technical Example
Looking up HTTP 429 Too Many Requests to implement API rate limiting
Frequently Asked Questions
What is the difference between 401 Unauthorized and 403 Forbidden?
`401 Unauthorized` means authentication is required and has either failed or not been provided. `403 Forbidden` means the server recognized the client's identity, but refuses to authorize access because the account lacks necessary permissions.
What is the difference between 301 and 302 redirects?
`301 Moved Permanently` instructs search engines and browsers that the resource has permanently moved and caches the new URL. `302 Found` indicates a temporary redirect, meaning future requests should continue using the original URL.
Which status code should an API return when request payload validation fails?
Standard practice uses `400 Bad Request` for malformed syntax, or `422 Unprocessable Content` (RFC 9110) when the syntax is valid JSON but fails business validation rules.
Scope & Technical Limitations
- Provides standard IETF status codes; proprietary or vendor-specific codes (e.g., Cloudflare 520-527) are not part of the core RFC standard.