apidevtools

HTTP Tool

HTTP Status Codes Reference

Quick reference for common HTTP status codes used in APIs.

HTTP Status Codes

HTTP status codes are standard response codes returned by servers to indicate the result of an HTTP request.

Common HTTP status codes

Search by code, label, category, or description.

CodeLabelCategoryDescription
200OKSuccessRequest succeeded.
201CreatedSuccessResource created successfully.
204No ContentSuccessRequest succeeded with no response body.
301Moved PermanentlyRedirectionResource moved to a new permanent URL.
302FoundRedirectionResource temporarily available at another URL.
304Not ModifiedRedirectionCached resource is still valid.
400Bad RequestClient ErrorMalformed request syntax or invalid parameters.
401UnauthorizedClient ErrorAuthentication is required or failed.
403ForbiddenClient ErrorServer understood but refuses to authorize.
404Not FoundClient ErrorRequested resource does not exist.
409ConflictClient ErrorRequest conflicts with current resource state.
422Unprocessable ContentClient ErrorRequest syntax is valid but semantic validation failed.
429Too Many RequestsClient ErrorRate limit exceeded.
500Internal Server ErrorServer ErrorGeneric server-side error.
502Bad GatewayServer ErrorInvalid response from upstream server.
503Service UnavailableServer ErrorService temporarily unavailable.
504Gateway TimeoutServer ErrorUpstream server did not respond in time.

Using status codes in REST APIs

Use precise status codes to communicate success, validation errors, authentication issues, conflicts, and server failures clearly for API clients.

Overview

Search common response codes and their intent to improve API consistency and speed up debugging across teams.

Examples

Success code lookup

Input

201

Output

Created - resource created successfully.

Client error lookup

Input

422

Output

Unprocessable Content - semantic validation failed.

Use cases

  • Choose correct response codes in REST endpoints.
  • Explain unexpected responses during debugging.
  • Align code usage in API docs and implementation.

FAQ

Does this include every HTTP status code?

It focuses on commonly used API status codes.

Can I search by description?

Yes. Search matches code, label, category, and description.

Is this suitable for API design reviews?

Yes. It helps validate code choices during design discussions.

Does the tool recommend one code automatically?

No. It provides reference information only.

Related tools