At this time our service does not officially support any public APIs.


However, an "unofficial" REST API is available on the monitor-io device to allow local retrieval of Internet status (equivalent to what is shown on the LCD display). This interface is only available locally from the home network LAN.


Example request from a home network client:

curl http://192.168.1.20/main/mio-iomstatus.php


Example JSON response:

{
    "Status": 0,
    "ConnTime": "8  20:40:23",
    "ConnText": "INTERNET ONLINE",
    "ConnStatus": 0,
    "TimeString": "180924190330",
    "UnixTime": 1537815810,
    "UpTime": 32,
    "OutText": "",
    "OutDur": ""
}


JSON Name/Value information:
"Status" = Return status of request

        0 = Success
"ConnTime" = HTML formatted elapsed time (D  HH:MM:SS) since going online or offline
"ConnText" = Current connection state as text

        "INTERNET ONLINE" or "INTERNET OFFLINE"
"ConnStatus" = Current connection state as numeric

        0 = Online/Green (no errors)

        1 = Online/Magenta (errors)

        2 = Offline/Red (outage)
"TimeString" = Text timestamp (YYMMDDHHMMSS) of when connection went online or offline; Relies on NTP
"UnixTime" = Unix timestamp (since epoch) of when connection went online or offline; Relies on NTP
"UpTime" = System uptime (in seconds) of when connection went online or offline; Independent of NTP
"OutText" = Text output of last outage - Cleared after 24 hours

        "" or "LAST OUTAGE DUR."
"OutDur" = HTML formatted time duration (D  HH:MM:SS) of last outage - Cleared after 24 hours