Skip to content
Last updated

Query protocol-wide metrics including total value locked, trading volume, pool count, and historical performance data across all DEX pools.


⚠️ Indexer Notice: Kadindexer's DeFi queries are currently configured to index and parse event patterns emitted by SushiSwap modules. Data from other DEX implementations requires custom event pattern configuration. Contact toni@hackachain.io to discuss indexing additional protocols.


dexMetrics: Protocol Overview

Retrieve aggregated metrics for the entire DEX protocol with optional historical data.

query DexOverview($startDate: DateTime, $endDate: DateTime, $protocolAddress: String) {
  dexMetrics(
    startDate: $startDate
    endDate: $endDate
    protocolAddress: $protocolAddress
  ) {
    totalPools
    currentTvlUsd
    totalVolumeUsd
    tvlHistory {
      timestamp
      value
    }
    volumeHistory {
      timestamp
      value
    }
  }
}

Variables

{
  "startDate": "2025-09-01T00:00:00Z",
  "endDate": "2025-10-01T00:00:00Z",
}

Response

{
  "data": {
    "dexMetrics": {
      "totalPools": 30,
      "currentTvlUsd": 6709.29621554,
      "totalVolumeUsd": 0,
      "tvlHistory": [
        {
          "timestamp": "2025-09-01T00:00:00.000Z",
          "value": 6676.43702707
        },
        {
          "timestamp": "2025-09-02T00:00:00.000Z",
          "value": 6673.78329239
        },
        {
          "timestamp": "2025-09-03T00:00:00.000Z",
          "value": 6672.45738285
        },
        {
          "timestamp": "2025-09-04T00:00:00.000Z",
          "value": 6668.43991632
        },
        {
          "timestamp": "2025-09-05T00:00:00.000Z",
          "value": 6668.43997078
        },
        {
          "timestamp": "2025-09-06T00:00:00.000Z",
          "value": 6676.43686369
        },
        {
          "timestamp": "2025-09-07T00:00:00.000Z",
          "value": 6672.45738285
        },
        {
          "timestamp": "2025-09-08T00:00:00.000Z",
          "value": 6673.78323793
        },
        {
          "timestamp": "2025-09-09T00:00:00.000Z",
          "value": 6671.79440855
        },
        {
          "timestamp": "2025-09-10T00:00:00.000Z",
          "value": 6668.43991632
        },
        {
          "timestamp": "2025-09-11T00:00:00.000Z",
          "value": 6676.43691815
        },
        {
          "timestamp": "2025-09-12T00:00:00.000Z",
          "value": 6671.79457193
        },
        {
          "timestamp": "2025-09-13T00:00:00.000Z",
          "value": 6678.24312957
        },
        {
          "timestamp": "2025-09-14T00:00:00.000Z",
          "value": 6668.43986186
        },
        {
          "timestamp": "2025-09-15T00:00:00.000Z",
          "value": 6672.45738285
        },
        {
          "timestamp": "2025-09-16T00:00:00.000Z",
          "value": 6676.43691815
        },
        {
          "timestamp": "2025-09-17T00:00:00.000Z",
          "value": 6676.43697261
        },
        {
          "timestamp": "2025-09-18T00:00:00.000Z",
          "value": 6673.78334685
        },
        {
          "timestamp": "2025-09-19T00:00:00.000Z",
          "value": 6678.24312957
        },
        {
          "timestamp": "2025-09-20T00:00:00.000Z",
          "value": 6671.79440855
        },
        {
          "timestamp": "2025-09-21T00:00:00.000Z",
          "value": 6671.79440855
        },
        {
          "timestamp": "2025-09-22T00:00:00.000Z",
          "value": 6675.1098401
        },
        {
          "timestamp": "2025-09-23T00:00:00.000Z",
          "value": 6671.79451747
        },
        {
          "timestamp": "2025-09-24T00:00:00.000Z",
          "value": 6675.10978564
        },
        {
          "timestamp": "2025-09-25T00:00:00.000Z",
          "value": 6678.24307511
        },
        {
          "timestamp": "2025-09-26T00:00:00.000Z",
          "value": 6668.43986186
        },
        {
          "timestamp": "2025-09-27T00:00:00.000Z",
          "value": 6673.78323793
        },
        {
          "timestamp": "2025-09-28T00:00:00.000Z",
          "value": 6668.43991632
        },
        {
          "timestamp": "2025-09-29T00:00:00.000Z",
          "value": 6668.4398074
        },
        {
          "timestamp": "2025-09-30T00:00:00.000Z",
          "value": 6673.78334685
        },
        {
          "timestamp": "2025-10-01T00:00:00.000Z",
          "value": 6668.43986186
        }
      ],
      "volumeHistory": []
    }
  }
}

