Stats
Returns aggregated DEX statistics (volume, fees) for the given protocol over the window [timestamp, to). When to is omitted, the window defaults to a full day: [timestamp, timestamp + 1 day), preserving the original daily-aggregate behaviour. An explicit to allows arbitrary windows (e.g. 1 hour) for consumers that pull data more granularly, such as DefiLlama's v2 adapter model (`pullHourly: true`). Only confirmed trades are included. Suitable for DefiLlama adapter consumption.
get/api/Stats/dex
Request
- Base URL: https://api.testnet.scan.biatec.io (the document declares no server; this is the origin it was published from)
- URL: https://api.testnet.scan.biatec.io/api/Stats/dex
- Auth: none declared
Query parameters
dexstring
DEX protocol identifier: Biatec, Pact, or Tiny.
timestampstring date-time
Inclusive start of the statistics window.
tostring date-time
Exclusive end of the statistics window. Defaults to timestamp + 1 day when omitted.
Response
OK
Changes
No recorded changes to this operation across all 1 revision of this API.