TestingAPIs is still being built. If something breaks, email support@testingapis.com.

HTTP status codes

Returns any HTTP status code on demand, with the headers that status normally carries.

Free: these endpoints need no account or key.

Example request

Lists every known HTTP status code with its reason phrase and category. Full reference and a Send button.

cURL
curl -X GET "https://api.testingapis.com/api/status/list"
Response · 200 OK
[
  {
    "code": 100,
    "statusText": "Continue",
    "category": "informational",
    "supported": false,
    "url": null
  },
  {
    "code": 101,
    "statusText": "Switching Protocols",
    "category": "informational",
    "supported": false,
    "url": null
… (3 more lines)