Skip to main content
GET
/
analytics
curl -X GET "https://api.strike.markets/analytics"
{
  "totalVolume": "157500000.50",
  "totalFees": "315000.75",
  "treasuryBalance": "2847650.25",
  "activeUsers": 1247,
  "totalPositions": 3891
}
curl -X GET "https://api.strike.markets/analytics"
{
  "totalVolume": "157500000.50",
  "totalFees": "315000.75",
  "treasuryBalance": "2847650.25",
  "activeUsers": 1247,
  "totalPositions": 3891
}

Overview

Get comprehensive protocol-wide analytics and metrics for Strike Protocol. This endpoint provides key performance indicators, financial metrics, and user activity statistics that give insight into the overall health and growth of the protocol.
This endpoint does NOT require authentication and provides public protocol analytics for transparency and research purposes.

Response Fields

totalVolume
string
Cumulative trading volume across all markets since protocol inception (USD)
totalFees
string
Total trading fees collected by the protocol (USD)
treasuryBalance
string
Current protocol treasury balance available for payouts and operations (USD)
activeUsers
integer
Number of unique wallet addresses that have traded in the last 30 days
totalPositions
integer
Total number of positions ever created on the protocol (open + closed + settled)

Metrics Explained

Trading Volume

  • Definition: Cumulative USD value of all positions opened
  • Calculation: Sum of all position sizes across all markets and time periods
  • Significance: Indicates overall protocol activity and adoption
  • Growth: Higher volume suggests increasing usage and liquidity

Fee Revenue

  • Definition: Total fees collected from trading operations
  • Sources: Position opening fees, closing fees, dynamic fees
  • Protocol share: Fees fund treasury, development, and rewards
  • Sustainability: Fee revenue indicates protocol’s economic viability

Treasury Balance

  • Definition: Current funds available for position payouts
  • Purpose: Ensures immediate settlement of winning positions
  • Management: Automatically managed through fee collection and payouts
  • Health indicator: Higher balance = better ability to handle large payouts

Active Users

  • Time window: Users who traded within last 30 days
  • Metric: Unique wallet addresses with at least one position
  • Engagement: Indicates current user retention and activity
  • Growth trends: Rising active users suggests healthy adoption

Position Count

  • Scope: All positions created since protocol launch
  • Categories: Includes open, closed, liquidated, and settled positions
  • Activity measure: Higher count indicates more trading activity
  • Historical data: Shows protocol usage trends over time

Error Responses

503 Service Unavailable
object
Analytics service temporarily unavailable
{
  "error": 503,
  "message": "Analytics service temporarily unavailable"
}
  • Get Markets - Market-specific data that contributes to protocol metrics
  • Health Check - Technical health status of the API
  • Get Positions - Individual positions that create protocol volume
  • Dashboard - User-level analytics and data
Protocol analytics provide valuable insights into overall system health and growth. Use these metrics to understand trends, identify opportunities, and monitor the protocol’s evolution over time.
Analytics data is updated continuously as users trade and interact with the protocol. Metrics may have slight delays due to data aggregation and processing requirements.

Authorizations

X-API-Key
string
header
required

Strike Protocol API key authentication

Response

200 - application/json

Analytics retrieved successfully

totalVolume
string
totalFees
string
treasuryBalance
string
activeUsers
integer
totalPositions
integer