Aller au contenu
GET /v1/equivalent

Equivalent-exposure shutter

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/exposure-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/exposure-api/v1/equivalent" \
  -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/exposure-api/v1/equivalent", {
  headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/exposure-api/v1/equivalent");
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/exposure-api/v1/equivalent",
    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": {
        "note": "Equivalent exposure keeps the light constant when you change a setting: exposure ∝ shutter × ISO ÷ f-number², so closing the aperture or lowering the ISO must be paid back with a longer shutter — new shutter = old × (ISO_old/ISO_new) × (N_new²/N_old²). Going from f/2.8 to f/5.6 (two stops smaller) needs four times the shutter time for the same brightness. This is the reciprocity at the heart of the exposure triangle.",
        "inputs": {
            "iso": 100,
            "new_iso": 100,
            "aperture": 2.8,
            "shutter_s": 0.01,
            "new_aperture": 5.6
        },
        "new_shutter_s": 0.04,
        "new_shutter_label": "1/25",
        "shutter_change_stops": 2
    },
    "meta": {
        "timestamp": "2026-06-07T08:18:06.809Z",
        "request_id": "0a284665-c1e0-4b8a-8174-bee620145c23"
    },
    "status": "ok",
    "message": "Equivalent exposure",
    "success": true
}