Tokens
Retrieve information of a token by the given account hash.
get
https://api.solana.fm
/v0/tokens/{token-hash}
Returns the token information for the given token hash.
Request
Response
{
"status": "success",
"message": "Retrieved a token",
"result": {
"tokenHash": "BaconSBRjNckjeQCi6E2Ndg8wSmAwPgmfmZnF6ZmyFhz",
"data": {
"mint": "BaconSBRjNckjeQCi6E2Ndg8wSmAwPgmfmZnF6ZmyFhz",
"tokenName": "Bacon SBR (sunSBR Token of Appreciation)",
"symbol": "baconSBR",
"decimals": 6,
"description": "",
"logo": "https://raw.githubusercontent.com/solana-labs/token-list/main/assets/mainnet/BaconSBRjNckjeQCi6E2Ndg8wSmAwPgmfmZnF6ZmyFhz/logo.svg",
"tags": [],
"verified": "true",
"network": [
"mainnet"
],
"metadataToken": ""
}
}
}
Retrieve list of tokens indexed by tagged date.
get
https://api.solana.fm
/v0/tokens
Returns an array of tokens
Request
Response
https://api.solana.fm/v0/tokens?pageSize=50
Every response comes together with a cursor to the previous or next page, below is a sample request
https://api.solana.fm/v0/tokens?from=<previous_or_next_cursor>
https://api.solana.fm/v0/tokens?from=62ff1f2e177cf39a858e249f
{
"status": "success",
"message": "found 50 token(s).",
"result": {
"data": [
{
"tokenHash": "121bVXHjRVKoTVhwbN7iubM1UDR5GnE1mTKjMxV3HdXH",
"data": {
"mint": "121bVXHjRVKoTVhwbN7iubM1UDR5GnE1mTKjMxV3HdXH",
"tokenName": "Token 121b",
"symbol": "121bV",
"decimals": 6,
"description": "",
"logo": "",
"tags": [],
"verified": "false",
"network": [
"devnet"
],
"metadataToken": ""
}
},
...,
{
"tokenHash": "26FJFsZTbMBc9xgJ5Nz9myqD2Tkk7dsJX6cmf5Xncp29",
"data": {
"mint": "26FJFsZTbMBc9xgJ5Nz9myqD2Tkk7dsJX6cmf5Xncp29",
"tokenName": "Token 26FJ",
"symbol": "26FJF",
"decimals": 6,
"description": "",
"logo": "",
"tags": [],
"verified": "false",
"network": [
"devnet"
],
"metadataToken": ""
}
}
],
": {
"next": "62ff1f2e177cf39a858e249f",
"previous": null
}
}
}
Batch retrieve tokens with the ability to customise the query.
post
https://api.solana.fm
/v0/tokens
Returns an array of token information for the given token hashes.
Request
Response
{
"status": "success",
"message": "found 2 token(s).",
"result": [
{
"tokenHash": "12oQm6EX2yMCQgt4sdno8iEyBaHmMvvH9kJGoM8VaeYX",
"data": {
"mint": "12oQm6EX2yMCQgt4sdno8iEyBaHmMvvH9kJGoM8VaeYX",
"tokenName": "Token 12oQ",
"symbol": "12oQm",
"decimals": 6,
"description": "",
"logo": "",
"tags": [],
"verified": "false",
"network": [
"devnet"
],
"metadataToken": ""
}
},
{
"tokenHash": "BaconSBRjNckjeQCi6E2Ndg8wSmAwPgmfmZnF6ZmyFhz",
"data": {
"mint": "BaconSBRjNckjeQCi6E2Ndg8wSmAwPgmfmZnF6ZmyFhz",
"tokenName": "Bacon SBR (sunSBR Token of Appreciation)",
"symbol": "baconSBR",
"decimals": 6,
"description": "",
"logo": "https://raw.githubusercontent.com/solana-labs/token-list/main/assets/mainnet/BaconSBRjNckjeQCi6E2Ndg8wSmAwPgmfmZnF6ZmyFhz/logo.svg",
"tags": [],
"verified": "true",
"network": [
"mainnet"
],
"metadataToken": ""
}
}
]
}
Last modified 3mo ago