Use Cases

  • Protocol-level dashboards
  • TVL trend analysis
  • Volume tracking over time
  • Multi-protocol comparison

Notes Defaults to 30-day historical range if dates omitted. All USD values calculated using DIA price data refreshed every ~5 minutes. Use protocolAddress to filter specific DEX implementations. totalVolumeUsd is cumulative over the specified period.


Current Protocol Snapshot

Query current protocol state without historical data.

query ProtocolSnapshot {
  dexMetrics {
    totalPools
    currentTvlUsd
  }
}

Response

{
  "data": {
    "dexMetrics": {
      "totalPools": 45,
      "currentTvlUsd": 12500000.50
    }
  }
}

Use Cases

  • Real-time protocol statistics
  • TVL tracking widgets
  • Pool count monitoring
  • Quick protocol health checks

Notes No historical data returned when startDate and endDate omitted. Use for lightweight queries requiring only current state. currentTvlUsd represents combined liquidity across all pools.


Historical TVL Analysis

Track total value locked evolution over custom time periods.

query TvlHistory($startDate: DateTime!, $endDate: DateTime!) {
  dexMetrics(startDate: $startDate, endDate: $endDate) {
    currentTvlUsd
    tvlHistory {
      timestamp
      value
    }
  }
}

Variables

{
  "startDate": "2025-09-01T00:00:00Z",
  "endDate": "2025-10-01T00:00:00Z",
}

Response

{
  "data": {
    "dexMetrics": {
      "currentTvlUsd": 6709.29621554,
      "tvlHistory": [
        {
          "timestamp": "2025-09-01T00:00:00.000Z",
          "value": 6676.43702707
        },
        {
          "timestamp": "2025-09-02T00:00:00.000Z",
          "value": 6673.78329239
        },
        {
          "timestamp": "2025-09-03T00:00:00.000Z",
          "value": 6672.45738285
        },
        {
          "timestamp": "2025-09-04T00:00:00.000Z",
          "value": 6668.43991632
        },
        {
          "timestamp": "2025-09-05T00:00:00.000Z",
          "value": 6668.43997078
        },
        {
          "timestamp": "2025-09-06T00:00:00.000Z",
          "value": 6676.43686369
        },
        {
          "timestamp": "2025-09-07T00:00:00.000Z",
          "value": 6672.45738285
        },
        {
          "timestamp": "2025-09-08T00:00:00.000Z",
          "value": 6673.78323793
        },
        {
          "timestamp": "2025-09-09T00:00:00.000Z",
          "value": 6671.79440855
        },
        {
          "timestamp": "2025-09-10T00:00:00.000Z",
          "value": 6668.43991632
        },
        {
          "timestamp": "2025-09-11T00:00:00.000Z",
          "value": 6676.43691815
        },
        {
          "timestamp": "2025-09-12T00:00:00.000Z",
          "value": 6671.79457193
        },
        {
          "timestamp": "2025-09-13T00:00:00.000Z",
          "value": 6678.24312957
        },
        {
          "timestamp": "2025-09-14T00:00:00.000Z",
          "value": 6668.43986186
        },
        {
          "timestamp": "2025-09-15T00:00:00.000Z",
          "value": 6672.45738285
        },
        {
          "timestamp": "2025-09-16T00:00:00.000Z",
          "value": 6676.43691815
        },
        {
          "timestamp": "2025-09-17T00:00:00.000Z",
          "value": 6676.43697261
        },
        {
          "timestamp": "2025-09-18T00:00:00.000Z",
          "value": 6673.78334685
        },
        {
          "timestamp": "2025-09-19T00:00:00.000Z",
          "value": 6678.24312957
        },
        {
          "timestamp": "2025-09-20T00:00:00.000Z",
          "value": 6671.79440855
        },
        {
          "timestamp": "2025-09-21T00:00:00.000Z",
          "value": 6671.79440855
        },
        {
          "timestamp": "2025-09-22T00:00:00.000Z",
          "value": 6675.1098401
        },
        {
          "timestamp": "2025-09-23T00:00:00.000Z",
          "value": 6671.79451747
        },
        {
          "timestamp": "2025-09-24T00:00:00.000Z",
          "value": 6675.10978564
        },
        {
          "timestamp": "2025-09-25T00:00:00.000Z",
          "value": 6678.24307511
        },
        {
          "timestamp": "2025-09-26T00:00:00.000Z",
          "value": 6668.43986186
        },
        {
          "timestamp": "2025-09-27T00:00:00.000Z",
          "value": 6673.78323793
        },
        {
          "timestamp": "2025-09-28T00:00:00.000Z",
          "value": 6668.43991632
        },
        {
          "timestamp": "2025-09-29T00:00:00.000Z",
          "value": 6668.4398074
        },
        {
          "timestamp": "2025-09-30T00:00:00.000Z",
          "value": 6673.78334685
        },
        {
          "timestamp": "2025-10-01T00:00:00.000Z",
          "value": 6668.43986186
        }
      ]
    }
  }
}

