Skip to main content
Version: 2.2

Get token details

Don't have an API key yet?

Get access to the Discovery API

Contact Sales
GEThttps://deep-index.moralis.io/api/v2.2/discovery/token

Get token details

QUERY PARAMS
chainstringrequired
The chain to query
token_addressstringrequired
The address of the token
Responses
API KEY
// Dependencies to install:
// $ npm install node-fetch --save
// add "type": "module" to package.json

import fetch from 'node-fetch';

const options = {
method: 'GET',
headers: {
accept: 'application/json',
'X-API-Key': 'YOUR_API_KEY'
},
};

fetch('https://deep-index.moralis.io/api/v2.2/discovery/token?chain=eth&token_address=0x9f8f72aa9304c8b593d555f12ef6589cc3a579a2', options)
.then(response => response.json())
.then(response => console.log(response))
.catch(err => console.error(err));
Response Example
[
{
"chain_id": "0x1",
"token_address": "0x9f8f72aa9304c8b593d555f12ef6589cc3a579a2",
"token_name": "Maker",
"token_symbol": "MKR",
"token_logo": "string",
"price_usd": "",
"token_age_in_days": "",
"on_chain_strength_index": "",
"security_score": 88,
"market_cap": 1351767630.85,
"fully_diluted_valuation": 1363915420.28,
"twitter_followers": 255217,
"holders_change": {
"1h": 14,
"1d": 14,
"1w": 162,
"1M": 162
},
"liquidity_change_usd": {
"1h": 14,
"1d": 14,
"1w": 162,
"1M": 162
},
"experienced_net_buyers_change": {
"1h": 14,
"1d": 14,
"1w": 162,
"1M": 162
},
"volume_change_usd": {
"1h": 14,
"1d": 14,
"1w": 162,
"1M": 162
},
"net_volume_change_usd": {
"1h": 14,
"1d": 14,
"1w": 162,
"1M": 162
},
"price_percent_change_usd": {
"1h": 14,
"1d": 14,
"1w": 162,
"1M": 162
}
}
]