Pi-hole API (v6) vs anon.li API, CLI and MCP server
Pi-hole API (v6)by Pi-holePaid fromNot statedAccessHTTP, CLIAgentsNot agent-friendlyAPI QA score[SCORE]View API
anon.li API, CLI and MCP serverby anon.liPaid from$5.79 /month Billed $69.49 /yearAccessHTTP, CLI, MCP, Hosted UIAgentsNot agent-friendlyAPI QA score[SCORE]View API
Fact by fact
14 different8 stated by only one1 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/docsanon.li API, CLI and MCP server: API, CLI and OAuth MCP server onto an anon.li account: email aliases, recipients, custom domains, end-to-end encrypted file drops and forms (metadata only)
AccessPi-hole API (v6): HTTP, CLIanon.li API, CLI and MCP server: HTTP, CLI, MCP, Hosted UI
Still on salePi-hole API (v6): Yesanon.li API, CLI and MCP server: Yes
What they work on
BothDomain
Only one of themPi-hole API (v6): Connected deviceDNS queryGroupanon.li API, CLI and MCP server: Email aliasFile transferFormShort link
Price
PricesPi-hole API (v6): Not statedanon.li API, CLI and MCP server:
- Plus (yearly)$5.79 /month Billed $69.49 /year
- Pro (yearly)$7.49 /month Billed $89.89 /year
Buying and paying
Agent gets a key alonePi-hole API (v6): Nosession from the admin password or an app password set in the instanceanon.li API, CLI and MCP server: No'API keys are managed from an authenticated dashboard session'
First call without a keyPi-hole API (v6): Yes'Most (but not all) endpoints require authentication'anon.li API, CLI and MCP server: Noevery call needs a key or OAuth token
Agent can payPi-hole API (v6): Not statedanon.li API, CLI and MCP server: Noplan bought by card in the web app by a person; no agent payment protocol
Payment railsPi-hole API (v6): noneno purchaseanon.li API, CLI and MCP server: card, crypto'All major cards via Stripe'; 'cryptocurrency checkout through NOWPayments'
Payment protocolsPi-hole API (v6): noneno purchaseanon.li API, CLI and MCP server: noneno x402, MPP, ACP or AP2 on pages read
Subscription requiredPi-hole API (v6): Nofreeanon.li API, CLI and MCP server: Nofree plan; crypto payment 'covers one billing period with no recurring billing'
Smallest purchase (USD)Pi-hole API (v6): From $0freeanon.li API, CLI and MCP server: From $5.79Plus '$ 5.79 /mo Billed $ 69.49 /year'
Price published as dataPi-hole API (v6): Noprices only in the HTML pageanon.li API, CLI and MCP server: Yeshttps://anon.li/pricing.json: 'machine-readable products, tiers, USD prices, billing intervals, feature lists, and limits'
Reading and signing up
Public pricesPi-hole API (v6): Yesfree, open source, donationsanon.li API, CLI and MCP server: Yesplan prices on the public pricing page
Self-serve sign-upPi-hole API (v6): Yesinstall on own hardwareanon.li API, CLI and MCP server: Yesaccount by web sign-up; key or OAuth app from account settings
Free usePi-hole API (v6): Yesfreeanon.li API, CLI and MCP server: Yes'Free $0 ... 500 API requests/month'
OpenAPIPi-hole API (v6): Yeseach Pi-hole serves its own API documentation at http://pi.hole/api/docsanon.li API, CLI and MCP server: Not stated
Docs without loginPi-hole API (v6): Yesdocs.pi-hole.net publicanon.li API, CLI and MCP server: Yesdocs public
llms.txtPi-hole API (v6): Not statedanon.li API, CLI and MCP server: Yesanon.li/llms.txt
Docs as MarkdownPi-hole API (v6): Not statedanon.li API, CLI and MCP server: Yeshome page answered Accept: text/markdown with markdown (crawl facts/A111.tsv (anon.li, crawled in A111))
MCP
Vendor MCP serverPi-hole API (v6): Not statedanon.li API, CLI and MCP server: Yeshttps://anon.li/api/mcp (401 with OAuth metadata; scopes anon.li:aliases anon.li:drops anon.li:forms)
MCP server hosted by the vendorPi-hole API (v6): Not statedanon.li API, CLI and MCP server: Yeshosted by the vendor
MCP sign-inPi-hole API (v6): Not statedanon.li API, CLI and MCP server: Signs in with OAuth'OAuth + PKCE'; 'it cannot read encrypted content'
Jobs both do
Open a job to see every API that does it.

