> ## Documentation Index
> Fetch the complete documentation index at: https://docs.mobula.io/llms.txt
> Use this file to discover all available pages before exploring further.

# GetPriceInput

> Input for a single token price query; supports historical via timestamp or blockNumber.

### TypeScript shape

```ts theme={null}
interface GetPriceInput {
  address: string;
  networkId: number;
  timestamp?: number | null;
  poolAddress?: string | null;
  blockNumber?: number | null;
  maxDeviations?: number | null;
}
```

<ResponseField name="address" type="Address!" required>Token contract address.</ResponseField>
<ResponseField name="networkId" type="NetworkId!" required>Network ID (e.g. 1, 42161).</ResponseField>
<ResponseField name="timestamp" type="Int">Optional timestamp for historical pricing.</ResponseField>
<ResponseField name="poolAddress" type="Address">Optional pool address used for pricing.</ResponseField>
<ResponseField name="blockNumber" type="Int">Optional block number for historical pricing.</ResponseField>

<Warning>
  The following field is deprecated. It remains in the schema for backwards compatibility and may be removed in a future version.
</Warning>

<ResponseField name="maxDeviations" type="Float" deprecated>Deprecated — this isn't taken into account anymore.</ResponseField>
