Skip to content

Online users ​

Live connections.

5 endpoints

GET /api/online ​

Get Online Summary

Online users right now (main core, nodes and external panels). sort: 'ip' (default), 'devices' or 'external'.

Any admin

Parameters

NameInTypeRequiredDescription
limitqueryintegerno
sortquerystringno

Response 200 Successful Response · OnlineSummary

Response fields
FieldTypeDescription
online_usersinteger
online_ipsinteger
external_online_usersinteger
updated_atstring (date-time)
usersOnlineUser[]
json
{
  "online_users": 0,
  "online_ips": 0,
  "external_online_users": 0,
  "updated_at": "2026-01-01T00:00:00Z",
  "users": [
    {
      "username": "string",
      "admin": "string",
      "ip_count": 0,
      "device_count": 0,
      "ip_limit": 0,
      "blocked_ips": 0,
      "external": 0,
      "external_panels": []
    }
  ]
}

Errors: 401 Unauthorized

bash
curl -X GET 'https://YOUR-PANEL/api/online' \
  -H 'Authorization: Bearer $TOKEN'

GET /api/online/providers ​

Get Online Providers

ISP/provider of each online user's IPs, plus a per-provider breakdown

Any admin

Response 200 Successful Response · OnlineProviders

Response fields
FieldTypeDescription
usersobject
providersProviderStat[]
json
{
  "users": {
    "key": [
      "string"
    ]
  },
  "providers": [
    {
      "name": "string",
      "users": 0,
      "ips": 0
    }
  ]
}

Errors: 401 Unauthorized

bash
curl -X GET 'https://YOUR-PANEL/api/online/providers' \
  -H 'Authorization: Bearer $TOKEN'

GET /api/user/{username}/online-ips ​

Get User Online Ips

IPs the user is connected from right now

Any admin

Parameters

NameInTypeRequiredDescription
usernamepathstringyes

Response 200 Successful Response · UserOnlineIPs

Response fields
FieldTypeDescription
usernamestring
ip_limitinteger
ipsOnlineIP[]
json
{
  "username": "string",
  "ip_limit": 0,
  "ips": [
    {
      "ip": "string",
      "nodes": [
        "string"
      ],
      "inbounds": [
        "string"
      ],
      "last_seen": "2026-01-01T00:00:00Z",
      "connected_seconds": 0,
      "provider": "string",
      "blocked": false,
      "protocol": "string",
      "rate": 0
    }
  ]
}

Errors: 401 Unauthorized, 403 Forbidden, 404 Not found

bash
curl -X GET 'https://YOUR-PANEL/api/user/<username>/online-ips' \
  -H 'Authorization: Bearer $TOKEN'

DELETE /api/user/{username}/online-ips/{ip} ​

Disconnect User Ip

Kick one online IP of the user: block it, then drop the user's live sessions so it really disconnects

Any admin

Parameters

NameInTypeRequiredDescription
ippathstringyes
usernamepathstringyes

Response 200 Successful Response

Errors: 401 Unauthorized, 403 Forbidden, 404 Not found

bash
curl -X DELETE 'https://YOUR-PANEL/api/user/<username>/online-ips/<ip>' \
  -H 'Authorization: Bearer $TOKEN'

POST /api/user/{username}/online-ips/{ip}/unblock ​

Unblock User Ip

Lift a manual block on an IP so it can connect again right away

Any admin

Parameters

NameInTypeRequiredDescription
ippathstringyes
usernamepathstringyes

Response 200 Successful Response

Errors: 401 Unauthorized, 403 Forbidden, 404 Not found

bash
curl -X POST 'https://YOUR-PANEL/api/user/<username>/online-ips/<ip>/unblock' \
  -H 'Authorization: Bearer $TOKEN'

Alexen v2.3.14 · 204 API endpoints