Fetch token supply, decimals, authorities, and available Metaplex or Token-2022 metadata for a Solana mint.
GET https://api.solanastreaming.com/tokenmetadata/{token_address}
Replace {token_address} with the token mint address in base58 format.
Include your API key from the dashboard in the X-API-KEY request
header.
curl "https://api.solanastreaming.com/tokenmetadata/So11111111111111111111111111111111111111112" \ -H "X-API-KEY: YOUR_API_KEY"
A successful request returns a JSON object. Metadata may be null when the mint has no metadata.
{
"decimals": 9,
"supply": "1000000000000000000",
"metadata": {
"name": "Example Token",
"symbol": "EXAMPLE",
"logo": "https://example.com/token.png",
"uri": "https://example.com/metadata.json",
"socials": {
"website": "https://example.com",
"x": "https://x.com/example",
"telegram": "https://t.me/example"
}
},
"mintAuthority": null,
"freezeAuthority": null
}
decimals: number of decimal places for the token.supply: raw token supply as a string.metadata: optional token name, symbol, logo URL, metadata URI, and social links.mintAuthority and freezeAuthority: authority addresses, or null
when unset.400: the mint address is missing or invalid.401: the API key is missing or invalid.429: the request rate or subscription usage limit has been reached.500: the server could not complete the request.