Pi-hole website screenshot

Pi-hole

Pi-hole is an open source network-wide DNS sinkhole that blocks ads, tracking, and unwanted domains across all devices on a local network without requiring per-device software. It runs on lightweight hardware such as Raspberry Pi and offers a web admin interface plus a REST API (introduced in v6 via the pihole-FTL binary) for programmatic management of blocklists, allowlists, groups, clients, DNS settings, and live query logs.

Pi-hole publishes 4 APIs on the APIs.io network, including Auth API, DNS API, Groups API, and 1 more. Tagged areas include DNS, Ad Blocking, Network Security, Privacy, and Open Source.

Pi-hole’s developer surface includes authentication, documentation, engineering blog, and 9 more developer resources.

26.0/100 emerging ▬ flat Agent 28/100 agent aware Full breakdown ↓
scored 2026-08-05 · rubric v0.9.1
AccessSelf serve
4 APIs
DNSAd BlockingNetwork SecurityPrivacyOpen SourceSelf-Hosted

Kin Score

Kin Score Kin Score How this is scored →
scored 2026-08-05 · rubric v0.9.1
Composite quality — 26.0/100 · emerging
Contract Quality 13.6 / 25
Developer Ergonomics 4.3 / 20
Commercial Clarity 0.0 / 20
Operational Transparency 0.7 / 13
Governance 0.0 / 12
Discoverability 7.4 / 10
Agent readiness — 28/100 · agent aware
Machine-Readable Contract 18 / 18
Agentic Access Contract 10 / 10
MCP Server 0 / 12
Machine-Readable Auth 10 / 10
Idempotency 0 / 9
Stable Error Semantics 0 / 8
Request/Response Examples 0 / 7
Rate-Limit Signaling 0 / 7
Typed Event Surface 0 / 6
Agent Skills 0 / 5
Well-Known Catalog 0 / 4
Consent & Bot Identity 0 / 3
A2A Agent Card 0 / 8
Dry-Run / Simulate Mode 0 / 4
Improve this rating by publishing the missing artifacts — every area above can be raised, and the full rubric is at apis.io/rating/. This rating is computed from github.com/api-evangelist/pi-hole: open an issue to ask a question, or submit a pull request to add artifacts. Want it done for you? Prioritized profiling — $2,500 →

APIs 4

Individual APIs this provider publishes, each with its own machine-readable definition.

Pi-hole Auth API

Session authentication.

Pi-hole DNS API

DNS blocking configuration.

Pi-hole Groups API

Manage DNS blocking groups.

Pi-hole Info API

Pi-hole instance information.

Open Collections 1

Open, tool-agnostic API collections (OpenAPI-derived and Bruno).

Pi-hole REST API

OPEN COLLECTION

Security Posture 2

Authentication, domain security, vulnerability disclosure, and trust-center signals.

Pi Hole Authentication

apiKey · 1 scheme

SECURITY

Pi Hole Domain Security

TLSv1.3 · HSTS · DMARC

SECURITY

Agentic Access 1

Recommended x-agentic-access execution contracts for AI agents.

Pi Hole Agentic Access

7 operations · 4 acting

7 operations · 4 acting

AGENTIC

Resources

Documentation 1

Reference material describing how the API behaves

Agent Surfaces 1

MCP servers, agent skills, and machine-readable catalogs

Build 2

SDKs, sample code, and the tooling you integrate with

Access & Security 2

Authentication, authorization, and security posture

Learn 1

Tutorials, courses, talks, and written guidance

Company 3

The organization behind the API

Other 2

Properties that don't map to a standard resource type

Source (apis.yml)

apis.yml Raw ↑
aid: pi-hole
name: Pi-hole
description: Pi-hole is an open source network-wide DNS sinkhole that blocks ads, tracking, and unwanted domains across all
  devices on a local network without requiring per-device software. It runs on lightweight hardware such as Raspberry Pi and
  offers a web admin interface plus a REST API (introduced in v6 via the pihole-FTL binary) for programmatic management of
  blocklists, allowlists, groups, clients, DNS settings, and live query logs.
type: Index
accessModel:
  pricing: unknown
  onboarding: self-serve
  trial: false
  try_now: false
  public: false
  label: Self-serve signup
  confidence: medium
  source:
  - authentication
  generated: '2026-07-22'
  method: derived
image: https://kinlane-images.s3.amazonaws.com/shared/apis-json/icons/pi-hole.png
tags:
- DNS
- Ad Blocking
- Network Security
- Privacy
- Open Source
- Self-Hosted
url: https://raw.githubusercontent.com/api-evangelist/pi-hole/refs/heads/main/apis.yml
created: '2026-05-11'
modified: '2026-05-11'
specificationVersion: '0.19'
apis:
- aid: pi-hole:pi-hole-auth-api
  name: Pi-hole Auth API
  description: Session authentication.
  humanURL: https://docs.pi-hole.net/api/
  baseURL: http://pi.hole/api
  tags:
  - Auth
  properties:
  - type: OpenAPI
    url: openapi/pi-hole-auth-api-openapi.yml
  - type: Documentation
    url: https://docs.pi-hole.net/api/
  - type: Authentication
    url: https://docs.pi-hole.net/api/auth/
- aid: pi-hole:pi-hole-dns-api
  name: Pi-hole DNS API
  description: DNS blocking configuration.
  humanURL: https://docs.pi-hole.net/api/
  baseURL: http://pi.hole/api
  tags:
  - DNS
  properties:
  - type: OpenAPI
    url: openapi/pi-hole-dns-api-openapi.yml
  - type: Documentation
    url: https://docs.pi-hole.net/api/
  - type: Authentication
    url: https://docs.pi-hole.net/api/auth/
- aid: pi-hole:pi-hole-groups-api
  name: Pi-hole Groups API
  description: Manage DNS blocking groups.
  humanURL: https://docs.pi-hole.net/api/
  baseURL: http://pi.hole/api
  tags:
  - Groups
  properties:
  - type: OpenAPI
    url: openapi/pi-hole-groups-api-openapi.yml
  - type: Documentation
    url: https://docs.pi-hole.net/api/
  - type: Authentication
    url: https://docs.pi-hole.net/api/auth/
- aid: pi-hole:pi-hole-info-api
  name: Pi-hole Info API
  description: Pi-hole instance information.
  humanURL: https://docs.pi-hole.net/api/
  baseURL: http://pi.hole/api
  tags:
  - Info
  properties:
  - type: OpenAPI
    url: openapi/pi-hole-info-api-openapi.yml
  - type: Documentation
    url: https://docs.pi-hole.net/api/
  - type: Authentication
    url: https://docs.pi-hole.net/api/auth/
common:
- type: AgenticAccess
  url: agentic-access/pi-hole-agentic-access.yml
- type: DomainSecurity
  url: security/pi-hole-domain-security.yml
- type: Authentication
  url: authentication/pi-hole-authentication.yml
- type: LinkedIn
  url: https://www.linkedin.com/company/the-pi-hole
- type: Website
  url: https://pi-hole.net
- type: Documentation
  url: https://docs.pi-hole.net
- type: GitHubOrganization
  url: https://github.com/pi-hole
- type: Source Code
  url: https://github.com/pi-hole/pi-hole
- type: FTL Source
  url: https://github.com/pi-hole/FTL
- type: Discourse Forum
  url: https://discourse.pi-hole.net
- type: Donate
  url: https://pi-hole.net/donate/
- type: Blog
  url: https://pi-hole.net/blog/
maintainers:
- FN: Kin Lane
  email: kin@apievangelist.com