Aqara Device API

Device query, property read/write, and command execution APIs

Operations 10

GET /devices/types List Device Types #
GET /devices List Devices #
GET /devices/definitions Query Device Model Definition #
POST /devices/trait/execute Control Devices by Traits #
POST /devices/trait/read Query Trait Values #
POST /devices/command/execute Control Devices by Commands #
POST /devices/command/execute/await Send Command to Device and Wait for Response #
POST /devices/points/delete Delete A Function #
POST /virtual-devices Add A Virtual Device #
POST /devices/unbind Unbind A Device #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/aqara:aqara-device-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

aqara-device-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Aqara Device API
  termsOfService: https://domain.com/terms
  x-internal: true
  version: '1.0'
  description: 'Operations tagged Device across 4 of this provider''s published API definitions: aiot-api-en.yaml, aiot-api-zh.yaml, data-export-api-en.yaml, data-export-api-zh.yaml. Each path carries the servers of the definition it was published in.'
servers:
- url: '{host}/v4.0/open/api'
  description: AIOT API Endpoint
  variables:
    host:
      description: Please enter the Open Platform API server domain.
      enum:
      - https://open-cn.aqara.com
      - https://open-usa.aqara.com
      - https://open-kr.aqara.com
      - https://open-ru.aqara.com
      - https://open-ger.aqara.com
      - https://open-sg.aqara.com
      default: https://open-usa.aqara.com
- url: '{host}/open/api/v1'
  description: Data Export API endpoint
  variables:
    host:
      description: 'Please enter your Aqara Studio service address. This can be a local LAN address (http) or a remote access address (https).

        For example:

        - http://10.11.50.56

        - https://xxx.edge-xxx.aqara.com/

        '
      default: <Aqara_Studio_URL>
tags:


# --- truncated at 32 KB (122 KB total) ---
# Full source: https://artifacts.apis.io/aqara/openapi/aqara-device-api-openapi.yml