Aller au contenu
GET /v1/meta

Spec

Essayez-le en direct

10 appels gratuits par jour — sans inscription, sans clé API. Passe par la passerelle oanor.

En-têtes personnalisés (facultatif)
api.oanor.com/roman-api

Ça marche. Récupérez une clé API et utilisez-la dans votre projet.

Obtenez une clé API

Extraits de code

curl "https://api.oanor.com/roman-api/v1/meta" \
  -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/roman-api/v1/meta", {
  headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/roman-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/roman-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": {
        "notes": "Classic range 1–3999 with standard subtractive notation (IV, IX, XL, XC, CD, CM). Decode rejects non-canonical forms like IIII or VV.",
        "service": "roman-api",
        "endpoints": {
            "GET /v1/meta": "This document.",
            "GET /v1/decode": "Roman numeral to an integer, with validation and canonical form.",
            "GET /v1/encode": "Integer (1–3999) to a Roman numeral.",
            "GET /v1/arithmetic": "Add, subtract or multiply two Roman numerals or integers, result in Roman."
        },
        "description": "Roman numeral converter: encode an integer to a Roman numeral, decode a Roman numeral to an integer with strict validation, and do arithmetic (add, subtract, multiply) on Roman numerals."
    },
    "meta": {
        "timestamp": "2026-06-05T11:30:34.938Z",
        "request_id": "848396cb-fc32-4e1f-b932-4b45dad2966d"
    },
    "status": "ok",
    "message": "Meta",
    "success": true
}