Skip to main content

Introduction

Overview

The Aqara AIOT API provides a set of cloud-facing interfaces for developers to access and manage spaces, devices, and device status data under the Aqara account system. With these APIs, you can query space hierarchies, list devices and device capability definitions, read device trait values, control devices through traits or commands, and subscribe to status changes of specific devices through MQTT.

For developers who need to integrate Aqara cloud capabilities into their own applications, backend systems, or third-party platforms, the AIOT API offers a complete integration path from resource discovery and status retrieval to remote control and real-time subscription.

HTTP API List

Space

NameAPI EndpointHTTP Method
List Spaces/spacesGET
Create A Space/spacesPOST
Update A Space Name/spaces/namePOST

Device

NameAPI EndpointHTTP Method
List Device Types/devices/typesGET
List Devices/devicesGET
Query Device Details/devices/definitionsGET
Control Devices by Traits/devices/trait/executePOST
Query Trait Values/devices/trait/readPOST
Control Devices by Commands/devices/command/executePOST