Skip to content
PithLab

↑↓ to move · Enter to open · Esc to close

HTTP Status Codes API

Look up HTTP status codes: the reason phrase, what it means, the defining specification and usage notes. Search by code (404), code prefix (40), class (4xx) or words (rate limit).

POST /api/v1/tools/http-status-codesMCP http_status_codesDeveloper Tools

Searchable list of HTTP status codes from 100 to 511 with plain-English explanations, based on RFC 9110 plus WebDAV, 418 and 429. Search by number or keyword.

Input

Send these as a JSON object. Unknown fields are rejected.

query
A code ("418"), a code prefix ("50"), a class ("4xx") or words to match in the phrase and description ("too many requests"). Empty lists every code. (string, up to 200 characters, default "")
curl https://pithlab.com/api/v1/tools/http-status-codes \n  -H "Authorization: Bearer $PITHLAB_KEY" \n  -H "Content-Type: application/json" \n  -d '{"query":"429"}'
Example response
{
  "ok": true,
  "result": {
    "count": 1,
    "codes": [
      {
        "code": 429,
        "phrase": "Too Many Requests",
        "spec": "RFC 6585",
        "description": "The client has sent too many requests in a given time (rate limiting). A Retry-After header may say how long to wait.",
        "class": "4xx",
        "className": "Client error"
      }
    ]
  }
}