Documentation Index Fetch the complete documentation index at: https://docs.codex.io/llms.txt
Use this file to discover all available pages before exploring further.
This query is deprecated. Use getDetailedPairStats instead, it has more resolutions and better support
Returns See DetailedStats The ID of the pair (pairAddress:networkId).
The token of interest used to calculate token-specific stats.
See TokenOfInterest The breakdown of stats over a 5 minute window.
See WindowedDetailedStats The unix timestamp for the start of the window.
The unix timestamp for the end of the window.
buckets
[DetailedStatsBucketTimestamp]!
The list of start/end timestamps broken down for each bucket within the window.
See DetailedStatsBucketTimestamp The unix timestamp for the start of the bucket.
The unix timestamp for the start of the bucket.
transactions
DetailedStatsNumberMetrics!
The transaction count over the window.
See DetailedStatsNumberMetrics The percent change between the currentValue and previousValue. Decimal format.
The total value for the most recent window.
The total value for the previous window.
The list of aggregated values for each bucket.
volume
DetailedStatsStringMetrics!
The volume over the window.
See DetailedStatsStringMetrics The percent change between the currentValue and previousValue. Decimal format.
The total value for the most recent window.
The total value for the previous window.
The list of aggregated values for each bucket.
buys
DetailedStatsNumberMetrics!
The number of buys over the window.
See DetailedStatsNumberMetrics The percent change between the currentValue and previousValue. Decimal format.
The total value for the most recent window.
The total value for the previous window.
The list of aggregated values for each bucket.
sells
DetailedStatsNumberMetrics!
The number of sells over the window.
See DetailedStatsNumberMetrics The percent change between the currentValue and previousValue. Decimal format.
The total value for the most recent window.
The total value for the previous window.
The list of aggregated values for each bucket.
buyers
DetailedStatsNumberMetrics!
The number of unique buyers over the window.
See DetailedStatsNumberMetrics The percent change between the currentValue and previousValue. Decimal format.
The total value for the most recent window.
The total value for the previous window.
The list of aggregated values for each bucket.
sellers
DetailedStatsNumberMetrics!
The number of unique sellers over the window.
See DetailedStatsNumberMetrics The percent change between the currentValue and previousValue. Decimal format.
The total value for the most recent window.
The total value for the previous window.
The list of aggregated values for each bucket.
traders
DetailedStatsNumberMetrics
The number of unique traders over the window.
See DetailedStatsNumberMetrics The percent change between the currentValue and previousValue. Decimal format.
The total value for the most recent window.
The total value for the previous window.
The list of aggregated values for each bucket.
buyVolume
DetailedStatsStringMetrics
The buy volume over the window.
See DetailedStatsStringMetrics The percent change between the currentValue and previousValue. Decimal format.
The total value for the most recent window.
The total value for the previous window.
The list of aggregated values for each bucket.
sellVolume
DetailedStatsStringMetrics
The sell volume over the window.
See DetailedStatsStringMetrics The percent change between the currentValue and previousValue. Decimal format.
The total value for the most recent window.
The total value for the previous window.
The list of aggregated values for each bucket.
The breakdown of stats over an hour window.
See WindowedDetailedStats The unix timestamp for the start of the window.
The unix timestamp for the end of the window.
buckets
[DetailedStatsBucketTimestamp]!
The list of start/end timestamps broken down for each bucket within the window.
See DetailedStatsBucketTimestamp The unix timestamp for the start of the bucket.
The unix timestamp for the start of the bucket.
transactions
DetailedStatsNumberMetrics!
The transaction count over the window.
See DetailedStatsNumberMetrics The percent change between the currentValue and previousValue. Decimal format.
The total value for the most recent window.
The total value for the previous window.
The list of aggregated values for each bucket.
volume
DetailedStatsStringMetrics!
The volume over the window.
See DetailedStatsStringMetrics The percent change between the currentValue and previousValue. Decimal format.
The total value for the most recent window.
The total value for the previous window.
The list of aggregated values for each bucket.
buys
DetailedStatsNumberMetrics!
The number of buys over the window.
See DetailedStatsNumberMetrics The percent change between the currentValue and previousValue. Decimal format.
The total value for the most recent window.
The total value for the previous window.
The list of aggregated values for each bucket.
sells
DetailedStatsNumberMetrics!
The number of sells over the window.
See DetailedStatsNumberMetrics The percent change between the currentValue and previousValue. Decimal format.
The total value for the most recent window.
The total value for the previous window.
The list of aggregated values for each bucket.
buyers
DetailedStatsNumberMetrics!
The number of unique buyers over the window.
See DetailedStatsNumberMetrics The percent change between the currentValue and previousValue. Decimal format.
The total value for the most recent window.
The total value for the previous window.
The list of aggregated values for each bucket.
sellers
DetailedStatsNumberMetrics!
The number of unique sellers over the window.
See DetailedStatsNumberMetrics The percent change between the currentValue and previousValue. Decimal format.
The total value for the most recent window.
The total value for the previous window.
The list of aggregated values for each bucket.
traders
DetailedStatsNumberMetrics
The number of unique traders over the window.
See DetailedStatsNumberMetrics The percent change between the currentValue and previousValue. Decimal format.
The total value for the most recent window.
The total value for the previous window.
The list of aggregated values for each bucket.
buyVolume
DetailedStatsStringMetrics
The buy volume over the window.
See DetailedStatsStringMetrics The percent change between the currentValue and previousValue. Decimal format.
The total value for the most recent window.
The total value for the previous window.
The list of aggregated values for each bucket.
sellVolume
DetailedStatsStringMetrics
The sell volume over the window.
See DetailedStatsStringMetrics The percent change between the currentValue and previousValue. Decimal format.
The total value for the most recent window.
The total value for the previous window.
The list of aggregated values for each bucket.
The breakdown of stats over a 4 hour window.
See WindowedDetailedStats The unix timestamp for the start of the window.
The unix timestamp for the end of the window.
buckets
[DetailedStatsBucketTimestamp]!
The list of start/end timestamps broken down for each bucket within the window.
See DetailedStatsBucketTimestamp The unix timestamp for the start of the bucket.
The unix timestamp for the start of the bucket.
transactions
DetailedStatsNumberMetrics!
The transaction count over the window.
See DetailedStatsNumberMetrics The percent change between the currentValue and previousValue. Decimal format.
The total value for the most recent window.
The total value for the previous window.
The list of aggregated values for each bucket.
volume
DetailedStatsStringMetrics!
The volume over the window.
See DetailedStatsStringMetrics The percent change between the currentValue and previousValue. Decimal format.
The total value for the most recent window.
The total value for the previous window.
The list of aggregated values for each bucket.
buys
DetailedStatsNumberMetrics!
The number of buys over the window.
See DetailedStatsNumberMetrics The percent change between the currentValue and previousValue. Decimal format.
The total value for the most recent window.
The total value for the previous window.
The list of aggregated values for each bucket.
sells
DetailedStatsNumberMetrics!
The number of sells over the window.
See DetailedStatsNumberMetrics The percent change between the currentValue and previousValue. Decimal format.
The total value for the most recent window.
The total value for the previous window.
The list of aggregated values for each bucket.
buyers
DetailedStatsNumberMetrics!
The number of unique buyers over the window.
See DetailedStatsNumberMetrics The percent change between the currentValue and previousValue. Decimal format.
The total value for the most recent window.
The total value for the previous window.
The list of aggregated values for each bucket.
sellers
DetailedStatsNumberMetrics!
The number of unique sellers over the window.
See DetailedStatsNumberMetrics The percent change between the currentValue and previousValue. Decimal format.
The total value for the most recent window.
The total value for the previous window.
The list of aggregated values for each bucket.
traders
DetailedStatsNumberMetrics
The number of unique traders over the window.
See DetailedStatsNumberMetrics The percent change between the currentValue and previousValue. Decimal format.
The total value for the most recent window.
The total value for the previous window.
The list of aggregated values for each bucket.
buyVolume
DetailedStatsStringMetrics
The buy volume over the window.
See DetailedStatsStringMetrics The percent change between the currentValue and previousValue. Decimal format.
The total value for the most recent window.
The total value for the previous window.
The list of aggregated values for each bucket.
sellVolume
DetailedStatsStringMetrics
The sell volume over the window.
See DetailedStatsStringMetrics The percent change between the currentValue and previousValue. Decimal format.
The total value for the most recent window.
The total value for the previous window.
The list of aggregated values for each bucket.
The breakdown of stats over a 12 hour window.
See WindowedDetailedStats The unix timestamp for the start of the window.
The unix timestamp for the end of the window.
buckets
[DetailedStatsBucketTimestamp]!
The list of start/end timestamps broken down for each bucket within the window.
See DetailedStatsBucketTimestamp The unix timestamp for the start of the bucket.
The unix timestamp for the start of the bucket.
transactions
DetailedStatsNumberMetrics!
The transaction count over the window.
See DetailedStatsNumberMetrics The percent change between the currentValue and previousValue. Decimal format.
The total value for the most recent window.
The total value for the previous window.
The list of aggregated values for each bucket.
volume
DetailedStatsStringMetrics!
The volume over the window.
See DetailedStatsStringMetrics The percent change between the currentValue and previousValue. Decimal format.
The total value for the most recent window.
The total value for the previous window.
The list of aggregated values for each bucket.
buys
DetailedStatsNumberMetrics!
The number of buys over the window.
See DetailedStatsNumberMetrics The percent change between the currentValue and previousValue. Decimal format.
The total value for the most recent window.
The total value for the previous window.
The list of aggregated values for each bucket.
sells
DetailedStatsNumberMetrics!
The number of sells over the window.
See DetailedStatsNumberMetrics The percent change between the currentValue and previousValue. Decimal format.
The total value for the most recent window.
The total value for the previous window.
The list of aggregated values for each bucket.
buyers
DetailedStatsNumberMetrics!
The number of unique buyers over the window.
See DetailedStatsNumberMetrics The percent change between the currentValue and previousValue. Decimal format.
The total value for the most recent window.
The total value for the previous window.
The list of aggregated values for each bucket.
sellers
DetailedStatsNumberMetrics!
The number of unique sellers over the window.
See DetailedStatsNumberMetrics The percent change between the currentValue and previousValue. Decimal format.
The total value for the most recent window.
The total value for the previous window.
The list of aggregated values for each bucket.
traders
DetailedStatsNumberMetrics
The number of unique traders over the window.
See DetailedStatsNumberMetrics The percent change between the currentValue and previousValue. Decimal format.
The total value for the most recent window.
The total value for the previous window.
The list of aggregated values for each bucket.
buyVolume
DetailedStatsStringMetrics
The buy volume over the window.
See DetailedStatsStringMetrics The percent change between the currentValue and previousValue. Decimal format.
The total value for the most recent window.
The total value for the previous window.
The list of aggregated values for each bucket.
sellVolume
DetailedStatsStringMetrics
The sell volume over the window.
See DetailedStatsStringMetrics The percent change between the currentValue and previousValue. Decimal format.
The total value for the most recent window.
The total value for the previous window.
The list of aggregated values for each bucket.
The breakdown of stats over a 24 hour window.
See WindowedDetailedStats The unix timestamp for the start of the window.
The unix timestamp for the end of the window.
buckets
[DetailedStatsBucketTimestamp]!
The list of start/end timestamps broken down for each bucket within the window.
See DetailedStatsBucketTimestamp The unix timestamp for the start of the bucket.
The unix timestamp for the start of the bucket.
transactions
DetailedStatsNumberMetrics!
The transaction count over the window.
See DetailedStatsNumberMetrics The percent change between the currentValue and previousValue. Decimal format.
The total value for the most recent window.
The total value for the previous window.
The list of aggregated values for each bucket.
volume
DetailedStatsStringMetrics!
The volume over the window.
See DetailedStatsStringMetrics The percent change between the currentValue and previousValue. Decimal format.
The total value for the most recent window.
The total value for the previous window.
The list of aggregated values for each bucket.
buys
DetailedStatsNumberMetrics!
The number of buys over the window.
See DetailedStatsNumberMetrics The percent change between the currentValue and previousValue. Decimal format.
The total value for the most recent window.
The total value for the previous window.
The list of aggregated values for each bucket.
sells
DetailedStatsNumberMetrics!
The number of sells over the window.
See DetailedStatsNumberMetrics The percent change between the currentValue and previousValue. Decimal format.
The total value for the most recent window.
The total value for the previous window.
The list of aggregated values for each bucket.
buyers
DetailedStatsNumberMetrics!
The number of unique buyers over the window.
See DetailedStatsNumberMetrics The percent change between the currentValue and previousValue. Decimal format.
The total value for the most recent window.
The total value for the previous window.
The list of aggregated values for each bucket.
sellers
DetailedStatsNumberMetrics!
The number of unique sellers over the window.
See DetailedStatsNumberMetrics The percent change between the currentValue and previousValue. Decimal format.
The total value for the most recent window.
The total value for the previous window.
The list of aggregated values for each bucket.
traders
DetailedStatsNumberMetrics
The number of unique traders over the window.
See DetailedStatsNumberMetrics The percent change between the currentValue and previousValue. Decimal format.
The total value for the most recent window.
The total value for the previous window.
The list of aggregated values for each bucket.
buyVolume
DetailedStatsStringMetrics
The buy volume over the window.
See DetailedStatsStringMetrics The percent change between the currentValue and previousValue. Decimal format.
The total value for the most recent window.
The total value for the previous window.
The list of aggregated values for each bucket.
sellVolume
DetailedStatsStringMetrics
The sell volume over the window.
See DetailedStatsStringMetrics The percent change between the currentValue and previousValue. Decimal format.
The total value for the most recent window.
The total value for the previous window.
The list of aggregated values for each bucket.
Arguments The ID of the pair (address:networkId).
The token of interest used to calculate token-specific stats for the pair. Can be token0 or token1.
See TokenOfInterest The unix timestamp for the stats. Defaults to current.
windowSizes
[DetailedStatsWindowSize]
The number of aggregated values to receive. Note: Each duration has predetermined bucket sizes. The first n-1 buckets are historical. The last bucket is a snapshot of current data. duration day1: 6 buckets (4 hours each) plus 1 partial bucket duration hour12: 12 buckets (1 hour each) plus 1 partial bucket duration hour4: 8 buckets (30 min each) plus 1 partial bucket duration hour1: 12 buckets (5 min each) plus 1 partial bucket duration min5: 5 buckets (1 min each) plus 1 partial bucket For example, requesting 11 buckets for a min5 duration will return the last 10 minutes worth of data plus a snapshot for the current minute.