Find an API

Search public APIs with auth details & Postman guides

← All APIs

PowerDNS Authoritative HTTP API

powerdns · Developer Tools

Developer Tools No Auth Free & Open developer_tools

PowerDNS Authoritative HTTP API API

Authentication

No authentication requiredFree to use with no key needed.

Sample Requests

GET List all servers

List all servers

https://api.apis.guru/v2/specs/powerdns.local/0.0.13/servers

Hover any highlighted part to learn what it does

curl -X GET "https://api.apis.guru/v2/specs/powerdns.local/0.0.13/servers"
import requests
response = requests.get(
    "https://api.apis.guru/v2/specs/powerdns.local/0.0.13/servers",
)
print(response.json())
const url = 'https://api.apis.guru/v2/specs/powerdns.local/0.0.13/servers';

const response = await fetch(url); 
const data = await response.json();
console.log(data);
package main

import (
	"fmt"
	"io"
	"net/http"
)

func main() {
	targetURL := "https://api.apis.guru/v2/specs/powerdns.local/0.0.13/servers"
	req, _ := http.NewRequest("GET", targetURL, nil)

	client := &http.Client{}
	resp, _ := client.Do(req)
	defer resp.Body.Close()
	body, _ := io.ReadAll(resp.Body)
	fmt.Println(string(body))
}
require "net/http"
require "json"

uri = URI("https://api.apis.guru/v2/specs/powerdns.local/0.0.13/servers")

http = Net::HTTP.new(uri.host, uri.port)
http.use_ssl = uri.scheme == "https"

req = Net::HTTP::Get.new(uri)

res = http.request(req)
puts JSON.parse(res.body)
<?php
$url = "https://api.apis.guru/v2/specs/powerdns.local/0.0.13/servers";
$opts = ["http" => [
    "method" => "GET",
]];
$ctx = stream_context_create($opts);
$res = file_get_contents($url, false, $ctx);
print_r(json_decode($res, true));
GET Search the data inside PowerDNS

Search the data inside PowerDNS for search_term and return at most max_results. This includes zones, records and comments. The * character can be used in search_term as a wildcard character and the ? character can be used as a wildcard for a single character.

https://api.apis.guru/v2/specs/powerdns.local/0.0.13/servers/{server_id}/search-data?q=test&max=1&object_type=example

Hover any highlighted part to learn what it does

curl -X GET "https://api.apis.guru/v2/specs/powerdns.local/0.0.13/servers/{server_id}/search-data?q=test&max=1&object_type=example"
import requests
params = {
    "q": "test",
    "max": "1",
    "object_type": "example"
}
response = requests.get(
    "https://api.apis.guru/v2/specs/powerdns.local/0.0.13/servers/{server_id}/search-data",
    params=params,
)
print(response.json())
const url = new URL('https://api.apis.guru/v2/specs/powerdns.local/0.0.13/servers/{server_id}/search-data');
url.searchParams.set('q', 'test');
url.searchParams.set('max', '1');
url.searchParams.set('object_type', 'example');

const response = await fetch(url); 
const data = await response.json();
console.log(data);
package main

import (
	"fmt"
	"io"
	"net/http"
	"net/url"
)

func main() {
	baseURL, _ := url.Parse("https://api.apis.guru/v2/specs/powerdns.local/0.0.13/servers/{server_id}/search-data")
	q := baseURL.Query()
	q.Set("q", "test")
	q.Set("max", "1")
	q.Set("object_type", "example")
	baseURL.RawQuery = q.Encode()
	targetURL := baseURL.String()
	req, _ := http.NewRequest("GET", targetURL, nil)

	client := &http.Client{}
	resp, _ := client.Do(req)
	defer resp.Body.Close()
	body, _ := io.ReadAll(resp.Body)
	fmt.Println(string(body))
}
require "net/http"
require "json"

