nextdns
Python wrapper for NextDNS API.
Decision gist · record as of 2026-08-14
Yes, if you need programmatic access to NextDNS analytics and profiles. The package is actively maintained, has low install friction, permissive licensing, and no known vulnerabilities. The Python 3.13+ requirement is strict but aligns with modern practice. Install it if you're building monitoring or automation around NextDNS; skip it if you only need the web dashboard or don't have a NextDNS account.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires a NextDNS account and API key; Python 3.13 or later.
- Low install friction with only two runtime dependencies (aiohttp and tenacity).
- Actively maintained with a recent release 56 days ago and current commits.
License · maintenance · safety
Apache-2.0 (permissive) — Licensed under Apache-2.0 (permissive), allowing commercial and private use with minimal restrictions—suitable for most projects.
last release 2026-06-19 (56 days) · last repo commit 2026-08-14 · 11 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 74,318 downloads/mo, #14,850 on PyPI
Alternatives
Verify before relying
pip install nextdns
from aiohttp import ClientSession
from nextdns import NextDns
async with ClientSession() as session:
nextdns = await NextDns.create(session, API_KEY)
profile = await nextdns.get_profile(profile_id)- Whether the package supports DNS query filtering, blocking, or configuration beyond read-only analytics retrieval.
- Rate limiting behavior and retry strategy details beyond tenacity dependency.
- Whether analytics endpoints cover all NextDNS metrics or a subset.
What it is and what it does
nextdns is an async Python client for the NextDNS API that lets you programmatically access DNS profiles and analytics from a NextDNS account. It wraps the NextDNS service's HTTP endpoints using aiohttp for async I/O and tenacity for resilient retries, exposing methods to fetch profile details, DNS security analytics (DNSSEC, encryption), IP version breakdowns, and protocol statistics.
The package is designed for integration into monitoring tools, dashboards, or automation scripts that need to pull DNS analytics data from NextDNS. It requires an active NextDNS account and API key, and enforces Python 3.13 or later. The async-first design makes it suitable for concurrent requests or event-driven applications, though the small dependency footprint keeps installation overhead minimal.
Use it for
- Monitor DNS security metrics and encryption status across multiple NextDNS profiles in a dashboard or alerting system.
- Automate DNS analytics collection for reporting or compliance audits tied to a NextDNS account.
- Build a Python-based DNS monitoring bot that periodically fetches profile status and protocol statistics.
- Integrate NextDNS analytics into a larger async application or microservice that manages network infrastructure.
- Retrieve and analyze DNS query protocol distribution (DoH, DoT, etc.) across your NextDNS deployment.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes, if you need programmatic access to NextDNS analytics and profiles.
The package is actively maintained, has low install friction, permissive licensing, and no known vulnerabilities. The Python 3.13+ requirement is strict but aligns with modern practice. Install it if you're building monitoring or automation around NextDNS; skip it if you only need the web dashboard or don't have a NextDNS account.
Install
nextdns on PyPI
Before you install
Low install friction with only two runtime dependencies (aiohttp and tenacity). Actively maintained with a recent release 56 days ago and current commits. Requires Python 3.13 or later, which narrows compatibility to modern versions only.
Requires a NextDNS account and API key; Python 3.13 or later.
License in practice
Licensed under Apache-2.0 (permissive), allowing commercial and private use with minimal restrictions—suitable for most projects.
Quickstart
pip install nextdns
from aiohttp import ClientSession
from nextdns import NextDns
async with ClientSession() as session:
nextdns = await NextDns.create(session, API_KEY)
profile = await nextdns.get_profile(profile_id)
Verify before relying
- Whether the package supports DNS query filtering, blocking, or configuration beyond read-only analytics retrieval.
- Rate limiting behavior and retry strategy details beyond tenacity dependency.
- Whether analytics endpoints cover all NextDNS metrics or a subset.
Package facts
| License | Apache-2.0 permissive |
| Python support | Supports the current Python release >=3.13 |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 2 packagesaiohttptenacity |
| Maintenance | Actively maintained 56 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 74,318 / month, #14,850 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/StableOperating System :: OS IndependentProgramming Language :: PythonProgramming Language :: Python :: 3Programming Language :: Python :: 3 :: OnlyProgramming Language :: Python :: 3.13Programming Language :: Python :: 3.14Typing :: Typed |
Evidence: nextdns-5.0.1-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 › “nextdns api client”
- nextdnsAsync Python wrapper for the NextDNS API that retrieves DNS profiles,…
- codewords-clientA Python client library for the Codewords API with built-in FastAPI…
- twentyc.rpcA client library for consuming 20c's RESTful API, built on top of the…
Give your agent the search over MCP, or paste the wish link into any chat.
More Internet packages
Botocore provides low-level, data-driven access to Amazon Web Services APIs, serving as the foundation for the AWS CLI and boto3 libraries.
Install it if you need programmatic access to AWS services.
Provides an async client for AWS services using botocore and aiohttp, allowing you to call AWS APIs asynchronously within asyncio-based applications.
Install it if you need to call AWS services from async Python code; it is the standard way to do so.
Pydantic validates Python data structures against type hints, coercing and checking input at runtime to ensure it matches a declared schema.
Provides a platform-independent file locking mechanism to coordinate access to files across processes and threads.
FastAPI is a Python web framework for building REST APIs using type hints, with automatic request validation, serialization, and interactive API documentation.
Provides common Protocol Buffer message definitions used across Google Cloud APIs, enabling Python clients to interact with Google services.
See also accuweather · dnspython · nettigo-air-monitor · imgw-pib · aio-geojson-geonetnz-volcano · klaviyo · google-cloud-dns · gios · nslookup · python-designateclient