> For the complete documentation index, see [llms.txt](https://docs.notional.finance/v3-technical-docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.notional.finance/v3-technical-docs/subgraph-guides/notional-v3-subgraphs/fetch-historical-ntoken-exchange-rates.md).

# Fetch Historical nToken Exchange Rates

## Get nToken to underlying historical exchange rates&#x20;

This query can be used to get the historical exchange rates between an underlying currency and an nToken PV:

```
{
oracles(where:{oracleType:"nTokenToUnderlyingExchangeRate"}){
  base{symbol}
  latestRate
}
}
```
