Token New Users Over Time

Shows count of new publickeys either sending or recieiving a token mint over time per day.

Examples

Track daily new users for USDC

const axios = require("axios");

const url = "https://rest-api.hellomoon.io/v0/token/daily_new_purchases";

async function getDailyActiveUsers() {
    const { data } = await axios.post(
        url,
        {
			"mint": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v"
		},
        {
            headers: {
                Accept: "application/json",
                "Content-Type": "application/json",
                Authorization: "Bearer <your_token>",
            },
        }
    );

    console.log(data);
}

Get new users on a specific day for DUST

const axios = require("axios");

const url = "https://rest-api.hellomoon.io/v0/token/daily_new_purchases";

async function getActiveUsersByDay() {
    const { data } = await axios.post(
        url,
        {
			"mint": "DUSTawucrTsGU8hcqRdHDCbuYhCPADMLM2VcCb8VnFnQ",
			"day": "2022-05-24T00:00:00.000Z"
		},
        {
            headers: {
                Accept: "application/json",
                "Content-Type": "application/json",
                Authorization: "Bearer <your_token>",
            },
        }
    );

    console.log(data);
}
Language
Credentials
Bearer
JWT
Click Try It! to start a request and see the response here!