HTTP ステータスコード検索 - すべての HTTP レスポンスコードを検索・理解

50以上のHTTPステータスコードを即座に検索・閲覧できます。各コードの詳細な説明、実際の使用例、トラブルシューティングのヒントを提供。すべてブラウザ内で動作し、データは一切送信されません。

49 status codes found

100

Continue

The server has received the request headers and the client should proceed to send the request body.

101

Switching Protocols

The server is switching protocols as requested by the client via the Upgrade header.

102

Processing

The server has received and is processing the request, but no response is available yet.

103

Early Hints

Used to return some response headers before the final HTTP message.

200

OK

The request has succeeded. The meaning depends on the HTTP method used.

201

Created

The request has been fulfilled and has resulted in one or more new resources being created.

202

Accepted

The request has been accepted for processing, but the processing has not been completed.

203

Non-Authoritative Information

The returned metadata is not exactly the same as available from the origin server.

204

No Content

The server successfully processed the request and is not returning any content.

205

Reset Content

The server successfully processed the request and asks the client to reset the document view.

206

Partial Content

The server is delivering only part of the resource due to a range header sent by the client.

207

Multi-Status

A Multi-Status response conveys information about multiple resources.

300

Multiple Choices

The request has more than one possible response. The user or user agent should choose one.

301

Moved Permanently

The resource has been permanently moved to a new URL. Search engines transfer SEO value to the new URL.

302

Found

The resource is temporarily located at a different URL. The client should continue to use the original URL.

303

See Other

The response to the request can be found at another URL using a GET method.

304

Not Modified

The resource has not been modified since the last request. The client can use the cached version.

307

Temporary Redirect

The resource is temporarily at a different URL. Unlike 302, the method and body will not be changed.

308

Permanent Redirect

The resource has been permanently moved. Unlike 301, the method and body will not be changed.

400

Bad Request

The server cannot process the request due to malformed syntax or invalid request framing.

401

Unauthorized

The request requires authentication. The client must provide valid credentials.

402

Payment Required

Reserved for future use. Sometimes used for paywall or subscription-based APIs.

403

Forbidden

The server understood the request but refuses to authorize it. Authentication will not help.

404

Not Found

The server cannot find the requested resource. The URL may be incorrect or the resource may have been removed.

405

Method Not Allowed

The HTTP method used is not supported for this resource.

406

Not Acceptable

The server cannot produce a response matching the Accept headers sent by the client.

407

Proxy Authentication Required

The client must authenticate with the proxy before the request can proceed.

408

Request Timeout

The server timed out waiting for the client to send the complete request.

409

Conflict

The request conflicts with the current state of the resource on the server.

410

Gone

The resource has been permanently deleted and will not be available again. Unlike 404, this is intentional.

411

Length Required

The server requires a Content-Length header in the request.

412

Precondition Failed

One or more conditions in the request headers evaluated to false on the server.

413

Content Too Large

The request body is larger than the server is willing to process.

414

URI Too Long

The request URL is longer than the server can interpret.

415

Unsupported Media Type

The server does not support the media type of the request body.

416

Range Not Satisfiable

The range specified in the Range header cannot be fulfilled.

418

I'm a Teapot

The server refuses to brew coffee because it is a teapot (RFC 2324). An April Fools' joke that became a real standard.

422

Unprocessable Entity

The server understands the content type but is unable to process the contained instructions.

429

Too Many Requests

The client has sent too many requests in a given time window (rate limiting).

451

Unavailable For Legal Reasons

The resource is unavailable due to legal demands (censorship, court order).

500

Internal Server Error

A generic error indicating the server encountered an unexpected condition that prevented it from fulfilling the request.

501

Not Implemented

The server does not support the functionality required to fulfill the request.

502

Bad Gateway

The server, acting as a gateway, received an invalid response from the upstream server.

503

Service Unavailable

The server is currently unable to handle the request due to maintenance or overload.

504

Gateway Timeout

The server, acting as a gateway, did not receive a timely response from the upstream server.

505

HTTP Version Not Supported

The server does not support the HTTP protocol version used in the request.

507

Insufficient Storage

The server is unable to store the representation needed to complete the request.

508

Loop Detected

The server detected an infinite loop while processing the request.

511

Network Authentication Required

The client needs to authenticate to gain network access (captive portal).

Learn More

HTTPステータスコードとは?

HTTPステータスコードは、クライアントのリクエストに対してWebサーバーが返す3桁の数値です。リクエストが成功したか、失敗したか、追加のアクションが必要かを伝達します。

ステータスコードは5つのカテゴリに分類されます:1xx(情報)、2xx(成功)、3xx(リダイレクト)、4xx(クライアントエラー)、5xx(サーバーエラー)。各カテゴリはHTTPプロトコルにおいて明確な役割を持っています。

これらのコードを理解することは、Web開発者、DevOpsエンジニア、SEO担当者にとって不可欠です。301リダイレクトはSEOのリンク評価を引き継ぎ、429はレート制限を示し、503は検索エンジンに後で再試行するよう伝えます。このツールを使えば、任意のコードを素早く検索し、その文脈における意味を理解できます。