TVL Analysis

// TVL growth calculation
const firstValue = tvlHistory[0].value
const lastValue = tvlHistory[tvlHistory.length - 1].value
const growth = ((lastValue - firstValue) / firstValue) * 100

// Average daily growth
const days = (endDate - startDate) / (1000 * 60 * 60 * 24)
const avgDailyGrowth = growth / days

Use Cases

  • TVL growth tracking
  • Protocol health monitoring
  • Liquidity trend analysis
  • Historical performance charts

Notes Data points frequency varies by time range. Values represent combined TVL across all protocol pools. Use for charting and growth analysis. Calculated using DIA price data.


Trading Volume Analytics

Track cumulative and historical trading volume across the protocol.

query VolumeAnalytics($startDate: DateTime!, $endDate: DateTime!) {
  dexMetrics(startDate: $startDate, endDate: $endDate) {
    totalVolumeUsd
    volumeHistory {
      timestamp
      value
    }
  }
}

Variables

{
  "startDate": "2025-05-01T00:00:00Z",
  "endDate": "2025-07-01T00:00:00Z",
}

Response

{
  "data": {
    "dexMetrics": {
      "totalVolumeUsd": 2670456.69,
      "volumeHistory": [
        {
          "timestamp": "2025-05-28T00:00:00.000Z",
          "value": 960907.25
        },
        {
          "timestamp": "2025-05-29T00:00:00.000Z",
          "value": 1709549.44
        }
      ]
    }
  }
}

Volume Metrics

// Average daily volume
const totalDays = volumeHistory.length
const avgDailyVolume = totalVolumeUsd / totalDays

// Peak volume day
const peakDay = volumeHistory.reduce((max, day) => 
  day.value > max.value ? day : max
)

// Volume trend
const recentAvg = volumeHistory.slice(-7).reduce((sum, day) => 
  sum + day.value, 0
) / 7

Use Cases

  • Volume trend analysis
  • Trading activity monitoring
  • Protocol usage metrics
  • Daily volume tracking

Notes totalVolumeUsd is cumulative over the specified period. volumeHistory shows daily volume breakdown. Values in USD calculated via DIA pricing. Use for activity analysis and trend identification.


Protocol Comparison

Compare metrics across different DEX protocols on Kadena.

query ProtocolComparison {
  protocol1: dexMetrics(protocolAddress: "n_bd19ba92f0449d4422e620740759c9e94cacdb37.sushi-exchange") {
    totalPools
    currentTvlUsd
    totalVolumeUsd
  }
  protocol2: dexMetrics(protocolAddress: "kdlaunch.kdswap-exchange") {
    totalPools
    currentTvlUsd
    totalVolumeUsd
  }
}

Response

