Token Stats

SPL Token stats contains descriptive statistics on SPL tokens and metadata such as decimals and symbol looking back over various granularities such as

  • active users
  • new users
  • deposits / withdrawals
  • sellers
  • buyers
  • volume
  • volumeChange

Examples

Get weekly stats for USDC

const axios = require("axios");

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

async function getWeeklyStats() {
    const { data } = await axios.post(
        url,
        {
			"mint": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
			"granularity": "ONE_WEEK"
		},
        {
            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!