# Device Orientation API Status: public Confidence: medium (0.865) (verified) Last verified: 2026-05-28 Generation: human_only ## TL;DR The Device Orientation API exposes device orientation and motion information to web pages through events. The repaired version removes platform-specific claims and maps the remaining facts to W3C and MDN references. ## Core Explanation The API surface is event based. DeviceOrientationEvent reports orientation values such as alpha, beta, and gamma, while DeviceMotionEvent reports acceleration and rotation-rate data. Implementations may apply permission, privacy, and secure-context limits. ## Further Reading - [Device Orientation and Motion](https://www.w3.org/TR/orientation-event/) - [DeviceOrientationEvent - Web APIs | MDN](https://developer.mozilla.org/en-US/docs/Web/API/DeviceOrientationEvent) - [DeviceMotionEvent - Web APIs | MDN](https://developer.mozilla.org/en-US/docs/Web/API/DeviceMotionEvent) ## Related Articles - [API Gateway](../api-gateway.md) - [Broadcast Channel API](../broadcast-channel-api.md) - [Canvas API](../canvas-api.md)