Docs
Поиск⌘ K
  • Главная страница
  • О The Graph
  • Поддерживаемые сети
  • Protocol Contracts
  • Субграфы
    • Субпотоки
      • Token API
        • Hypergraph
          • AI Suite
            • Индексирование
              • Ресурсы
                Token API > svm-dexs

                Liquidity Pools

                GET/v1/svm/pools

                Returns AMM pool information from Solana DEX protocols with transaction counts.

                Параметры запроса

                ParameterОписаниеValue
                network
                string

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

                • Accepted values: solana
                Required
                solana
                amm
                string

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

                  amm_pool
                  string

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

                    input_mint
                    string

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

                      output_mint
                      string

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

                        program_id

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

                          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

                          СтатусОписание
                          200

                          Successful Response

                          400

                          Client side error

                          401

                          Authentication failed

                          403

                          Forbidden

                          404

                          Not found

                          500

                          Server side error

                          ⁠Редактировать на GitHub⁠

                          Pool OHLCV DataSwap Events
                          Test this endpoint

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

                          1{2  "data": [3    {4      "program_id": "JUP6LkbZbjS1jKKwapdHNy74zcZ3tLUZoi5QNyVTaV4",5      "program_name": "Jupiter Aggregator v6",6      "amm": "675kPX9MHTjS2zt1qfr1NYHuzeLXfQM9H24wFSUt1Mp8",7      "amm_name": "Raydium Liquidity Pool V4",8      "amm_pool": "",9      "input_mint": "So11111111111111111111111111111111111111112",10      "output_mint": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",11      "transactions": 6583671,12      "network": "solana"13    }14  ]15}
                          The GraphСтатусТестовая сетьБрундовые ресурсыФорумБезопасностьПолитика конфиденциальностиУсловия обслуживания