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

<div data-generated>
  ## 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](/api-reference/queries/getdetailedpairsstats.md): Returns bucketed stats for a given token within a list of pairs.
</div>