{
  "data": {
    "protocol1": {
      "totalPools": 45,
      "currentTvlUsd": 12500000.50,
      "totalVolumeUsd": 8750000.00
    },
    "protocol2": {
      "totalPools": 38,
      "currentTvlUsd": 9800000.00,
      "totalVolumeUsd": 6500000.00
    }
  }
}

Comparison Metrics

// Market share calculation
const totalTvl = protocol1.currentTvlUsd + protocol2.currentTvlUsd
const protocol1Share = (protocol1.currentTvlUsd / totalTvl) * 100

// Volume efficiency
const protocol1VolumePerPool = protocol1.totalVolumeUsd / protocol1.totalPools
const protocol2VolumePerPool = protocol2.totalVolumeUsd / protocol2.totalPools

Use Cases

  • DEX market share analysis
  • Protocol performance comparison
  • Liquidity distribution tracking
  • Competitive intelligence

Notes Use protocolAddress to filter by specific DEX implementation. Compare TVL, volume, and pool counts across protocols. Useful for market dominance analysis and protocol selection.


Complete Dashboard Query

Retrieve all protocol metrics in a single query for comprehensive dashboards.

query CompleteDashboard(
  $startDate: DateTime!
  $endDate: DateTime!
  $protocolAddress: String
) {
  dexMetrics(
    startDate: $startDate
    endDate: $endDate
    protocolAddress: $protocolAddress
  ) {
    totalPools
    currentTvlUsd
    totalVolumeUsd
    tvlHistory {
      timestamp
      value
    }
    volumeHistory {
      timestamp
      value
    }
  }
}

Variables

{
  "startDate": "2025-01-01T00:00:00Z",
  "endDate": "2025-10-01T00:00:00Z",
  "protocolAddress": "kdlaunch.kdswap-exchange"
}

Response

