Legacy Support

Get legacy metrics (daily and total) for compatibility with pear-backend metric service

get
Query parameters
timestampnumberOptional

Start of day timestamp (in seconds). Defaults to previous day window.

Example: 1768138034
Responses
chevron-right
200

Legacy metrics fetched successfully

application/json
get
/legacysupport/metric
200

Legacy metrics fetched successfully

Get weekly and monthly volumes for legacy support

get
Query parameters
timestampnumberOptional

Start of day timestamp (in seconds). Aligns end of windows the same as /metric.

Responses
chevron-right
200

Weekly and monthly volumes

No content

get
/legacysupport/weeklyVolume
200

Weekly and monthly volumes

No content

Get hyperliquid user stats for legacy support (V2)

get
Query parameters
addressstringRequired

User address

periodstringOptional

Period label (e.g., daily)

startDatestringOptional

Start date ISO string

Responses
chevron-right
200

Hyperliquid user stats

No content

get
/legacysupport/stats/hyperliquid
200

Hyperliquid user stats

No content

Get legacy daily stats (volume, fees, users, new_traders) for compatibility with pear-backend /statsData

get
Query parameters
periodstringOptional

Period label, e.g., daily

startDatestringOptional

Start date ISO string

endDatestringOptional

End date ISO string

Responses
chevron-right
200

Daily stats array

No content

get
/legacysupport/dailyStats
200

Daily stats array

No content

Last updated