👀Product Overview
Brief description of all APIs
APIs Overview
The API services provided by Blockin.ai are divided into 7 categories. A brief description is as follows:
Chain
Mainly query the chain covered by Blockin.ai.
Query available chain list (Query available chain list supported by Blockin.ai)
Protocol
Mainly query the protocols supported by Blockin.ai, the basic information of the protocols, etc.
Query available protocol (Query available protocol supported by Blockin.ai)
Query available protocol list (Query available protocol list supported by Blockin.ai)
Query all available protocol list (Query available protocol list supported on all chains by Blockin.ai)
Query available tagInfo list (Query available tagInfo list supported by Blockin.ai, such as DEX, AMM, Lending, etc.)
Query available protocol detail (Query available protocol supported by Blockin.ai)
Query available protocol detail list (Query available protocol list of tagged protocols supported by Blockin.ai)
Query all available protocol detail list (Query all available protocol list on all chains supported by Blockin.ai)
Query liquidity change list by chain name and pool address (Query the adding and removing liquidity list of a pool)
Query swap list by chain name and pool address (Query the swap list of a pool)
User
Mainly query the user's investment portfolios including DeFi protocols , NFT , token and transaction records.
Query used chain by user address (Query user used chain)
Query chain balance by chain name and user address (Query chain balance of user)
Query protocol portfolio list by chain name and user address (Query protocol portfolio of user)
Query protocol portfolios on all chains by user address (Query protocol portfolios on all chains of user)
Query protocol top holders by chain name and protocol name (Query the list of top holders of a protocol)
Query simple protocol list by chain name and user address (Query assets usd value for each protocol, net asset, total asset and debt)
Query simple protocol list on all chains by user address (Query assets usd value for each protocol, net asset, total asset and debt)
Query token top holders by chain name and token address (Query the list of top holders of a token)
Query history list by chain name and user address (Query user history list)
Query all history list by user address (Query all transaction records of the chain supported by Blockin.ai through the user address)
Query User history - Advanced edition (Query user's history (Add address lable and transaction hash) )
Query 24-hour net assets curve by chain name and user address (Query user 24h net assets(wallet + protocols) curve on a single chain)
Query 24-hour net assets curve on all supported chains by user address (Query user 24h net assets(wallet + protocols) curve on multiple chains)
Query 24-hour protocol portfolios curve by chain name and user address (Query user 24h protocol portfolios curve on a single chain)
Query 24-hour protocol portfolios curve on all supported chains by user address (Query user 24h protocol portfolios curve on multiple chains)
Query 24-hour wallet curve by chain name and user address (Query user 24h wallet curve on a single chain)
Query 24-hour wallet curve on all supported chains by user address (Query user 24h wallet curve on multiple chains)
Token
Token price.
Query token info (Query token information, such as name, abbreviation, price, etc., by the chain name and token address)
Query token info list (Query token information, such as name, abbreviation, price, etc., by the chain name and token address list)
Query token market info list (Query currency prices)
Query token kline (Query token kline)
Subscribe to token kline data (Real-time push of the latest kline data)
Unsubscribe token kline (Unsubscribe kline)
Query pool list by chain name and token address (Query the relevant pool list based on the token, and the top 100 are queried by default)
Query liquidity change list by chain name and token address (Query the adding and removing liquidity list of a pool)
Query swap list by chain name and token address (Query the swap list of a pool)
Query real-time exchange rate (Query real-time exchange rate)
Query real-time token price (Query real-time token price)
Query LP_token info (Query LP's token info through token address on the chain and protocol supported by Blockin)
Query symbol's price from foreign exchange (Query price of symbols from foreign exchange according to symbol_list)
NFT
Mainly query collection metadata, statistical data and item data, etc.
Query collection metadata by chain name and collection address (Query the metadata information of collection)
Query item info list by chain name and collection address (Query item list of collection)
Query item metadata by chain name, collection address and item id (Query item details by collection address and item ID, such as attributes, holders, etc.)
Query inscriptions metadata on Bitcoin by inscriptions id (Query metadata for an NFT on the Bitcoin)
Refresh collection metadata (Refresh the metadata for an NFT)
Mirror
Mainly used to obtain on-chain asset data of a user at a point in time in the past based on timestamp or block number.
Query historical token list (Query historical token list by chain name, user address and mirror time or block number)
Query historical protocol portfolios (Query historical protocol portfolios by chain name, protocol name, user address and mirror time or block number)
Query historical assets (Query historical assets(including token list and protocol portfolios) on one chain by chain name, user address and mirror time or block number)
Query historical token list on all supported chains (Query historical token list on multiple chains by user address and mirror time(Block number is unsupported because of multiple chains). You can also specify chain names)
Query historical protocol portfolios on all supported chains (Query historical protocol portfolio on multiple chains by user address and mirror time(Block number is unsupported because of multiple chains). You can also specify chain names and protocol name)
Query historical assets on all supported chains (Query historical assets(including token list and protocol portfolios) on multiple chains by user address and mirror time(Block number is unsupported because of multiple chains). You can also specify chain names)
Subscription
It mainly provides two services: fixed time query API subscription and history subscription.
Create Fixed-time subscription, Update Fixed-time subscription, Delete Fixed-time subscription, Fixed-time subscription Query, Fixed time data query, please contact telegram: @lylynn0308
Socket Subscription Connection (Websocket connection)
Subscription notify (Please send a receipt to us after successfully receiving the push)
Price
Protocol
/v2/dexs/pool/liquidity_change_list
30
User
/v2/user/all_protocol
12
User
/v2/user/all_assets_curve_24h
90
User
/v2/user/protocol_curve_24h
20
User
/v2/user/all_protocol_curve_24h
40
User
/v2/user/all_wallet_curve_24h
30
Token
Query token kline
/v2/quot/market/kline
20
Token
/v2/dexs/token/liquidity_change_list
30
Supported chains and protocols
Total: 27 chains, 1855 protocols, update weekly !
Ethereum
505
BSC
366
Polygon
221
Arbitrum
190
Avalanche
133
Fantom
123
Cronos
54
Optimism
52
Gnosis
30
Metis
24
Base
23
Aurora
21
Canto
11
Celo
10
Linea
10
HECO
9
Mantle
8
Aptos
8
Moonbeam
7
Tron
7
Sui
7
Klaytn
7
Moonriver
6
OKC
6
KCC
6
Conflux
6
Polygon zkEVM
5
Supported Pool Type
View Supported Pool Type
Last updated