Every HTTP response code — searchable, filterable, with detailed explanations and use cases. Click any code to expand details. Click the copy button to copy the code + name.
HTTP status codes are three-digit numeric codes returned by a server in response to a client request. They are grouped into five classes: 1xx Informational, 2xx Success, 3xx Redirection, 4xx Client Error, and 5xx Server Error. Understanding status codes is essential for building reliable web applications, debugging API integrations, configuring servers, and interpreting browser behavior. This reference covers all standard codes defined in RFC 7231, RFC 7232, RFC 7233, RFC 7235, RFC 6585, RFC 8297, and other relevant specifications, plus widely-used unofficial codes like 418 I'm a Teapot, 429 Too Many Requests, and 451 Unavailable For Legal Reasons.
The first digit of an HTTP status code defines its class. Each class communicates a different category of response from the server.
200 OK is the most common response for a successful GET request.While there are over 60 standardized codes, a handful appear in the vast majority of web traffic:
200 OK — Successful response. The body contains the requested resource.201 Created — A new resource was successfully created (common response to POST requests).301 Moved Permanently — The resource has a new permanent URL. Browsers and search engines update their records.302 Found — Temporary redirect. The resource is temporarily at a different URL.400 Bad Request — The server could not understand the request due to invalid syntax.401 Unauthorized — Authentication is required and has failed or not been provided.403 Forbidden — The client is authenticated but does not have permission to access the resource.404 Not Found — The requested resource does not exist on the server.429 Too Many Requests — Rate limiting: the client has sent too many requests in a given period.500 Internal Server Error — A generic error indicating the server encountered an unexpected condition.503 Service Unavailable — The server is temporarily unable to handle requests (overload or maintenance).Choosing the correct status code in a REST API is critical for usability and standards compliance. Some key conventions:
200 OK for successful GET, PUT, and PATCH responses that return a body.201 Created for successful POST requests that create a new resource, and include a Location header pointing to the new resource.204 No Content for successful DELETE requests or other operations with no response body.400 Bad Request for validation errors, malformed JSON, or missing required fields.401 Unauthorized when an API key or bearer token is missing or invalid.403 Forbidden when the user is authenticated but lacks the required permissions.404 Not Found when a requested resource ID does not exist.409 Conflict for duplicate resource creation attempts or update conflicts.422 Unprocessable Entity for semantically invalid requests (valid syntax, invalid data).429 Too Many Requests for rate limiting, and include Retry-After header.500 Internal Server Error only for unexpected server-side failures.