Pi-hole REST API
REST API exposed by the pihole-FTL binary (v6+) for managing DNS blocklists, allowlists, groups, clients, configuration, and query logs. Returns JSON, uses standard HTTP verbs and status codes, and requires API key authentication for most endpoints. Self-hosted OpenAPI/Swagger documentation is served by each Pi-hole instance at /api/docs.