get https://api.solana.fm/v1/tokens//info
This endpoint is still in the Beta stage.
This endpoint only returns you the specified token data that is retrieved from both on and off chain
Results
Valid Response
<object>
- A JSON object containing the following fields:
Example of a valid response:
{
"id": "7atgF8KQo4wJrD5ATGX7t1V2zVvykPJbFfNeVf1icFv1",
"info": {
"decimals": 2,
"extensions": [
{
"extension": "transferFeeConfig",
"state": {
"newerTransferFee": {
"epoch": 551,
"maximumFee": 99999999999999904,
"transferFeeBasisPoints": 400
},
"olderTransferFee": {
"epoch": 551,
"maximumFee": 99999999999999904,
"transferFeeBasisPoints": 400
},
"transferFeeConfigAuthority": null,
"withdrawWithheldAuthority": null,
"withheldAmount": 46075413667825141
}
}
],
"freezeAuthority": null,
"isInitialized": true,
"mintAuthority": null,
"supply": "99995300644040582"
},
"slot": 261024648,
"type": null
}
Invalid Response
<object>
- a JSON object containing the following fields if the requested account doesn't exist
code:
<integer>, The error codemessage:
<String>, An error message to indicate which part of the query went wrongstatus:
<String>, The response status following the error code- 400 = Bad Request (client side)
- 500 = Internal Server Error (server side)