v1

latestOpenAPI 3.1.02026-07-2410781551.8 KB
DEX & Protocol

Market History

Retrieves historical market metrics for the specified blockchain, aggregated by the specified time frame. The response includes trading metrics (trading volume, trade count, and active trading tokens) aggregated over each time frame, and snapshot metric (stablecoin market capitalization) representing values at the end of each time frame.

get/defi/v3/market-history

Query parameters

time_frame'1D'

The aggregation interval for the returned data.

timeinteger

The reference unix timestamp in seconds to start retrieving data. Defaults to the current time.

direction'backward' | 'forward'

The retrieval direction relative to the reference time.

countinteger

Limit the number of data records returned.

Headers

x-chain'solana'

Solana network only.

Response

JSON object containing market history data of a specified chain.

successboolean required