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/colorblind-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/colorblind-api/v1/meta" \
  -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/colorblind-api/v1/meta", {
  headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/colorblind-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/colorblind-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": {
        "auth": "none upstream; this gateway requires x-api-key",
        "name": "Color Blindness Simulator API",
        "note": "Simulate how colours appear under colour-vision deficiencies. /v1/simulate?color=%23ff0000&type=all (types: protanopia, deuteranopia, tritanopia, achromatopsia, or all); /v1/palette?colors=%23ff0000,%2300ff00 to check a whole UI palette; /v1/types for the list. Returns the simulated hex/RGB per type. Instant, nothing stored. For accessibility testing — distinct from colour conversion/contrast.",
        "source": "Local CVD matrix simulation — no key, no upstream",
        "endpoints": 4
    },
    "meta": {
        "timestamp": "2026-06-02T16:51:59.920Z",
        "request_id": "56b6b1be-6a12-40e7-820d-946be89492fc"
    },
    "status": "ok",
    "message": "Meta",
    "success": true
}