Token Info and Technical Analyst Indicator

Retrieve token information

GET /listings/:token_id

This API provides detailed information about a token, including its current market data, trading volume, and historical price changes. It covers various aspects of Bitcoin's market performance, and technical analysis.

Example on DeFi Lens: https://defilens.ai/tokens/bitcoin/pattern-detection

Headers

NameTypeDescription

x-partner-key

string

Your API Key

Ex: xxxx

Body

NameTypeDescription

token_id

string

The unique identifier of the token is being requested. Ex: bitcoin

Example request

curl -X 'GET' \
  'https://api.defilens.ai/listings/bitcoin' \
  -H 'accept: */*'

Response

{
    "data": {
        "id": "bitcoin",
        "categories": [
            "Mineable",
            "PoW",
            "SHA-256",
            "Store Of Value",
            "State Channel",
            "Coinbase Ventures Portfolio",
            "Three Arrows Capital Portfolio",
            "Polychain Capital Portfolio",
            "Binance Labs Portfolio",
            "Blockchain Capital Portfolio",
            "BoostVC Portfolio",
            "CMS Holdings Portfolio",
            "DCG Portfolio",
            "DragonFly Capital Portfolio",
            "Electric Capital Portfolio",
            "Fabric Ventures Portfolio",
            "Framework Ventures Portfolio",
            "Galaxy Digital Portfolio",
            "Huobi Capital Portfolio",
            "Alameda Research Portfolio",
            "a16z Portfolio",
            "1Confirmation Portfolio",
            "Winklevoss Capital Portfolio",
            "USV Portfolio",
            "Placeholder Ventures Portfolio",
            "Pantera Capital Portfolio",
            "Multicoin Capital Portfolio",
            "Paradigm Portfolio",
            "Bitcoin Ecosystem",
            "FTX Bankruptcy Estate "
        ],
        "circulating_supply": 0.019710618,
        "current_price": "55881.99",
        "exchanges": [
            "Bybit",
            "MEXC",
            "Indodax",
            "CoinEx",
            "HashKey Exchange",
            "BitMart",
            "OKX",
            "Gemini",
            "Upbit",
            "Crypto.com Exchange",
            "Coinbase Exchange",
            "HTX",
            "Bitfinex",
            "Gate.io",
            "Binance",
            "Kraken",
            "XT.COM",
            "KuCoin",
            "Zedcex Exchange",
            "CoinDCX"
        ],
        "fully_diluted_valuation": 1171.7153313141398,
        "image": "https://s2.coinmarketcap.com/static/img/coins/64x64/1.png",
        "infinite_supply": false,
        "is_active": true,
        "last_updated": "2024-08-06T02:09:00.000Z",
        "market_cap": 1101.198601285307,
        "market_cap_change_percentage_24h": -0.15919317999389457,
        "market_cap_dominance": 55.7424,
        "market_cap_rank": 1,
        "max_supply": 21000000,
        "name": "Bitcoin",
        "price_change_percentage_24h": -0.23817174,
        "price_percent_change_1h": -0.39933115,
        "price_percent_change_24h": 2.77104194,
        "price_percent_change_30d": 13.7054855,
        "price_percent_change_60d": -1.28217799,
        "price_percent_change_7d": 0.55685367,
        "price_percent_change_90d": -2.92286148,
        "symbol": "BTC",
        "tags": [
            "mineable",
            "pow",
            "sha-256",
            "store-of-value",
            "state-channel",
            "coinbase-ventures-portfolio",
            "three-arrows-capital-portfolio",
            "polychain-capital-portfolio",
            "binance-labs-portfolio",
            "blockchain-capital-portfolio",
            "boostvc-portfolio",
            "cms-holdings-portfolio",
            "dcg-portfolio",
            "dragonfly-capital-portfolio",
            "electric-capital-portfolio",
            "fabric-ventures-portfolio",
            "framework-ventures-portfolio",
            "galaxy-digital-portfolio",
            "huobi-capital-portfolio",
            "alameda-research-portfolio",
            "a16z-portfolio",
            "1confirmation-portfolio",
            "winklevoss-capital-portfolio",
            "usv-portfolio",
            "placeholder-ventures-portfolio",
            "pantera-capital-portfolio",
            "multicoin-capital-portfolio",
            "paradigm-portfolio",
            "bitcoin-ecosystem",
            "ftx-bankruptcy-estate"
        ],
        "total_supply": 0.019710618,
        "total_volume": 99054272688.31746,
        "updated_at": "2024-08-06T02:00:00.000Z",
        "volume_change_24h": 117.373,
        "supply_percentage_change_24h": 100,
        "ohlc_updated_time": "",
        "middle_bband_5m": -0.03387151309058066,
        "single_pattern_5m": [
            "bullish_hammer",
            "bullish_inverted_hammer"
        ],
        "ta_5m_updated_at": "2024-08-06 02:10:00+00",
        "rsi14_5m": 56.94075992127109,
        "upper_bband_5m": -0.6897636700663923,
        "rsi7_5m": 53.847143930346256,
        "macd_5m": "Cross Below",
        "tripple_pattern_5m": [],
        "chartpattern_5m": [
            "Ascending Triangle"
        ],
        "sma5_5m": 0.00946781298943001,
        "rsi25_5m": 57.78141114542897,
        "double_pattern_5m": [],
        "sma20_5m": -0.03387151309058066,
        "sma100_5m": 2.337293629805692,
        "symbol_id": "bitcoin",
        "lower_bband_5m": 0.6307418923044223,
        "rsi14_15m": 62.38483237838625,
        "rsi25_15m": 58.64445116330731,
        "tripple_pattern_15m": [],
        "macd_15m": "Cross Above",
        "sma100_15m": 4.408801818618364,
        "middle_bband_15m": 1.3229542035929467,
        "rsi7_15m": 64.09828685109885,
        "double_pattern_15m": [],
        "chartpattern_15m": [
            "Ascending Triangle",
            "Wedge Up",
            "Channel Up"
        ],
        "upper_bband_15m": -1.018922130486173,
        "sma20_15m": 1.3229542035929467,
        "sma5_15m": -0.07813065514305023,
        "lower_bband_15m": 3.778332815774166,
        "ta_15m_updated_at": "2024-08-06 02:00:00+00",
        "single_pattern_15m": [
            "bullish_hammer",
            "basic_doji",
            "bullish_inverted_hammer"
        ],
        "double_pattern_1w": [],
        "rsi25_1w": 69.96409000616093,
        "tripple_pattern_1w": [],
        "chartpattern_1w": [
            "Ascending Triangle",
            "Wedge Up",
            "Channel Up"
        ],
        "sma100_1w": 100.89062564402467,
        "sma5_1w": 1.5891995583556182,
        "sma20_1w": 9.658000116425853,
        "lower_bband_1w": 54.37399467750189,
        "ta_1w_updated_at": "2024-06-03 00:00:00+00",
        "rsi14_1w": 70.12530515133963,
        "middle_bband_1w": 9.658000116425853,
        "rsi7_1w": 68.58102812804152,
        "single_pattern_1w": [
            "bullish_inverted_hammer",
            "basic_doji",
            "bullish_hammer"
        ],
        "upper_bband_1w": -14.971397652582736,
        "macd_1w": "Cross Below",
        "rsi7_24h": 13.038064928526383,
        "macd_24h": "Cross Below",
        "tripple_pattern_24h": [],
        "rsi14_24h": 26.65766043954733,
        "ta_24h_updated_at": "2024-08-05 00:00:00+00",
        "middle_bband_24h": -15.859019137739105,
        "chartpattern_24h": [],
        "double_pattern_24h": [],
        "rsi25_24h": 35.17592617406999,
        "sma100_24h": -15.277385000014041,
        "sma20_24h": -15.859019137739105,
        "upper_bband_24h": -24.239053678565693,
        "lower_bband_24h": -5.394567005945531,
        "single_pattern_24h": [
            "basic_doji",
            "bullish_inverted_hammer"
        ],
        "sma5_24h": -9.04098746728257,
        "rsi14_1h": 54.84620837359089,
        "rsi7_1h": 63.60650947215153,
        "single_pattern_1h": [
            "bullish_hammer",
            "basic_doji"
        ],
        "middle_bband_1h": 4.57473034205312,
        "ta_1h_updated_at": "2024-08-06 01:00:00+00",
        "upper_bband_1h": -1.1598456844248517,
        "macd_1h": "Cross Above",
        "chartpattern_1h": [
            "Wedge Up",
            "Channel Up"
        ],
        "rsi25_1h": 48.801717611574865,
        "tripple_pattern_1h": [],
        "sma5_1h": 1.503071049636066,
        "double_pattern_1h": [],
        "lower_bband_1h": 11.015716506521864,
        "sma20_1h": 4.57473034205312,
        "sma100_1h": -6.425223147793386,
        "ath": 18.798036090054644,
        "atl": 127614758.12748525,
        "apy": 0.00024,
        "tvl": 3351127,
        "day_volatility": 0.0595,
        "holders_change_percentage_24h": null,
        "number_of_holders": null,
        "triangle_pattern_15m": [],
        "head_shoulder_pattern_15m": [],
        "multiple_top_bottom_pattern_15m": [],
        "double_top_bottom_pattern_15m": [],
        "wedge_pattern_15m": [],
        "channel_pattern_15m": [],
        "triangle_pattern_24h": [],
        "double_top_bottom_pattern_24h": [
            "double_bottom"
        ],
        "multiple_top_bottom_pattern_24h": [],
        "head_shoulder_pattern_24h": [],
        "channel_pattern_24h": [],
        "wedge_pattern_24h": [],
        "double_top_bottom_pattern_1h": [],
        "triangle_pattern_1h": [],
        "channel_pattern_1h": [],
        "head_shoulder_pattern_1h": [],
        "multiple_top_bottom_pattern_1h": [],
        "wedge_pattern_1h": [],
        "market_cap_percentage_change_7d": 0.56544471013473,
        "volume_percentage_change_7d": -36.546232061546114,
        "double_top_bottom_pattern_5m": [],
        "channel_pattern_5m": [],
        "triangle_pattern_5m": [],
        "head_shoulder_pattern_5m": [],
        "multiple_top_bottom_pattern_5m": [],
        "wedge_pattern_5m": [],
        "long_short_ratio_1h": -2.814993954050777,
        "market_cap_change_percentage_1w": -15.966601591031255,
        "price_percent_change_1w": -15.91831908,
        "open_interest": 4166522233.8621,
        "short_liquidation_4h": 698380,
        "short_liquidation_1h": 273710,
        "open_interest_change_4h": 4.061456056663645,
        "volume_change_1w": 161.84795365293078,
        "short_liquidation_24h": 9920000,
        "github_commit": 46164,
        "long_liquidation_4h": 2250000,
        "funding_rate": 0.003566,
        "long_short_ratio_24h": -21.35504325022505,
        "open_interest_change_24h": -4.517795878392699,
        "long_liquidation_1h": 293010,
        "open_interest_change_1h": -0.16304137762663262,
        "long_liquidation_24h": 30060000,
        "long_short_ratio_4h": 0.5404053039779907,
        "candlestick_pattern_15m": [
            "bullish_hammer",
            "basic_doji",
            "bullish_inverted_hammer"
        ],
        "candlestick_pattern_5m": [
            "bullish_hammer",
            "bullish_inverted_hammer"
        ],
        "candlestick_pattern_1h": [
            "bullish_hammer",
            "basic_doji"
        ],
        "candlestick_pattern_24h": [
            "basic_doji",
            "bullish_inverted_hammer"
        ],
        "candlestick_pattern_1w": [
            "bullish_inverted_hammer",
            "basic_doji",
            "bullish_hammer"
        ],
        "multiple_top_bottom_pattern_4h": [],
        "wedge_pattern_4h": [],
        "triangle_pattern_4h": [],
        "head_shoulder_pattern_4h": [],
        "channel_pattern_4h": [],
        "double_top_bottom_pattern_4h": []
    },
    "generalInfo": {
        "description": "Bitcoin (BTC) is a cryptocurrency launched in 2010. Users are able to generate BTC through the process of mining. Bitcoin has a current supply of 19,735,965. The last known price of Bitcoin is 54,356.3024674 USD and is down -8.39 over the last 24 hours. It is currently trading on 11624 active market(s) with $102,889,237,624.07 traded over the last 24 hours. More information can be found at https://bitcoin.org/.",
        "websites": [
            "https://bitcoin.org/"
        ],
        "explorers": [
            "https://blockchain.info/",
            "https://live.blockcypher.com/btc/",
            "https://blockchair.com/bitcoin",
            "https://explorer.viabtc.com/btc",
            "https://www.okx.com/web3/explorer/btc"
        ],
        "community": {
            "twitter": null,
            "reddit": "https://reddit.com/r/bitcoin",
            "facebook": null,
            "github": "https://github.com/bitcoin/bitcoin",
            "telegram": null
        },
        "chains": [],
        "categories": [
            "Mineable",
            "PoW",
            "SHA-256",
            "Store Of Value",
            "State Channel",
            "Coinbase Ventures Portfolio",
            "Three Arrows Capital Portfolio",
            "Polychain Capital Portfolio",
            "Binance Labs Portfolio",
            "Blockchain Capital Portfolio",
            "BoostVC Portfolio",
            "CMS Holdings Portfolio",
            "DCG Portfolio",
            "DragonFly Capital Portfolio",
            "Electric Capital Portfolio",
            "Fabric Ventures Portfolio",
            "Framework Ventures Portfolio",
            "Galaxy Digital Portfolio",
            "Huobi Capital Portfolio",
            "Alameda Research Portfolio",
            "a16z Portfolio",
            "1Confirmation Portfolio",
            "Winklevoss Capital Portfolio",
            "USV Portfolio",
            "Placeholder Ventures Portfolio",
            "Pantera Capital Portfolio",
            "Multicoin Capital Portfolio",
            "Paradigm Portfolio",
            "Bitcoin Ecosystem",
            "FTX Bankruptcy Estate "
        ]
    }
}

