/v1/sunny16
Sunny-16 settings
Pruébalo en vivo
10 llamadas gratis al día — sin registro, sin clave API. Pasa por el gateway de oanor.
Funciona. Consigue una clave API y úsala en tu proyecto.
Obtener una clave APIFragmentos de código
curl "https://api.oanor.com/exposure-api/v1/sunny16" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/exposure-api/v1/sunny16", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/exposure-api/v1/sunny16");
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/sunny16",
headers={"x-oanor-key": "oanor_test_..."}
)
Respuesta de ejemplo
Una respuesta real de este endpoint, capturada en la última comprobación de estado.
{
"data": {
"note": "The Sunny-16 rule: in bright sun set the aperture to f/16 and the shutter to about 1/ISO (1/125 s at ISO 100) for a correct exposure with no meter — EV 15. Softer light opens up in stops: slight overcast f/11 (EV 14), overcast f/8 (EV 13), heavy overcast f/5.6, open shade f/4; snow or sand needs f/22 (EV 16). Here the shutter is solved for your chosen aperture and ISO at the condition's brightness.",
"ev100": 15,
"inputs": {
"iso": 100,
"aperture": 16,
"condition": "sunny"
},
"recommended_shutter_s": 0.007813,
"recommended_shutter_label": "1/128"
},
"meta": {
"timestamp": "2026-06-07T08:18:07.004Z",
"request_id": "93afc2fa-3e35-4448-b507-18b8590b618f"
},
"status": "ok",
"message": "Sunny-16",
"success": true
}