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

# Price

> Real-time or historical prices for a token. Reference for the Price type in the Codex API: every field, its type, and the operations that return it.

<div data-generated>
  ## GraphQL

  ```
  type Price {
    address: String!
    timestamp: Int
    networkId: Int!
    priceUsd: Float!
    blockNumber: Int
    liquidityUsd: String
    priceChange24: Float
  }
  ```

  ### Used By

  **Returned by**

  * [getTokenPrices](/api-reference/queries/gettokenprices.md): Returns real-time or historical prices for a list of tokens, fetched in batches.
  * [onPricesUpdated](/api-reference/subscriptions/onpricesupdated.md): Live-streamed price updates for multiple tokens.
  * [onPriceUpdated](/api-reference/subscriptions/onpriceupdated.md): Live-streamed price updates for a token.
</div>


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