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

# GetPriceInput

> Input type of `getTokenPrices`. Reference for the GetPriceInput input object in the Codex API: every field, its type, and the operations that accept it.

## GraphQL

```
input GetPriceInput {
  address: String!
  networkId: Int!
  timestamp: Int
  poolAddress: String
  blockNumber: Int
}
```

### Used By

**Used as input by**

* [getTokenPrices](https://docs.codex.io/api-reference/queries/gettokenprices.md): Returns real-time or historical prices for a list of tokens, fetched in batches.


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