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
| Name | API Endpoint | HTTP Method |
|---|---|---|
| List Spaces | /spaces | GET |
| Create A Space | /spaces | POST |
| Update A Space Name | /spaces/name | POST |
Device
| Name | API Endpoint | HTTP Method |
|---|---|---|
| List Device Types | /devices/types | GET |
| List Devices | /devices | GET |
| Query Device Details | /devices/definitions | GET |
| Control Devices by Traits | /devices/trait/execute | POST |
| Query Trait Values | /devices/trait/read | POST |
| Control Devices by Commands | /devices/command/execute | POST |