/v1/meta
Spec
Essayez-le en direct
10 appels gratuits par jour — sans inscription, sans clé API. Passe par la passerelle oanor.
Ça marche. Récupérez une clé API et utilisez-la dans votre projet.
Obtenez une clé APIExtraits de code
curl "https://api.oanor.com/httpstatus-api/v1/meta" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/httpstatus-api/v1/meta", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/httpstatus-api/v1/meta");
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/meta",
headers={"x-oanor-key": "oanor_test_..."}
)
Exemple de réponse
Une réponse réelle de ce endpoint, capturée lors du dernier contrôle de santé.
{
"data": {
"name": "HTTP Status API",
"notes": "is_retryable flags codes that are commonly safe to retry (408, 425, 429, 500, 502, 503, 504). Nothing is stored.",
"version": "v1",
"endpoints": [
{
"path": "/v1/code",
"params": {
"code": "e.g. 404 (required)"
},
"returns": "message, category, description, RFC, is_error, is_retryable"
},
{
"path": "/v1/list",
"params": {
"category": "optional 1..5 or 1xx..5xx"
},
"returns": "all codes (optionally filtered by class)"
},
{
"path": "/v1/categories",
"params": [],
"returns": "the five status classes"
},
{
"path": "/v1/meta",
"params": [],
"returns": "this document"
}
],
"description": "Look up HTTP status codes — the standard message, category, plain-English description, defining RFC and whether the code is an error or safely retryable. Covers all assigned 1xx–5xx codes. Pure local, no key."
},
"meta": {
"timestamp": "2026-06-03T01:09:48.693Z",
"request_id": "bede28ec-5cdc-4837-b8da-cc57829ad7a3"
},
"status": "ok",
"message": "Meta",
"success": true
}