💎TVL

Here are endpoints which allow to get information about DEX TVL are shown.

get

Returns the latest Total Value Locked (TVL) of DEX pools.

Query parameters
blockchainstringOptional

Filter TVL by blockchain.

Example: Arbitrum
poolAddressstringOptional

Filter TVL by pool address.

Example: 0x95c9bF3f60Cbc2BE8e148FAe82f26930bFcD1839
periodstringOptional

Give TVL since certain time ago

Default: 1dExample: 1d
Responses
200
Latest TVL of DEX pools with specified filters.
application/json
get
GET /v1/dex/tvl/latest HTTP/1.1
Host: apis.datamint.ai
Accept: */*
{
  "status": "ok",
  "response": [
    {
      "poolAddress": "0x95c9bF3f60Cbc2BE8e148FAe82f26930bFcD1839",
      "blockchain": "Arbitrum",
      "tvlInUSD": 1000000,
      "timestamp": 1693392198
    }
  ]
}
get

Returns historical TVL of DEX pools with optional filters.

Path parameters
sinceintegerRequired

UNIX-time from which to get historical TVL.

Example: 1693392198
Query parameters
untilintegerOptional

UNIX-time until which to get historical TVL.

Example: 1693392498
blockchainstringOptional

Filter TVL by blockchain.

Example: Arbitrum
poolAddressstringOptional

Filter TVL by pool address.

Example: 0x95c9bF3f60Cbc2BE8e148FAe82f26930bFcD1839
granularitystringOptional

Give TVL with certain granularity

Default: 1dExample: 1d
Responses
200
Historical TVL of DEX pools with specified filters.
application/json
get
GET /v1/dex/tvl/historical/{since} HTTP/1.1
Host: apis.datamint.ai
Accept: */*
{
  "timestamp": 1693392198,
  "tvlInUSD": 1000000
}

Last updated