dashboard

Overview

The /dashboard API provides information on WEMIX.Fi’s Total Value Locked (TVL), the volume, and change in volume over various time periods(24h, 7d, 1m, 1y).

WEMIX.Fi Overview

GET /dashboard/overview

Returns general data on WEMIX.Fi.

{
  "type": "success",
  "message": "success",
  "data": {
    "1m": {
      "volume": 0,
      "volume_change": 0,
      "liquidity_change": 0
    },
    "1y": {
      "volume": 0,
      "volume_change": 0,
      "liquidity_change": 0
    },
    "7d": {
      "volume": 0,
      "pool_apr": 0,
      "staking_apr": 0,
      "volume_change": 0,
      "liquidity_change": 0
    },
    "24h": {
      "fee": 0,
      "volume": 0,
      "fee_change": 0,
      "volume_change": 0,
      "liquidity_change": 0
    },
    "tvl": 0,
    "acc_user": "string",
    "total_volume": 0,
    "total_swap_number": "string",
    "total_swap_volume": 0,
    "updated_at": "string"
  }
}

Request

Parameter

Response

Parameter

Sample

Request

curl

curl -X 'GET' \
  'https://openapi.wemix.fi/dashboard/overview' \
  -H 'accept: application/json'

Request URL

https://openapi.wemix.fi/dashboard/overview

Response

{
  "type": "success",
  "message": "success",
  "data": {
    "1m": {
      "volume": 38976272.62290087,
      "volume_change": -72.47488328923242,
      "liquidity_change": -21.8365101318846
    },
    "1y": {
      "volume": 377440204.21084905,
      "volume_change": 0,
      "liquidity_change": 0
    },
    "7d": {
      "volume": 11835972.947168922,
      "pool_apr": 7.497621367194637,
      "staking_apr": 0.07905522914017785,
      "volume_change": 82.70715772342206,
      "liquidity_change": 2.994824692851457
    },
    "24h": {
      "fee": 11302.513296685556,
      "volume": 605528.004610111,
      "fee_change": -10.900846137520585,
      "volume_change": -42.64051777119291,
      "liquidity_change": -2.8810563263481637
    },
    "tvl": 71433102.68193965,
    "acc_user": "35296",
    "total_volume": 377440352.66717327,
    "total_swap_number": "369334",
    "total_swap_volume": 260567902.0642433,
    "updated_at": "2023-04-16T13:22:19.000Z"
  }
}