Pi-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/docs
Paid fromNot stated
{
"id": "pi-hole-api",
"name": "Pi-hole API (v6)",
"vendor": "Pi-hole",
"whatItIs": "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/docs",
"interfaces": [
"http",
"cli"
],
"priceSource": "https://pi-hole.net/",
"priceChecked": "2026-11-15",
"things": [
"ConnectedDevice",
"DnsQuery",
"Domain",
"Group"
],
"jobs": [
"ConnectedDevice.list",
"DnsQuery.list",
"Domain.add",
"Domain.remove",
"Group.create"
]
}Facts
- Made by
- Pi-hole
- Paid from
- Not stated
- Access
- HTTP, CLI
- Sold
- As part of a product, not on its own
- Agents
- Not friendly
- API QA score
- [SCORE]
What it does
Each thing it works on, and what it does to it.
- Connected device
- list
- DNS query
- analyzelist
- Domain
- addremove
- Group
- create
Jobs it does
Open a job to see every API that does it, side by side.
Alternatives
View allAPIs that do the same jobs, the ones sharing the most jobs first.
Your API hereSponsoredSee sponsor optionsHead to head
For agents
An agent cannot both sign up and pay for this by itself.
Buying and paying7 of 11 stated
- Agent gets a key aloneNosession from the admin password or an app password set in the instance
- First call without a keyYes'Most (but not all) endpoints require authentication'
- Payment railsnoneno purchase
- Payment protocolsnoneno purchase
- Subscription requiredNofree
- Smallest purchase (USD)From $0free
- Price published as dataNoprices only in the HTML page
- Not stated yetAgent can pay, Test purchases, Receipt or usage record, Pay per call
Reading and signing up6 of 10 stated
- Public pricesYesfree, open source, donations
- Self-serve sign-upYesinstall on own hardware
- Free useYesfree
- OpenAPIYeseach Pi-hole serves its own API documentation at http://pi.hole/api/docs
- Docs without loginYesdocs.pi-hole.net public
- Agent instructionsNonone seen on pages read
- Not stated yetOpenAPI version, llms.txt, Docs as Markdown, Signed agents
MCP0 of 4 stated
YesNoStated otherwiseNot stated
