I couldn’t find any quick references about accessing the Pihole API so I created this page. Pihole is a great app for blocking internet advertising that was originally designed to be run on a raspberry pi. It blocks known advertisers’ domains at the DNS level by effectively null routing requests destined to serve ads. It can be run on VMs, Raspberry Pis and bare metal servers. Here are the steps to access the pihole’s rest api. I’m using curl in this example, but you can integrate it ...