Token List

List of SPL tokens on Solana with on-chain metadata such as name, symbol, and decimals

Examples

Get metadata on a token

const axios = require("axios");

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

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

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