Pi-hole API (v6) vs Landscape API
Pi-hole API (v6)by Pi-holePaid fromNot statedAccessHTTP, CLIAgentsNot agent-friendlyAPI QA score[SCORE]View API
Landscape APIby CanonicalPaid fromNot statedAccessHTTP, CLIAgentsNot agent-friendlyAPI QA score[SCORE]View API
Fact by fact
11 different4 stated by only one3 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/docsLandscape API: REST and legacy APIs of Landscape, Canonical's Ubuntu fleet management (computers, packages, security updates, remote scripts), included in an Ubuntu Pro subscription
AccessPi-hole API (v6): HTTP, CLILandscape API: HTTP, CLI
Still on salePi-hole API (v6): YesLandscape API: Yes
What they work on
BothConnected device
Only one of themPi-hole API (v6): DNS queryDomainGroupLandscape API: AlertRemote commandSoftware patch
Buying and paying
Agent gets a key alonePi-hole API (v6): Nosession from the admin password or an app password set in the instanceLandscape API: Nokey or token is created by a signed-in person
First call without a keyPi-hole API (v6): Yes'Most (but not all) endpoints require authentication'Landscape API: Noevery call needs a key or OAuth token
Agent can payPi-hole API (v6): Not statedLandscape API: Nobought by a person through web checkout or a sales contract; no agent payment protocol
Payment railsPi-hole API (v6): noneno purchaseLandscape API: Not stated
Payment protocolsPi-hole API (v6): noneno purchaseLandscape API: noneno x402, MPP, ACP or AP2 on pages read
Subscription requiredPi-hole API (v6): NofreeLandscape API: YesUbuntu Pro per machine per year
Smallest purchase (USD)Pi-hole API (v6): From $0freeLandscape API: From $25Workstation $25 per machine per year
Price published as dataPi-hole API (v6): Noprices only in the HTML pageLandscape API: Noprices only in the HTML page
Reading and signing up
Public pricesPi-hole API (v6): Yesfree, open source, donationsLandscape API: Yesplan prices on the public pricing page
Self-serve sign-upPi-hole API (v6): Yesinstall on own hardwareLandscape API: Yesaccount by web sign-up; key or OAuth app from account settings
Free usePi-hole API (v6): YesfreeLandscape API: YesUbuntu Pro 'Personal For up to 5 machines' free tier named
OpenAPIPi-hole API (v6): Yeseach Pi-hole serves its own API documentation at http://pi.hole/api/docsLandscape API: Not stated
Docs without loginPi-hole API (v6): Yesdocs.pi-hole.net publicLandscape API: YesAPI reference readable without an account
llms.txtPi-hole API (v6): Not statedLandscape API: Yesubuntu.com/llms.txt and canonical.com/llms.txt
Jobs both do
Open a job to see every API that does it.

