Market Stats
Overview
Get aggregated market statistics for one or more protocols over a specified timeframe and interval.
Endpoint
GET /api/v1/partner/market/statsQuery Parameters
timeframe
string
Yes
Time window for aggregation (e.g. 1d).
protocols
string
No
Comma-separated list of protocol identifiers to include (e.g. flowx-clmm,flowx-cpmm). If not provided, returns stats for all protocols.
List of supported timeframes:
1d
1 day
1w
1 week
List of supported protocols:
See Market Supported Protocol for the complete list of protocol identifiers and their names.
Headers
x-api-key
No
API key for authentication (if required).
cURL Examples
Get Stats for Specific Protocols
Get Stats for All Protocols
Response
Fields
code
number
HTTP-like response code (200 = success).
message
string
Human-readable status message.
data
array
Array of protocol statistics objects.
Protocol statistics object:
protocol
string
Protocol identifier.
trade
integer
Number of trades in the selected timeframe.
volume
number
Traded volume (USD) in the selected timeframe.
fee
number
Fees collected (USD) in the selected timeframe.
active_wallet
integer
Count of unique active wallets.
market_cap
number
Market capitalization (USD).
tvl
number
Total value locked (USD).
Success Response
See also: Environment Setup
Last updated