> 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-notional-ntoken-accounts.md). Agents can also search and read this documentation through its [MCP server](https://docs.notional.finance/v3-technical-docs/~gitbook/mcp).

# Fetch Notional nToken accounts

## Get Notional's nToken accounts balances

This query can be used to fetch nToken accounts positions:&#x20;

```
{
  accounts(where:{ systemAccountType: nToken}) {
    id
    balances {
      token{symbol}
      snapshots(first:1, orderBy:blockNumber, orderDirection:desc) {
        currentBalance
      }
    }
  }
}
```
