> ## 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.

# GetDetailedPairsStatsInput

> Input type of `getDetailedPairsStats`. GetDetailedPairsStatsInput input object reference: every field and its type.

## GraphQL

```
input GetDetailedPairsStatsInput {
  pairAddress: String!
  networkId: Int!
  tokenOfInterest: TokenOfInterest
  timestamp: Int
  durations: [DetailedPairStatsDuration]
  bucketCount: Int
  statsType: TokenPairStatisticsType
}

enum TokenOfInterest {
  token0
  token1
}

enum DetailedPairStatsDuration {
  day30
  week1
  day1
  hour12
  hour4
  hour1
  min15
  min5
}

enum TokenPairStatisticsType {
  FILTERED
  UNFILTERED
}
```

### Used By

**Used as input by**

* [getDetailedPairsStats](https://docs.codex.io/api-reference/queries/getdetailedpairsstats.md): Returns bucketed stats for a given token within a list of pairs.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.