Pi-hole API (v6) vs NextDNS API
Pi-hole API (v6)by Pi-holePaid fromNot statedAccessHTTP, CLIAgentsNot agent-friendlyAPI QA score[SCORE]View API
NextDNS APIby NextDNSPaid from$1.99 /monthAccessHTTP, Hosted UIAgentsNot agent-friendlyAPI QA score[SCORE]View API
Fact by fact
14 different3 stated by only one2 the same on both
The basics
What it isPi-hole API (v6): REST API built into a self-hosted Pi-hole: query log and statistics, allow and deny lists, groups, clients and DNS and DHCP settings, documented by each installation at /api/docsNextDNS API: REST API (beta) onto a NextDNS account: create and change filtering profiles (security, privacy, parental control, deny and allow lists), read analytics and query logs, stream logs and clear them
AccessPi-hole API (v6): HTTP, CLINextDNS API: HTTP, Hosted UI
Still on salePi-hole API (v6): YesNextDNS API: Yes
What they work on
BothDNS query
Only one of themPi-hole API (v6): Connected deviceDomainGroupNextDNS API: Access policyAnalytics report
Price
PricesPi-hole API (v6): Not statedNextDNS API:
- Pro$1.99 /month
- Pro (yearly)$19.90 /year
- Business$19.90 /month * for every 50 employees
- Education$19.90 /month * for every 250 students
Buying and paying
Agent gets a key alonePi-hole API (v6): Nosession from the admin password or an app password set in the instanceNextDNS API: No'Find your API key at the bottom of your account page'
First call without a keyPi-hole API (v6): Yes'Most (but not all) endpoints require authentication'NextDNS API: NoX-Api-Key on every call
Agent can payPi-hole API (v6): Not statedNextDNS API: Nocheckout in the web account by a person; crypto accepted but no agent payment protocol
Payment railsPi-hole API (v6): noneno purchaseNextDNS API: card, wallet, crypto'We accept cards, PayPal and cryptocurrencies.'
Payment protocolsPi-hole API (v6): noneno purchaseNextDNS API: noneno x402, MPP, ACP or AP2 on pages read
Subscription requiredPi-hole API (v6): NofreeNextDNS API: Nofree plan; Pro $1.99/month
Smallest purchase (USD)Pi-hole API (v6): From $0freeNextDNS API: From $1.99'Pro ... $1.99 /month'
Price published as dataPi-hole API (v6): Noprices only in the HTML pageNextDNS API: Noprices only in the HTML page
Reading and signing up
Public pricesPi-hole API (v6): Yesfree, open source, donationsNextDNS API: Yesplan prices on the public pricing page
Self-serve sign-upPi-hole API (v6): Yesinstall on own hardwareNextDNS API: Yes'Try it now No signup required. Sign up later'; API key at the bottom of the account page
Free usePi-hole API (v6): YesfreeNextDNS API: Yes'Free 300,000 queries/month ... $0 /month'
OpenAPIPi-hole API (v6): Yeseach Pi-hole serves its own API documentation at http://pi.hole/api/docsNextDNS API: Nodocs are a single HTML page on GitHub Pages; apis.io lists a contract it built
Docs without loginPi-hole API (v6): Yesdocs.pi-hole.net publicNextDNS API: Yeshttps://nextdns.github.io/api/ public
Docs as MarkdownPi-hole API (v6): Not statedNextDNS API: NoAccept: text/markdown returned HTML on https://nextdns.github.io/api/
Jobs both do
Open a job to see every API that does it.

