Naar de inhoud
GET /v1/list

List status codes

Probeer het live

10 gratis calls per dag — geen registratie, geen API-key. Loopt via de oanor-gateway.

Aangepaste headers (optioneel)
api.oanor.com/httpstatus-api

Het werkt. Haal een API-key op en gebruik hem in je project.

Verkrijg een API-sleutel

Codefragmenten

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_..."}
)

Voorbeeldrespons

Een echte respons van dit endpoint, vastgelegd bij de laatste 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
…