Token Stats v0 API
The Token Stats API provides daily statistical data for various tokens, including the 'daily swap volume', 'daily swap count', and the 'total value of liquidity' (TVL). These stats offer users an in-depth view of a token's daily activities. The statistical data is initialized daily at 00:00 UTC.
Endpoint
https://api.swapscanner.io/v0/tokens/stats
Response
The response is a JSON array of objects, each object representing a token's daily "swap" statistics and "total value of liquidity":
address-stringToken contract addressswap-objectContains two properties:volume-numberThe total volume (in oUSDC) of swaps involving the token for the given daycount-numberThe total count of swaps involving the token for the given day
tvl-numberThe total value (in oUSDC) of liquidity for the given day
Example
{
"0x0000000000000000000000000000000000000000": {
"swap": {
"volume": 2129411.3023727476,
"count": 9683
},
"tvl": 17854416.41375692
},
"0xcee8faf64bb97a73bb51e115aa89c17ffa8dd167": {
"swap": {
"volume": 1055268.6427519831,
"count": 6542
},
"tvl": 13441811.756793931
},
...
}