Docs
搜索⌘ K
  • 主页
  • 关于 The Graph
  • 支持的网络
  • 协议合约
  • 子图
    • 子流
      • 代币 API
        • AI Suite
          • 索引
            • 资源
              代币 API > EVM端点

              Liquidity Pools

              GET/pools/evm

              Provides Uniswap V2 & V3 liquidity pool metadata.

              查询参数

              参数描述值
              network_id
              string

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

              • 默认值: mainnet
              • 可选值: arbitrum-one, avalanche, base, bsc, mainnet, matic, optimism, unichain
              必填
              mainnet
              pool
              string

              Filter by pool address

                factory
                string

                Filter by address

                  token
                  string

                  Filter by contract address

                    protocol
                    string

                    Protocol name

                    • 可选值: uniswap_v2, uniswap_v3, uniswap_v4
                    limit
                    integer

                    The maximum number of items returned in a single request.

                    • 默认值: 10
                    • 最小值: 1
                    • 最大值: 1000
                    page
                    integer

                    The page number of the results to return.

                    • 默认值: 1
                    • 最小值: 1
                    • 最大值: 767465558638

                    可能的反应

                    状态描述
                    200Successful Response
                    400Client side error
                    401Authentication failed
                    403Forbidden
                    404Not found
                    500Server side error
                    ⁠在GitHub上编辑⁠

                    OHLCV by PoolSwap Events
                    测试此终点

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

                    1{2  "data": [3    {4      "block_num": 23039540,5      "datetime": "2025-07-31 14:00:11",6      "transaction_id": "0xd9a2023a8cb1e49639bdab160dc5e706200b10b3bde91709fa41ab7ef44af58f",7      "factory": "0x000000000004444c5dc75cb358380d2e3de08a90",8      "pool": "0x3bdd63a1dcf34df8f6a568092646c6d49e482ecf3b824c06b352b7e37f96c3b8",9      "token0": {10        "address": "0x7f39c581f595b53c5cb19bd0b3f8da6c935e2ca0",11        "symbol": "wstETH",12        "decimals": 1813      },14      "token1": {15        "address": "0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2",16        "symbol": "WETH",17        "decimals": 1818      },19      "fee": 50,20      "protocol": "uniswap_v4",21      "network_id": "mainnet"22    }23  ]24}
                    The GraphStatusTestnetBrand AssetsForum安全Privacy PolicyTerms of Service