Zum Inhalt springen
GET /v1/list

List status codes

Live testen

10 freie Calls pro Tag — keine Anmeldung, kein API-Key. Geht durchs oanor-Gateway.

Eigene Header (optional)
api.oanor.com/httpstatus-api

Funktioniert. Hol dir einen API-Key und nutze sie in deinem Projekt.

API-Key holen

Code-Snippets

curl "https://api.oanor.com/httpstatus-api/v1/list" \
  -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/httpstatus-api/v1/list", {
  headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/httpstatus-api/v1/list");
curl_setopt($ch, CURLOPT_HTTPHEADER, ["x-oanor-key: oanor_test_..."]);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
$out = curl_exec($ch);
import requests
requests.get(
    "https://api.oanor.com/httpstatus-api/v1/list",
    headers={"x-oanor-key": "oanor_test_..."}
)

Beispiel-Response

Echte Antwort dieses Endpoints, erfasst beim letzten Health-Check.

{
    "data": {
        "codes": [
            {
                "rfc": "RFC 9110",
                "code": 400,
                "message": "Bad Request",
                "category": "Client Error",
                "is_error": true,
                "description": "The server cannot process the request due to a client error.",
                "is_retryable": false,
                "category_class": "4xx"
            },
            {
                "rfc": "RFC 9110",
                "code": 401,
                "message": "Unauthorized",
                "category": "Client Error",
                "is_error": true,
                "description": "Authentication is required and has failed or not been provided.",
                "is_retryable": false,
                "category_class": "4xx"
            },
            {
                "rfc": "RFC 9110",
                "code": 402,
                "message": "Payment Required",
                "category": "Client Error",
                "is_error": true,
                "description": "Reserved for future use; sometimes used for paywalls/quotas.",
                "is_retryable": false,
                "category_class": "4xx"
            },
            {
                "rfc": "RFC 9110",
                "code": 403,
                "message": "Forbidden",
                "category": "Client Error",
                "is_error": true,
                "description": "The server understood the request but refuses to authorize it.",
                "is_retryable": false,
                "category_class": "4xx"
            },
            {
                "rfc": "RFC 9110",
                "code": 404,
                "message": "Not Found",
                "category": "Client Error",
                "is_error": true,
                "description": "The server cannot find the requested resource.",
                "is_retryable": false,
                "category_class": "4xx"
            },
            {
                "rfc": "RFC 9110",
                "code": 405,
                "message": "Method Not Allowed",
                "category": "Client Error",
                "is_error": true,
                "description": "The request method is not supported for this resource.",
                "is_retryable": false,
                "category_class": "4xx"
            },
            {
                "rfc": "RFC 9110",
                "code": 406,
                "message": "Not Acceptable",
                "category": "Client Error",
                "is_error": true,
                "description": "No content matching the Accept headers is available.",
                "is_retryable": false,
                "category_class": "4xx"
            },
            {
                "rfc": "RFC 9110",
                "code": 407,
                "message": "Proxy Authentication Required",
                "category": "Client Error",
                "is_error": true,
                "description": "The client must aut
…