uri = URI("https://api.apis.guru/v2/specs/powerdns.local/0.0.13/servers/{server_id}/search-data")
uri.query = URI.encode_www_form({
  "q" => "test",
  "max" => "1",
  "object_type" => "example"
})

http = Net::HTTP.new(uri.host, uri.port)
http.use_ssl = uri.scheme == "https"

req = Net::HTTP::Get.new(uri)

res = http.request(req)
puts JSON.parse(res.body)
<?php
$url = "https://api.apis.guru/v2/specs/powerdns.local/0.0.13/servers/{server_id}/search-data?" . http_build_query([
    "q" => "test",
    "max" => "1",
    "object_type" => "example"
]);
$opts = ["http" => [
    "method" => "GET",
]];
$ctx = stream_context_create($opts);
$res = file_get_contents($url, false, $ctx);
print_r(json_decode($res, true));
GET Query statistics.

Query PowerDNS internal statistics.

https://api.apis.guru/v2/specs/powerdns.local/0.0.13/servers/{server_id}/statistics?statistic=example&includerings=true

Hover any highlighted part to learn what it does

curl -X GET "https://api.apis.guru/v2/specs/powerdns.local/0.0.13/servers/{server_id}/statistics?statistic=example&includerings=true"
import requests
params = {
    "statistic": "example",
    "includerings": "true"
}
response = requests.get(
    "https://api.apis.guru/v2/specs/powerdns.local/0.0.13/servers/{server_id}/statistics",
    params=params,
)
print(response.json())
const url = new URL('https://api.apis.guru/v2/specs/powerdns.local/0.0.13/servers/{server_id}/statistics');
url.searchParams.set('statistic', 'example');
url.searchParams.set('includerings', 'true');

const response = await fetch(url); 
const data = await response.json();
console.log(data);
package main

import (
	"fmt"
	"io"
	"net/http"
	"net/url"
)

func main() {
	baseURL, _ := url.Parse("https://api.apis.guru/v2/specs/powerdns.local/0.0.13/servers/{server_id}/statistics")
	q := baseURL.Query()
	q.Set("statistic", "example")
	q.Set("includerings", "true")
	baseURL.RawQuery = q.Encode()
	targetURL := baseURL.String()
	req, _ := http.NewRequest("GET", targetURL, nil)

	client := &http.Client{}
	resp, _ := client.Do(req)
	defer resp.Body.Close()
	body, _ := io.ReadAll(resp.Body)
	fmt.Println(string(body))
}
require "net/http"
require "json"

uri = URI("https://api.apis.guru/v2/specs/powerdns.local/0.0.13/servers/{server_id}/statistics")
uri.query = URI.encode_www_form({
  "statistic" => "example",
  "includerings" => "true"
})

http = Net::HTTP.new(uri.host, uri.port)
http.use_ssl = uri.scheme == "https"

req = Net::HTTP::Get.new(uri)

res = http.request(req)
puts JSON.parse(res.body)
<?php
$url = "https://api.apis.guru/v2/specs/powerdns.local/0.0.13/servers/{server_id}/statistics?" . http_build_query([
    "statistic" => "example",
    "includerings" => "true"
]);
$opts = ["http" => [
    "method" => "GET",
]];
$ctx = stream_context_create($opts);
$res = file_get_contents($url, false, $ctx);
print_r(json_decode($res, true));

Postman Setup Guide

Get Postman ↗
  1. See official documentation for authentication and setup.

What can you build with PowerDNS Authoritative HTTP API?

PowerDNS Authoritative HTTP API is a Developer Tools API. Developers commonly use developer tools APIs for:

  • automating code review and quality checks
  • integrating CI/CD pipelines and build systems
  • managing feature flags and A/B tests
  • monitoring errors and application performance
  • generating and validating test data

No authentication required. This API is open — no signup or key needed. Ideal for quick prototypes and public-facing features. PowerDNS Authoritative HTTP API is free to use, making it a low-risk choice to experiment with.

New to APIs? Read our beginner's guide

Open documentation ↗