uptime-kuma-api-v2
A python wrapper for the Uptime Kuma WebSocket API
Decision gist · record as of 2026-08-14
Yes. The package has low install friction, active maintenance, no known vulnerabilities, and a permissive MIT license. It directly solves the problem of programmatic Uptime Kuma control from Python. Install it if you need to automate Uptime Kuma operations or integrate monitoring into a larger application.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires Python 3.7 or later and a running Uptime Kuma server instance to connect to.
- Low friction installation with only two runtime dependencies (python-socketio and packaging).
- The package is actively maintained with a recent release and no known vulnerabilities.
License · maintenance · safety
MIT (permissive) — MIT license permits free use, modification, and distribution with minimal restrictions—suitable for both open-source and commercial projects.
last release 2026-05-26 (80 days) · last repo commit 2026-05-26 · 10 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 84,560 downloads/mo, #13,988 on PyPI
Alternatives
Verify before relying
pip install uptime-kuma-api-v2
from uptime_kuma_api import UptimeKumaApi, MonitorType
api = UptimeKumaApi('http://127.0.0.1:3001')
api.login('username', 'password')
result = api.add_monitor(type=MonitorType.HTTP, name="Google", url="https://google.com")
api.disconnect()- Exact list of supported Uptime Kuma versions beyond 2.0.0-beta.2 for version 1.0.3
- Full API method coverage and whether all Uptime Kuma features are exposed
What it is and what it does
uptime-kuma-api-v2 is a Python wrapper around the Uptime Kuma Socket.IO API, enabling programmatic interaction with an Uptime Kuma monitoring server. It abstracts the WebSocket communication layer, allowing you to create monitors, manage notifications, retrieve status data, and automate monitoring tasks from Python code. The package depends on python-socketio for WebSocket connectivity and packaging for version handling.
Typical usage involves instantiating an API client with a server URL, authenticating with credentials, then calling methods to manage monitors and retrieve uptime data. The package supports context managers for automatic resource cleanup and is actively maintained with support for Python 3.7 through 3.11. It carries an MIT license, making it suitable for both open-source and commercial use.
Use it for
- Automate creation and configuration of HTTP/TCP monitors on an Uptime Kuma instance from a deployment script.
- Build a custom dashboard or reporting tool that pulls uptime statistics from Uptime Kuma via the Python API.
- Integrate Uptime Kuma monitoring into a larger infrastructure-as-code or DevOps automation workflow.
- Programmatically manage alert thresholds and notification settings across multiple monitors.
- Sync monitor definitions from an external configuration source into Uptime Kuma using this client.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes.
The package has low install friction, active maintenance, no known vulnerabilities, and a permissive MIT license. It directly solves the problem of programmatic Uptime Kuma control from Python. Install it if you need to automate Uptime Kuma operations or integrate monitoring into a larger application.
Install
uptime-kuma-api-v2 on PyPI
Before you install
Low friction installation with only two runtime dependencies (python-socketio and packaging). The package is actively maintained with a recent release and no known vulnerabilities.
Requires Python 3.7 or later and a running Uptime Kuma server instance to connect to.
License in practice
MIT license permits free use, modification, and distribution with minimal restrictions—suitable for both open-source and commercial projects.
Quickstart
pip install uptime-kuma-api-v2
from uptime_kuma_api import UptimeKumaApi, MonitorType
api = UptimeKumaApi('http://127.0.0.1:3001')
api.login('username', 'password')
result = api.add_monitor(type=MonitorType.HTTP, name="Google", url="https://google.com")
api.disconnect()
Verify before relying
- Exact list of supported Uptime Kuma versions beyond 2.0.0-beta.2 for version 1.0.3
- Full API method coverage and whether all Uptime Kuma features are exposed
Package facts
| License | MIT permissive |
| Python support | Supports the current Python release <4,>=3.7 |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 2 packagespython-socketiopackaging |
| Maintenance | Actively maintained 80 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 84,560 / month, #13,988 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Development Status :: 5 - Production/StableEnvironment :: Web EnvironmentIntended Audience :: DevelopersLicense :: OSI Approved :: MIT LicenseNatural Language :: EnglishOperating System :: OS IndependentProgramming Language :: PythonProgramming Language :: Python :: 3Programming Language :: Python :: 3 :: OnlyProgramming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.7Programming Language :: Python :: 3.8Programming Language :: Python :: 3.9Topic :: Internet :: WWW/HTTPTopic :: Software Development :: Libraries |
Evidence: uptime_kuma_api_v2-1.0.3-py3-none-any.whl
Tags
Let your AI agent find packages like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.
wish › “uptime monitoring python”
- uptime-kuma-api-v2Provides a Python client for the Uptime Kuma Socket.IO API, allowing…
- uptime-kuma-apiA Python wrapper for the Uptime Kuma Socket.IO API that lets you…
- uptimeRetrieves the system uptime (time since last boot) in a…
Give your agent the search over MCP, or paste the wish link into any chat.
More Libraries packages
urllib3 is an HTTP client library that provides thread-safe connection pooling, SSL/TLS verification, multipart file uploads, request retries, compression support, and proxy handling for Python applications.
Requests is a Python HTTP library that simplifies sending HTTP/1.1 requests with automatic handling of headers, authentication, cookies, and response parsing.
Pluggy provides a plugin system that lets you define hook specifications and register implementations to be called in sequence, enabling extensible Python applications without tight coupling.
Install it if you're building an extensible application or framework.
Provides parsing, arithmetic, and recurrence rule computation for dates and times, with timezone support and iCalendar RFC compliance.
Install it if you need to parse flexible date strings, compute relative dates, handle timezones, or work with recurrence rules—it's the de facto choice for these tasks.
Six provides utility functions to write Python code that runs on both Python 2.7 and Python 3.3+, smoothing over language differences between the two versions.
pytest is a testing framework that lets you write test functions using plain assert statements and automatically discovers and runs them, with detailed failure reporting.
See also uptime-kuma-api · uptime · py-synologydsm-api · python-socketio · moonraker-api · luigi-monitor · fastapi-socketio · cronitor · greeneye_monitor · zabbix-utils