{"openapi":"3.1.0","info":{"title":"Photography Exposure API","version":"1.0.0","description":"Photographic exposure maths as an API, computed locally and deterministically — the exposure-value, equivalent-exposure and Sunny-16 numbers a photographer, camera-app developer or educator works the exposure triangle with. The exposure-value endpoint gives EV = log₂(aperture² ÷ shutter) and the ISO-100-normalised EV100 (subtracting log₂(ISO/100)) — every one-EV step is a stop, a doubling or halving of light — so bright sun reads about EV 15 and a typical interior EV 6–8, and equal-EV settings give the same exposure. The equivalent endpoint applies the reciprocity at the heart of the triangle: exposure ∝ shutter × ISO ÷ f-number², so when you close the aperture or drop the ISO it returns the new shutter that keeps the brightness constant — going from f/2.8 to f/5.6 needs four times the shutter time. The sunny16 endpoint gives the classic meterless rule: in bright sun shoot f/16 at about 1/ISO (1/125 s at ISO 100), opening up in stops for softer light — slight overcast f/11, overcast f/8, heavy overcast f/5.6, open shade f/4, and f/22 on snow or sand — solving the shutter for your chosen ISO and aperture. Everything is computed locally and deterministically, so it is instant and private. Ideal for camera and photography apps, exposure-calculator and teaching tools, and metering and automation utilities. Pure local computation — no key, no third-party service, instant. 3 compute endpoints. For depth of field and hyperfocal distance use a photography (optics) API.","contact":{"name":"PremiumApi","url":"https://www.oanor.com/by/premiumapi"}},"servers":[{"url":"https://api.oanor.com/exposure-api","description":"oanor gateway"}],"tags":[{"name":"Exposure"},{"name":"Meta"}],"components":{"securitySchemes":{"oanorKey":{"type":"apiKey","in":"header","name":"x-oanor-key","description":"Get your key at https://www.oanor.com/developer/keys"}}},"security":[{"oanorKey":[]}],"paths":{"/v1/equivalent":{"get":{"operationId":"get_v1_equivalent","tags":["Exposure"],"summary":"Equivalent-exposure shutter","description":"","parameters":[{"name":"aperture","in":"query","required":true,"description":"Base aperture (f-number)","schema":{"type":"string"},"example":"2.8"},{"name":"shutter_s","in":"query","required":true,"description":"Base shutter (seconds)","schema":{"type":"string"},"example":"0.01"},{"name":"iso","in":"query","required":false,"description":"Base ISO (default 100)","schema":{"type":"string"},"example":"100"},{"name":"new_aperture","in":"query","required":true,"description":"New aperture (f-number)","schema":{"type":"string"},"example":"5.6"},{"name":"new_iso","in":"query","required":false,"description":"New ISO (default = base)","schema":{"type":"string"},"example":"100"}],"security":[{"oanorKey":[]}],"responses":{"200":{"description":"OK"},"401":{"description":"Missing or invalid x-oanor-key header"},"402":{"description":"Active subscription required"},"429":{"description":"Rate-limit or monthly quota reached"},"502":{"description":"Upstream did not respond"}}}},"/v1/exposure-value":{"get":{"operationId":"get_v1_exposure_value","tags":["Exposure"],"summary":"EV and EV100","description":"","parameters":[{"name":"aperture","in":"query","required":true,"description":"Aperture (f-number)","schema":{"type":"string"},"example":"16"},{"name":"shutter_s","in":"query","required":true,"description":"Shutter time (seconds)","schema":{"type":"string"},"example":"0.01"},{"name":"iso","in":"query","required":false,"description":"ISO (default 100)","schema":{"type":"string"},"example":"100"}],"security":[{"oanorKey":[]}],"responses":{"200":{"description":"OK"},"401":{"description":"Missing or invalid x-oanor-key header"},"402":{"description":"Active subscription required"},"429":{"description":"Rate-limit or monthly quota reached"},"502":{"description":"Upstream did not respond"}}}},"/v1/sunny16":{"get":{"operationId":"get_v1_sunny16","tags":["Exposure"],"summary":"Sunny-16 settings","description":"","parameters":[{"name":"iso","in":"query","required":false,"description":"ISO (default 100)","schema":{"type":"string"},"example":"100"},{"name":"aperture","in":"query","required":false,"description":"Aperture (f-number, default 16)","schema":{"type":"string"},"example":"16"},{"name":"condition","in":"query","required":false,"description":"snow_sand|sunny|slight_overcast|overcast|heavy_overcast|open_shade","schema":{"type":"string"},"example":"sunny"}],"security":[{"oanorKey":[]}],"responses":{"200":{"description":"OK"},"401":{"description":"Missing or invalid x-oanor-key header"},"402":{"description":"Active subscription required"},"429":{"description":"Rate-limit or monthly quota reached"},"502":{"description":"Upstream did not respond"}}}},"/v1/meta":{"get":{"operationId":"get_v1_meta","tags":["Meta"],"summary":"Spec","description":"","parameters":[],"security":[{"oanorKey":[]}],"responses":{"200":{"description":"OK"},"401":{"description":"Missing or invalid x-oanor-key header"},"402":{"description":"Active subscription required"},"429":{"description":"Rate-limit or monthly quota reached"},"502":{"description":"Upstream did not respond"}}}}},"x-oanor-pricing":[{"slug":"free","name":"Free","price_cents_month":0,"monthly_call_quota":8800,"rps_limit":2,"hard_limit":true},{"slug":"starter","name":"Starter","price_cents_month":760,"monthly_call_quota":86000,"rps_limit":6,"hard_limit":true},{"slug":"pro","name":"Pro","price_cents_month":2680,"monthly_call_quota":352000,"rps_limit":15,"hard_limit":true},{"slug":"mega","name":"Mega","price_cents_month":8300,"monthly_call_quota":1620000,"rps_limit":40,"hard_limit":true}],"x-oanor-marketplace-url":"https://www.oanor.com/api/exposure-api"}