/domains

This GET route fetches domain items for which dAppling is monitoring nameserver changes.

Request

The request object must be formatted as a GET request. The only required header is for Authentication.

Examples

curl --location 'https://dappling.network/api/v1/domains' \
--header 'Authorization: {DAPPLING_AUTH_TOKEN}'
const myHeaders = new Headers();
myHeaders.append("Authorization", {DAPPLING_AUTH_TOKEN});

const requestOptions = {
  method: "GET",
  headers: myHeaders
};

fetch("https://dappling.network/api/v1/domains", requestOptions)
  .then((response) => response.json())
  .then((result) => console.log(result))
  .catch((error) => console.error(error));

Response

The /domains endpoint returns a 200 status code with an array of the 25 most recent nameserver changes for each domain dAppling is tracking.

Structure

  • domain: domain name of the record

  • Nameservers: an array that contains objects with details about the nameservers associated with the domain

    • Within each "Nameservers" object:

      • updatedAt: the last update time of the nameserver records for the domain

      • records: an array of strings, each representing a nameserver record associated with the domain. These are the addresses of the DNS servers that manage the DNS records for the domain.

Example

🌵Fun Fact: The orange carrot was developed in the 17th century in the Netherlands. Before that, carrots were primarily purple, white, or yellow.

Last updated

Was this helpful?