使い方

  1. 1すべてのステータスコードを一覧表示するか、カテゴリタブ(1xx、2xx、3xx、4xx、5xx)でフィルタリングします。
  2. 2検索ボックスにコード番号、名前、またはキーワードを入力すると即座に絞り込まれます。
  3. 3ステータスコードカードをクリックすると、一般的な使用例が展開表示されます。
  4. 4カテゴリの説明を読んで、各グループが何を表すか理解しましょう。
  5. 5見慣れないHTTPレスポンスコードに遭遇したとき、いつでもこのページを参照できます。

こんなときに使える

APIレスポンスのデバッグ

APIが予期しないステータスコードを返した場合、ここで検索してサーバーが何を伝えているか理解し、クライアントコードでの適切な処理方法を判断できます。

SEO向けリダイレクト設定

検索エンジンにページの評価を新しいURLに移転させたいかどうかに基づいて、301(恒久的)と302(一時的)のリダイレクトを適切に選択できます。

エラーハンドリングの実装

APIがさまざまなエラー条件に対して返すべきHTTPステータスコードを決定します。不正な入力には400、認証なしには401、アクセス禁止には403、バリデーション失敗には422を使います。

サーバーログの解析

アクセスログやエラーログを監視する際、ステータスコードを素早く解読してパターンを特定します。429はボットのレート制限、500は内部ルートの障害を示します。

実践的なヒント

1

汎用コードより具体的なコードを使う

何でも400 Bad Requestで返すのではなく、リソースが見つからない場合は404、競合には409、バリデーションエラーには422を返しましょう。

2

エラーボディに有用な情報を含める

ステータスコードは問題のカテゴリを示し、レスポンスボディで具体的な問題点と修正方法を説明するべきです。

3

SEOのセマンティクスを守る

恒久的な移動には301、意図的に削除したコンテンツには410、メンテナンス中にはRetry-Afterヘッダー付きの503を使いましょう。

4

429にはエクスポネンシャルバックオフで対応

レート制限レスポンスを受け取った場合、即座にリトライするのではなく、指数的にバックオフして遮断を防ぎましょう。

具体例

正常なAPIレスポンス

データを正常に返すGETリクエスト。

Input

GET /api/users/123

Output

200 OK — リクエスト成功、サーバーがユーザーデータを返却。

リソースが見つからない

存在しないページへのリクエスト。

Input

GET /api/users/99999

Output

404 Not Found — サーバーは要求されたリソースを見つけられない。

レート制限

短時間に大量のリクエストを送信した場合。

Input

GET /api/search(1分間で100回目のリクエスト)

Output

429 Too Many Requests — 待機してエクスポネンシャルバックオフでリトライ。

制限事項

  • 標準的なHTTP/1.1および一般的な拡張コードを網羅しています。独自のアプリケーション固有のコード(例:Cloudflare 520-527)は含まれていません。
  • ステータスコードのセマンティクスは実装によって異なる場合があります。一部のAPIは慣例に沿わない使い方をしています。
  • このツールはリファレンス検索用であり、特定のサーバーが特定のコードを返す原因を診断することはできません。

機能一覧

  • 50以上の標準HTTPステータスコードの完全リファレンス
  • コード番号、名前、説明キーワードによる即時検索
  • カテゴリフィルタリング:情報、成功、リダイレクト、クライアントエラー、サーバーエラー
  • 各コードの実際の使用例を表示する展開可能なカード
  • 視覚的に素早く識別できるカラーコード付きカテゴリ
  • リダイレクトやクロールへの影響が明示されたSEO関連コードのハイライト
  • 100%クライアント側処理 — データ送信なし、読み込み後はオフラインでも動作

よくある質問

401と403の違いは何ですか?

401 Unauthorizedは、リクエストに有効な認証情報がないことを意味します。クライアントは認証してリトライすべきです。403 Forbiddenは、サーバーがリクエストを理解したが認可を拒否していることを意味し、有効な認証情報があっても同じです。403では認証しても解決しません。

リダイレクトには301と302のどちらを使うべきですか?

URLが永久に変更され、検索エンジンにSEO評価を移転させたい場合は301 Moved Permanentlyを使います。元のURLが正規URLとして残るべき一時的なリダイレクトには302 Foundを使います。

418 I'm a Teapotとは何ですか?

RFC 2324(Hyper Text Coffee Pot Control Protocol)に由来する実際のHTTPステータスコードで、元々はエイプリルフールのジョークでした。一部のAPIではイースターエッグとして、またはサーバーが意図的にリクエストを処理しないことを示すために使われています。

422と400はどう使い分けますか?

400 Bad Requestは不正な形式のリクエスト(無効なJSON構文、ヘッダーの欠如)に使います。422 Unprocessable Entityは形式としては正しいがセマンティクス的に無効なコンテンツ(有効なJSONだがフィールド値がバリデーションに失敗)に使います。

ステータスコードはSEOにどう影響しますか?

301は新しいURLにリンク評価の約95%を引き継ぎます。404ページは最終的にインデックスから削除されます。Retry-After付きの503はクローラーにペナルティなしで後で再訪問するよう伝えます。410はコンテンツが意図的に削除されたことを検索エンジンに伝えます。

Last reviewed:

プライバシーについて

これは純粋なリファレンスツールです。サーバーへのデータ送信は一切ありません。検索やフィルタリングはすべてブラウザ内で完結します。

ヒントと関連ワークフロー