GET
/
liquidity
/
{pool}
/
latest
Latest
curl --request GET \
  --url https://api.amberdata.com/market/defi/liquidity/{pool}/latest \
  --header 'x-api-key: <api-key>'
{
  "status": 200,
  "title": "OK",
  "description": "Successful request",
  "payload": [
    {
      "exchange": "Miniswap",
      "exchangeId": 1.9741381344427816e+47,
      "pairAddress": 2.605568056992046e+47,
      "pair": "MINI_USDT",
      "startDate": null,
      "endDate": null,
      "baseAddress": 4.429204089521198e+47,
      "baseName": "MINISWAP",
      "baseSymbol": "MINI",
      "baseDecimals": "18",
      "quoteAddress": 1.2488751460129641e+48,
      "quoteName": "Tether USD",
      "quoteSymbol": "USDT",
      "quoteDecimals": "6",
      "blockchainNetworkId": "1",
      "blockchainId": "1c9c969065fcd1cf",
      "poolAddresses": [],
      "pairName": null,
      "poolNames": [
        "MINISWAP",
        "Tether USD"
      ],
      "poolSymbols": [
        "MINI",
        "USDT"
      ],
      "poolDecimals": [
        18,
        6
      ],
      "poolUnderlyingAddresses": null,
      "poolUnderlyingNames": null,
      "poolUnderlyingSymbols": null,
      "poolUnderlyingDecimals": null
    }
  ]
}

Authorizations

x-api-key
string
header
default:API_KEY
required

Path Parameters

pool
string
default:0xBb2b8038a1640196FbE3e38816F3e67Cba72D940
required

The pool to retrieve the most current data. Can be the pool/pair symbols or address. (*Default is WBTC-WETH)

Query Parameters

exchange
string
default:uniswapv2

The exchange(s) for which to retrieve the data. Example: exchange=uniswapv3,curvev1

timeFormat
string

[Optional] Time format of the timestamps in the return payload.<BR/>[Defaults] milliseconds | ms* | iso | iso8601 | hr | human_readable

Response

200 - application/json

200

The response is of type object.