Introduction
Overview
The Aqara Data Export API provides a comprehensive set of interfaces that support you to efficiently and securely access and manage data related to devices, spaces, and automation within Aqara Studio.
With these APIs, you can list spaces and devices, control devices remotely, read and write trait values, and create, query, update, and delete automation rules.
Whether you are managing devices or building automation scenarios, the Data Export API provides the essential capabilities needed to quickly integrate and extend Aqara platform data and services.
HTTP API List
Space
| Name | API Endpoint | HTTP Method |
|---|---|---|
| List Spaces | /open/api/v1/spaces | GET |
Device
| Name | API Endpoint | HTTP Method |
|---|---|---|
| List Device Types | /open/api/v1/device-types | GET |
| List Devices | /open/api/v1/devices | GET |
| Query Device Details | /open/api/v1/devices/definitions | GET |
| Control Devices by Traits | /open/api/v1/devices/trait/execute | POST |
| Query Trait Values | /open/api/v1/devices/trait/read | POST |
| Control Devices by Commands | /open/api/v1/devices/command/execute | POST |
Automation
| Name | API Endpoint | HTTP Method |
|---|---|---|
| List Endpoint Capabilities for Automation | /open/api/v1/automations/capabilities | GET |
| Create Automation | /open/api/v1/automations | POST |
| List Automations | /open/api/v1/automations | GET |
| Query Automation Details | /open/api/v1/automations/<automationId> | GET |
| Edit Automation | /open/api/v1/automations/<automationId> | PATCH |
| Batch Update Automation Status | /open/api/v1/automations/status | POST |
| Delete Automations | /open/api/v1/automations/delete | POST |
| Execute Manual Trigger | /open/api/v1/automations/manual-triggers/execute | POST |