Docs
Search⌘ K
  • Home
  • About The Graph
  • Supported Networks
  • Protocol Contracts
  • Subgraphs
    • Substreams
      • Token API
        • Hypergraph
          • AI Suite
            • Indexing
              • Graph Horizon
                • Resources
                  Token API > EVM Token Endpoints (ERC-20)

                  Historical Balances

                  GET/v1/evm/balances/historical

                  Returns wallet token balance changes over time in OHLCV format.

                  OHLCV historical depth is subject to plan restrictions.

                  Query Parameters

                  ParameterDescriptionValue
                  network
                  string

                  The Graph Network ID for EVM networks https://thegraph.com/networks

                  • Accepted values: arbitrum-one, avalanche, base, bsc, mainnet, optimism, polygon, unichain
                  Required
                  mainnet
                  address
                  string

                  Filter by address

                    Required
                    contract
                    string

                    Filter by contract address
                    Single value or array of values* (separate multiple values with ,)
                    *Plan restricted.

                      interval
                      string

                      The interval* for which to aggregate price data (hourly, 4-hours, daily or weekly).
                      *Plan restricted.

                      • Default value: 1d
                      • Accepted values: 1h, 4h, 1d, 1w
                      1d
                      start_time
                      string

                      UNIX timestamp in seconds or date string (e.g. "2025-01-01T00:00:00Z", "2025-01-01", ...).

                        end_time
                        string

                        UNIX timestamp in seconds or date string (e.g. "2025-01-01T00:00:00Z", "2025-01-01", ...).

                          limit
                          integer

                          Number of items* returned in a single request.
                          *Plan restricted.

                          • Default value: 10
                          • Minimum value: 1
                          • Maximum value: 1000
                          page
                          integer

                          Page number to fetch.
                          Empty data array signifies end of results.

                          • Default value: 1
                          • Minimum value: 1
                          • Maximum value: 767465558638

                          Potential Responses

                          StatusDescription
                          200

                          Successful Response

                          400

                          Client side error

                          401

                          Authentication failed

                          403

                          Forbidden

                          404

                          Not found

                          500

                          Server side error

                          ⁠Edit on GitHub⁠

                          Token BalancesNative Metadata
                          Test this endpoint

                          1curl --request GET \2  --url 'https://token-api.thegraph.com/v1/evm/balances/historical?network=mainnet&address=0xd8da6bf26964af9d7eed9e03e53415d37aa96045&contract=0xdac17f958d2ee523a2206206994597c13d831ec7&interval=1d&limit=10&page=1' \3  --header 'Authorization: Bearer {token}'

                          1{2  "data": [3    {4      "datetime": "2026-01-09 00:00:00",5      "address": "0xd8da6bf26964af9d7eed9e03e53415d37aa96045",6      "contract": "0xdac17f958d2ee523a2206206994597c13d831ec7",7      "open": 269.18034,8      "high": 269.18034,9      "low": 269.18034,10      "close": 269.18034,11      "name": "Tether USD",12      "symbol": "USDT",13      "decimals": 6,14      "network": "mainnet"15    }16  ]17}
                          The GraphStatusTestnetBrand AssetsForumSecurityPrivacy PolicyTerms of Service