Get device real-time data
Run in Apifox
Get the latest real-time data of the inverter. The sn array is mandatory and returns only the result set belonging to the current user. If no variable is specified, all variables are queriedrequest body example: {
"sns" : [ "***************" , "***************" , "***************" ] ,
"variables" : [ "pvPower" , "pv1Current" ]
} Request Add parameter in header Authorization
Example: Authorization: ********************
or
Body Params application/json
{
"variables" : [
"string"
] ,
"sns" : [
"string"
]
} Request Code Samples
curl --location '/op/v1/device/real/query' \
--header 'token;' \
--header 'signature;' \
--header 'timestamp;' \
--header 'lang: en' \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--data '{
"variables": [
"string"
],
"sns": [
"string"
]
}' Responses application/json
Generate Code
{
"errno" : 0 ,
"result" : [
{
"deviceSN" : "string" ,
"datas" : [
{
"variable" : "string" ,
"unit" : "string" ,
"name" : "string" ,
"value" : "string"
}
] ,
"time" : "string"
}
]
} Modified at 2026-09-02 03:05:18