Decentralized Exchange Protocols

The DEX endpoints can be used to retrieve the data analytics and score analysis of various decentralized exchange pools and protocols.

curl https://api.alterscope.org/data/liquidity/dex/available-dexes -H "Authorization: Bearer <your_access_token>"

The request below will return the total of 3 pools from which pools at page 2 will be skipped:

curl https://api.alterscope.org/data/liquidity/dex/available-pools/ethereum/curve/V3/3/2 -H "Authorization: Bearer <your_access_token>"

For a supported list of decentralised exchange chains and protocol versions please refer to sample response for retrieving the available decentralized exchange for all protocols API endpoint.

Below is a sample request with0x4f062658eaaf2c1ccf8c8e36d6824cdf41167956 pool address.

curl https://api.alterscope.org/data/liquidity/dex/pool-analytics/0x4f062658eaaf2c1ccf8c8e36d6824cdf41167956 -H "Authorization: Bearer <your_access_token>"

To get a list of pool address for which data can be retrieved please check retrieve available list of pools for a protocol API endpoint.

Note: The sample request below shows data analytics for dex ethereum chain and curve protocol.

curl https://api.alterscope.org/data/liquidity/dex/protocol-analytics/ethereum/curve/V3 -H "Authorization: Bearer <your_access_token>"

For a supported list of decentralised exchange chains and protocol versions please refer to sample response for retrieving the available decentralized exchange for all protocols API endpoint.

Note: The sample request below shows data analytics for curve protocol.

curl https://api.alterscope.org/data/liquidity/dex/protocol-overview/curve -H "Authorization: Bearer <your_access_token>".

For a supported list of decentralised exchange chains and protocol versions please refer to sample response for retrieving the available decentralized exchange for all protocols API endpoint.

Scores

Note: The sample request below retrieves volume continuity score for a specific pool. To get a list of pool address for which data can be retrieved please check retrieve available list of pools for a protocol API endpoint.

curl https://api.alterscope.org/scores/liquidity/dex/pool-score/<pool_address> -H "Authorization: Bearer <your_access_token>"

Note: The sample request below retrieves protocol score for ethereum chain and uniswap protocol.

curl https://api.alterscope.org/scores/liquidity/dex/protocol-score/ethereum/uniswap/V3 -H "Authorization: Bearer <your_access_token>"

For a supported list of decentralised exchange chains and protocol versions please refer to sample response for retrieving the available decentralized exchange for all protocols API endpoint.

Note: The sample request below retrieves volume continuity score for uniswap protocol.

curl https://api.alterscope.org/scores/liquidity/dex/protocol-overview/uniswap -H "Authorization: Bearer <your_access_token>"

For a supported list of decentralised exchange chains and protocol versions please refer to sample response for retrieving the available decentralized exchange for all protocols API endpoint.

curl https://api.alterscope.org/scores/liquidity/dex/all-protocols -H "Authorization: Bearer <your_access_token>"

Last updated