Docs
Search⌘ K
  • Home
  • About The Graph
  • Supported Networks
  • Protocol Contracts
  • Subgraphs
    • Substreams
      • Token API
        • Hypergraph
          • AI Suite
            • Indexing
              • Graph Horizon
                • Resources
                  Token API > SVM DEX Endpoints

                  Liquidity Pools

                  GET/v1/svm/pools

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

                  Query Parameters

                  ParameterDescriptionValue
                  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.

                      mint
                      string

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

                        program_id
                        string

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

                          protocol
                          string

                          Protocol name

                          • Accepted values: pumpfun, pumpfun_amm, raydium_amm_v4, raydium_clmm, raydium_cpmm, raydium_launchpad, meteora_dllm, orca_whirlpool, boop, darklake, dumpfun
                          raydium_amm_v4
                          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⁠

                          Supported DEXsPool OHLCV Data
                          Test this endpoint

                          1curl --request GET \2  --url 'https://token-api.thegraph.com/v1/svm/pools?network=solana&amm=675kPX9MHTjS2zt1qfr1NYHuzeLXfQM9H24wFSUt1Mp8&mint=So11111111111111111111111111111111111111112&program_id=JUP6LkbZbjS1jKKwapdHNy74zcZ3tLUZoi5QNyVTaV4&protocol=raydium_amm_v4&limit=10&page=1' \3  --header 'Authorization: Bearer {token}'

                          1{2  "data": [3    {4      "program_id": "675kPX9MHTjS2zt1qfr1NYHuzeLXfQM9H24wFSUt1Mp8",5      "program_name": "Raydium Liquidity Pool V4",6      "protocol": "raydium_amm_v4",7      "amm": "675kPX9MHTjS2zt1qfr1NYHuzeLXfQM9H24wFSUt1Mp8",8      "amm_name": "Raydium Liquidity Pool V4",9      "amm_pool": "Dqb7bL7MZkuDgHrZZphRMRViJnepHxf9odx3RRwmifur",10      "input_mint": "9bJKq2eLbLFKbcD9zYBNTrQ5Pua7hXMeivu7Fk3iWWoQ",11      "output_mint": "Fm34vVNQYoEkenNjCeM8MVP8mBV5EGLwA86WFHwyMcz4",12      "transactions": 43062555,13      "network": "solana"14    }15  ]16}
                          The GraphStatusTestnetBrand AssetsForumSecurityPrivacy PolicyTerms of Service