Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.superlink.me/llms.txt

Use this file to discover all available pages before exploring further.

Obtain aggregated counts of subdomains created per day for specified parent domain
// See documentation to set up the client first

let apiInstance = new superlink.SubdomainApi();
let parentDomain = "supertest.me";
let opts = {
  'paginationToken': null,
  'pageSize': 100
}

apiInstance.subdomainPerDay(parentDomain, opts, (error, data, response) => {
  if (error) {
    console.error(error);
  } else {
    console.log(`${data.nextPaginationToken}`)
    console.log(`${data.total}`)
    data.aggregates.forEach(perDay => {
      console.log(perDay.date);
      console.log(perDay.count);
    })
  }
});