Data return

NameTypeDescription
single_pattern_5m

Array

Single candlestick patterns for the 5-minute interval.

double_pattern_5m

Array

Double candlestick patterns for the 5-minute interval.

tripple_pattern_5m

Array

Triple candlestick patterns for the 5-minute interval.

ta_5m_updated_at

Date

Timestamp of the last technical analysis update for the 5-minute interval.

chartpattern_5m

Array

Chart patterns for the 5-minute interval.

candlestick_pattern_5m

Array

Summary of candlestick patterns in the most recent 30 candles with a 5-minute interval.

upper_bband_5m

Float

Upper Bollinger Band indicator for the 5-minute interval.

middle_bband_5m

Float

Middle Bollinger Band indicator for the 5-minute interval.

lower_bband_5m

Float

Lower Bollinger Band indicator for the 5-minute interval.

rsi14_5m

Float

RSI 14 indicator for the 5-minute interval.

rsi7_5m

Float

RSI 7 indicator for the 5-minute interval.

macd_5m

Float

MACD indicator for the 5-minute interval.

sma5_5m

Float

SMA 5 indicator for the 5-minute interval.

rsi25_5m

Float

RSI 25 indicator for the 5-minute interval.

sma20_5m

Float

SMA 20 indicator for the 5-minute interval.

sma100_5m

Float

SMA 100 indicator for the 5-minute interval.

Last updated