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

# TokenSparkline

> A sparkline for a token.

<div data-generated>
  ## GraphQL

  ```
  type TokenSparkline {
    id: String!
    resolution: String!
    attribute: SparklineAttribute
    sparkline: [SparklineValue!]!
  }

  enum SparklineAttribute {
    PRICE
  }

  type SparklineValue {
    timestamp: Int!
    value: Float!
  }
  ```

  ### Used By

  **Returned by**

  * [tokenSparklines](/api-reference/queries/tokensparklines.md): Returns a list of token simple chart data (sparklines) for the given tokens.
</div>
