// 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); }) } });