Swiniot
  1. Electricity Meter API
  • Swiniot Open Platform
    • API LIST
      • Token Acquisition and Usage Guide
      • Electricity Meter API
        • Query total electricity meter count
          GET
        • Query single electricity meter information
          GET
        • Query electricity meter recharge records
          GET
        • Query electricity consumption of a single meter
          GET
        • Query all electricity meter information
          GET
        • Query three-phase meter voltage, current, and power
          GET
        • Bind electricity meter
          POST
        • Unbind electricity meter
          POST
        • Electricity meter recharge
          POST
        • Electricity meter reading reset
          POST
        • Electricity meter switch
          POST
        • Set electricity price
          POST
        • Switch electricity meter payment mode
          POST
        • Electricity meter operation log
          POST
        • Bluetooth switch
          POST
        • Bluetooth switch - response
          POST
        • Bluetooth meter reading
          POST
        • Bluetooth meter reading - response
          POST
        • Bluetooth recharge
          POST
        • Bluetooth recharge - response
          POST
      • Water Meter API
        • Water meter recharge - Bluetooth
        • Water meter recharge - Bluetooth -response
        • Query total water meter count
        • Query single water meter information
        • Query water meter recharge records
        • Query water consumption of a single water meter
        • Batch query all water meter information
        • Add water meter
        • Water meter reading reset
        • Water meter operation log
        • Water meter recharge
        • Modify water price
        • Modify water meter payment mode
        • Valve-controlled water meter open/close valve
      • Super Gateway Door Lock API
        • Door Lock Command Dispatch
          • Door lock Bluetooth initialization command
          • Add, edit, or delete landlord password (only one password allowed)
          • Add, edit, or delete tenant password (only one password allowed)
          • Open door
          • Call the disconnect remote command before connecting via Bluetooth. Otherwise, the Bluetooth connection will fail.
          • Unbind door lock
          • Door card operations (add, delete, etc.)
          • Fingerprint operations (add, delete, etc.)
        • Door Lock Callback Commands
          • Door lock initialization callback API
          • API to call after door lock initialization is complete
          • Landlord password add, delete, or update callback API
          • Tenant password add, delete, or update callback API
          • Open door callback
          • Door lock unbind callback API
          • Door card Bluetooth callback API
          • Fingerprint Bluetooth callback API
        • Door lock list
  1. Electricity Meter API

Query all electricity meter information

GET
https://api.swiniot.com/open/api/meterDetails
Query basic information of all electricity meters under this landlord. Rate limit: 3 seconds per request.

Request

Header Params

Request Code Samples

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location 'https://api.swiniot.com/open/api/meterDetails' \
--header 'Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJwYXNzd29yZCI6ImUxMGFkYzM5NDliYTU5YWJiZTU2ZTA1N2YyMGY4ODNlIiwiYWN0aXZpdGkiOmZhbHNlLCJzY29wZSI6WyJPUEVOQVBJIl0sImlkIjoxMTQsImxhbmRsb3JkSWQiOjExNCwiZXhwIjoxNzA3MzU0NTEyLCJqdGkiOiIyODg4N2M3OS1mZGMyLTQwYWItODY5ZC1kZjgxNmI3YzI0NzYiLCJjbGllbnRfaWQiOiJPUEVOQVBJIn0.Dtf7JXKkgSAI-1tMozAPQYftadwzPzjUZtIzKviXYZ0'

Responses

🟢200Success
application/json
Bodyapplication/json

Example
{
    "data": {
        "meterPayWay": "string",
        "meterType": "string",
        "isPv": true,
        "meterBinding": true,
        "meterOn": "string",
        "open": "string",
        "leftDegree": 0,
        "meterSn": "string",
        "updateTime": "string",
        "meterPrice": 0,
        "meterRemarks": "string",
        "rate": 0,
        "houseName": "string",
        "communityName": "string",
        "isMutual": true,
        "currentDegree": "string"
    },
    "success": true,
    "messsage": "string"
}
🟠404Record not found
Modified at 2026-06-12 06:52:46
Previous
Query electricity consumption of a single meter
Next
Query three-phase meter voltage, current, and power
Built with