Docs
La Recherche⌘ K
  • Accueil
  • À propos de The Graph
  • Réseaux pris en charge
  • Contrats du Protocole
  • Subgraphs
    • Substreams
      • Token API
        • Hypergraph
          • AI Suite
            • Indexing
              • Resources
                Token API > SVM Endpoints

                Balances

                GET/balances/svm

                Provides Solana tokens balances by token account address.

                Paramètres de requête

                ParameterDescriptionValue
                network_id
                string

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

                • Default value: solana
                • Accepted values: solana
                Required
                solana
                owner
                string
                  Required
                  token_account
                  string

                  Filter by token account address

                    mint
                    string

                    Filter by mint address

                      program_id
                      string

                      Filter by program ID

                      • Accepted values: TokenzQdBNbLqP5VEhdkAS6EPFLC1PHnBqCXEpPxuEb, TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA
                      limit
                      integer

                      The maximum number of items returned in a single request.

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

                      The page number of the results to return.

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

                      Potential Responses

                      StatusDescription
                      200Successful Response
                      400Client side error
                      401Authentication failed
                      403Forbidden
                      404Not found
                      500Server side error
                      ⁠Edit on GitHub⁠

                      NFT SalesSolana Native Balances
                      Test this endpoint

                      1curl --request GET \2  --url 'https://token-api.thegraph.com/balances/svm?network_id=solana&limit=10&page=1' \3  --header 'Authorization: Bearer {token}'

                      1{2  "data": [3    {4      "last_update": "2025-09-05 16:15:35",5      "last_update_block_num": 364853324,6      "last_update_timestamp": 1757088935,7      "program_id": "TokenzQdBNbLqP5VEhdkAS6EPFLC1PHnBqCXEpPxuEb",8      "owner": "GXYBNgyYKbSLr938VJCpmGLCUaAHWsncTi7jDoQSdFR9",9      "token_account": "5UZfa66rzeDpD9wKs3Sn3iewmavxYvpAtiF2Lqd2n1wW",10      "mint": "pumpCmXqMfrsAkQ5r49WcJnRayYRqmXz6ae8H7H9Dfn",11      "amount": "142949333429",12      "value": 142949.333429,13      "decimals": 6,14      "name": "Pump",15      "symbol": "PUMP",16      "uri": "https://ipfs.io/ipfs/bafkreibcglldkfdekdkxgumlveoe6qv3pbiceypkwtli33clbzul7leo4m",17      "network_id": "solana"18    }19  ]20}
                      The GraphStatusTestnetActifs de la MarqueForumSécuritéPolitique de confidentialitéConditions d'utilisation