{
  "data": {
    "dexMetrics": {
      "totalPools": 30,
      "currentTvlUsd": 6709.29621554,
      "totalVolumeUsd": 2670456.69,
      "tvlHistory": [
        {
          "timestamp": "2025-05-28T00:00:00.000Z",
          "value": 148813.22605794
        },
        {
          "timestamp": "2025-05-29T00:00:00.000Z",
          "value": 6676.43702707
        },
        {
          "timestamp": "2025-05-30T00:00:00.000Z",
          "value": 6678.24312957
        },
        {
          "timestamp": "2025-05-31T00:00:00.000Z",
          "value": 6672.45738285
        },
        {
          "timestamp": "2025-06-01T00:00:00.000Z",
          "value": 6673.78340131
        },
        {
          "timestamp": "2025-06-02T00:00:00.000Z",
          "value": 6672.45721947
        },
        {
          "timestamp": "2025-06-03T00:00:00.000Z",
          "value": 6673.78334685
        },
        {
          "timestamp": "2025-06-04T00:00:00.000Z",
          "value": 6668.43991632
        },
        {
          "timestamp": "2025-06-05T00:00:00.000Z",
          "value": 6668.43991632
        },
        {
          "timestamp": "2025-06-06T00:00:00.000Z",
          "value": 6673.78323793
        },
        {
          "timestamp": "2025-06-07T00:00:00.000Z",
          "value": 6673.78334685
        },
        {
          "timestamp": "2025-06-08T00:00:00.000Z",
          "value": 6678.24302065
        },
        {
          "timestamp": "2025-06-09T00:00:00.000Z",
          "value": 6673.78340131
        },
        {
          "timestamp": "2025-06-10T00:00:00.000Z",
          "value": 6676.43697261
        },
        {
          "timestamp": "2025-06-11T00:00:00.000Z",
          "value": 6671.79446301
        },
        {
          "timestamp": "2025-06-12T00:00:00.000Z",
          "value": 6676.43702707
        },
        {
          "timestamp": "2025-06-13T00:00:00.000Z",
          "value": 6668.4398074
        },
        {
          "timestamp": "2025-06-14T00:00:00.000Z",
          "value": 6676.43691815
        },
        {
          "timestamp": "2025-06-15T00:00:00.000Z",
          "value": 6676.43697261
        },
        {
          "timestamp": "2025-06-16T00:00:00.000Z",
          "value": 6671.79440855
        },
        {
          "timestamp": "2025-06-17T00:00:00.000Z",
          "value": 6672.45727393
        },
        {
          "timestamp": "2025-06-18T00:00:00.000Z",
          "value": 6678.24302065
        },
        {
          "timestamp": "2025-06-19T00:00:00.000Z",
          "value": 6672.45721947
        },
        {
          "timestamp": "2025-06-20T00:00:00.000Z",
          "value": 6673.78340131
        },
        {
          "timestamp": "2025-06-21T00:00:00.000Z",
          "value": 6678.24312957
        },
        {
          "timestamp": "2025-06-22T00:00:00.000Z",
          "value": 6668.4398074
        },
        {
          "timestamp": "2025-06-23T00:00:00.000Z",
          "value": 6675.10994902
        },
        {
          "timestamp": "2025-06-24T00:00:00.000Z",
          "value": 6672.45738285
        },
        {
          "timestamp": "2025-06-25T00:00:00.000Z",
          "value": 6671.79440855
        },
        {
          "timestamp": "2025-06-26T00:00:00.000Z",
          "value": 6676.43702707
        },
        {
          "timestamp": "2025-06-27T00:00:00.000Z",
          "value": 6668.43986186
        },
        {
          "timestamp": "2025-06-28T00:00:00.000Z",
          "value": 6678.24312957
        },
        {
          "timestamp": "2025-06-29T00:00:00.000Z",
          "value": 6672.45727393
        },
        {
          "timestamp": "2025-06-30T00:00:00.000Z",
          "value": 6676.43702707
        },
        {
          "timestamp": "2025-07-01T00:00:00.000Z",
          "value": 6673.78334685
        },
        {
          "timestamp": "2025-07-02T00:00:00.000Z",
          "value": 6676.43702707
        },
        {
          "timestamp": "2025-07-03T00:00:00.000Z",
          "value": 6673.78334685
        },
        {
          "timestamp": "2025-07-04T00:00:00.000Z",
          "value": 6678.24307511
        },
        {
          "timestamp": "2025-07-05T00:00:00.000Z",
          "value": 6668.43991632
        },
        {
          "timestamp": "2025-07-06T00:00:00.000Z",
          "value": 6676.43697261
        },
        {
          "timestamp": "2025-07-07T00:00:00.000Z",
          "value": 6675.1098401
        },
        {
          "timestamp": "2025-07-08T00:00:00.000Z",
          "value": 6672.45732839
        },
        {
          "timestamp": "2025-07-09T00:00:00.000Z",
          "value": 6671.79446301
        },
        {
          "timestamp": "2025-07-10T00:00:00.000Z",
          "value": 6668.43997078
        },
        {
          "timestamp": "2025-07-11T00:00:00.000Z",
          "value": 6668.43986186
        },
        {
          "timestamp": "2025-07-12T00:00:00.000Z",
          "value": 6673.78323793
        },
        {
          "timestamp": "2025-07-13T00:00:00.000Z",
          "value": 6676.43702707
        },
        {
          "timestamp": "2025-07-14T00:00:00.000Z",
          "value": 6668.4398074
        },
        {
          "timestamp": "2025-07-15T00:00:00.000Z",
          "value": 6678.24302065
        },
        {
          "timestamp": "2025-07-16T00:00:00.000Z",
          "value": 6668.43986186
        },
        {
          "timestamp": "2025-07-17T00:00:00.000Z",
          "value": 6676.43691815
        },
        {
          "timestamp": "2025-07-18T00:00:00.000Z",
          "value": 6673.78340131
        },
        {
          "timestamp": "2025-07-19T00:00:00.000Z",
          "value": 6671.79440855
        },
        {
          "timestamp": "2025-07-20T00:00:00.000Z",
          "value": 6668.43991632
        },
        {
          "timestamp": "2025-07-21T00:00:00.000Z",
          "value": 6678.24307511
        },
        {
          "timestamp": "2025-07-22T00:00:00.000Z",
          "value": 6676.43691815
        },
        {
          "timestamp": "2025-07-23T00:00:00.000Z",
          "value": 6671.79446301
        },
        {
          "timestamp": "2025-07-24T00:00:00.000Z",
          "value": 6676.43691815
        },
        {
          "timestamp": "2025-07-25T00:00:00.000Z",
          "value": 6668.43997078
        },
        {
          "timestamp": "2025-07-26T00:00:00.000Z",
          "value": 6668.43991632
        },
        {
          "timestamp": "2025-07-27T00:00:00.000Z",
          "value": 6672.45738285
        },
        {
          "timestamp": "2025-07-28T00:00:00.000Z",
          "value": 6678.24302065
        },
        {
          "timestamp": "2025-07-29T00:00:00.000Z",
          "value": 6678.24302065
        },
        {
          "timestamp": "2025-07-30T00:00:00.000Z",
          "value": 6676.43691815
        },
        {
          "timestamp": "2025-07-31T00:00:00.000Z",
          "value": 6675.10978564
        },
        {
          "timestamp": "2025-08-01T00:00:00.000Z",
          "value": 6676.43697261
        },
        {
          "timestamp": "2025-08-02T00:00:00.000Z",
          "value": 6675.10989456
        },
        {
          "timestamp": "2025-08-03T00:00:00.000Z",
          "value": 6678.24302065
        },
        {
          "timestamp": "2025-08-04T00:00:00.000Z",
          "value": 6668.43986186
        },
        {
          "timestamp": "2025-08-05T00:00:00.000Z",
          "value": 6668.43997078
        },
        {
          "timestamp": "2025-08-06T00:00:00.000Z",
          "value": 6676.43697261
        },
        {
          "timestamp": "2025-08-07T00:00:00.000Z",
          "value": 6671.79457193
        },
        {
          "timestamp": "2025-08-08T00:00:00.000Z",
          "value": 6678.24318403
        },
        {
          "timestamp": "2025-08-09T00:00:00.000Z",
          "value": 6675.10989456
        },
        {
          "timestamp": "2025-08-10T00:00:00.000Z",
          "value": 6676.43686369
        },
        {
          "timestamp": "2025-08-11T00:00:00.000Z",
          "value": 6676.43686369
        },
        {
          "timestamp": "2025-08-12T00:00:00.000Z",
          "value": 6672.45738285
        },
        {
          "timestamp": "2025-08-13T00:00:00.000Z",
          "value": 6668.43997078
        },
        {
          "timestamp": "2025-08-14T00:00:00.000Z",
          "value": 6672.45727393
        },
        {
          "timestamp": "2025-08-15T00:00:00.000Z",
          "value": 6668.43997078
        },
        {
          "timestamp": "2025-08-16T00:00:00.000Z",
          "value": 6672.45721947
        },
        {
          "timestamp": "2025-08-17T00:00:00.000Z",
          "value": 6675.1098401
        },
        {
          "timestamp": "2025-08-18T00:00:00.000Z",
          "value": 6671.79440855
        },
        {
          "timestamp": "2025-08-19T00:00:00.000Z",
          "value": 6678.24312957
        },
        {
          "timestamp": "2025-08-20T00:00:00.000Z",
          "value": 6675.1098401
        },
        {
          "timestamp": "2025-08-21T00:00:00.000Z",
          "value": 6671.79451747
        },
        {
          "timestamp": "2025-08-22T00:00:00.000Z",
          "value": 6676.43691815
        },
        {
          "timestamp": "2025-08-23T00:00:00.000Z",
          "value": 6668.43986186
        },
        {
          "timestamp": "2025-08-24T00:00:00.000Z",
          "value": 6668.43991632
        },
        {
          "timestamp": "2025-08-25T00:00:00.000Z",
          "value": 6668.4398074
        },
        {
          "timestamp": "2025-08-26T00:00:00.000Z",
          "value": 6668.43991632
        },
        {
          "timestamp": "2025-08-27T00:00:00.000Z",
          "value": 6668.43997078
        },
        {
          "timestamp": "2025-08-28T00:00:00.000Z",
          "value": 6671.79451747
        },
        {
          "timestamp": "2025-08-29T00:00:00.000Z",
          "value": 6668.4398074
        },
        {
          "timestamp": "2025-08-30T00:00:00.000Z",
          "value": 6668.4398074
        },
        {
          "timestamp": "2025-08-31T00:00:00.000Z",
          "value": 6675.10989456
        },
        {
          "timestamp": "2025-09-01T00:00:00.000Z",
          "value": 6668.43991632
        },
        {
          "timestamp": "2025-09-02T00:00:00.000Z",
          "value": 6671.79440855
        },
        {
          "timestamp": "2025-09-03T00:00:00.000Z",
          "value": 6675.1098401
        },
        {
          "timestamp": "2025-09-04T00:00:00.000Z",
          "value": 6673.78329239
        },
        {
          "timestamp": "2025-09-05T00:00:00.000Z",
          "value": 6672.45732839
        },
        {
          "timestamp": "2025-09-06T00:00:00.000Z",
          "value": 6676.43691815
        },
        {
          "timestamp": "2025-09-07T00:00:00.000Z",
          "value": 6678.24312957
        },
        {
          "timestamp": "2025-09-08T00:00:00.000Z",
          "value": 6676.43686369
        },
        {
          "timestamp": "2025-09-09T00:00:00.000Z",
          "value": 6675.1098401
        },
        {
          "timestamp": "2025-09-10T00:00:00.000Z",
          "value": 6671.79457193
        },
        {
          "timestamp": "2025-09-11T00:00:00.000Z",
          "value": 6673.78334685
        },
        {
          "timestamp": "2025-09-12T00:00:00.000Z",
          "value": 6673.78334685
        },
        {
          "timestamp": "2025-09-13T00:00:00.000Z",
          "value": 6676.43686369
        },
        {
          "timestamp": "2025-09-14T00:00:00.000Z",
          "value": 6672.45727393
        },
        {
          "timestamp": "2025-09-15T00:00:00.000Z",
          "value": 6672.45721947
        },
        {
          "timestamp": "2025-09-16T00:00:00.000Z",
          "value": 6678.24302065
        },
        {
          "timestamp": "2025-09-17T00:00:00.000Z",
          "value": 6675.10978564
        },
        {
          "timestamp": "2025-09-18T00:00:00.000Z",
          "value": 6675.1098401
        },
        {
          "timestamp": "2025-09-19T00:00:00.000Z",
          "value": 6671.79457193
        },
        {
          "timestamp": "2025-09-20T00:00:00.000Z",
          "value": 6668.43986186
        },
        {
          "timestamp": "2025-09-21T00:00:00.000Z",
          "value": 6675.10978564
        },
        {
          "timestamp": "2025-09-22T00:00:00.000Z",
          "value": 6675.10978564
        },
        {
          "timestamp": "2025-09-23T00:00:00.000Z",
          "value": 6668.4398074
        },
        {
          "timestamp": "2025-09-24T00:00:00.000Z",
          "value": 6671.79451747
        },
        {
          "timestamp": "2025-09-25T00:00:00.000Z",
          "value": 6673.78323793
        },
        {
          "timestamp": "2025-09-26T00:00:00.000Z",
          "value": 6672.45738285
        },
        {
          "timestamp": "2025-09-27T00:00:00.000Z",
          "value": 6668.43997078
        },
        {
          "timestamp": "2025-09-28T00:00:00.000Z",
          "value": 6673.78334685
        },
        {
          "timestamp": "2025-09-29T00:00:00.000Z",
          "value": 6676.43686369
        },
        {
          "timestamp": "2025-09-30T00:00:00.000Z",
          "value": 6676.43702707
        },
        {
          "timestamp": "2025-10-01T00:00:00.000Z",
          "value": 6671.79446301
        }
      ],
      "volumeHistory": [
        {
          "timestamp": "2025-05-28T00:00:00.000Z",
          "value": 960907.25
        },
        {
          "timestamp": "2025-05-29T00:00:00.000Z",
          "value": 1709549.44
        }
      ]
    }
  }
}

Dashboard Components

  • Total pools count widget
  • Current TVL display
  • Cumulative volume metric
  • TVL historical chart
  • Volume historical chart
  • Growth percentage indicators
  • Time period selector

Use Cases

  • Full protocol dashboards
  • Analytics platforms
  • DEX overview pages
  • Protocol monitoring tools

Notes Single query fetches all data needed for comprehensive dashboard. Combine with pool-level queries for detailed views. All metrics updated with DIA price data every ~5 minutes. Historical data shaped by startDate and endDate parameters.