---
updatedAt: 2025-10-20T17:00:00.000Z
agentTools:
  projectIndex: https://b2b-api-arbitragescanner.readme.io/llms.txt
---

# Get Pool Market Stats

Returns aggregated market statistics for the specified liquidity pool. Includes transaction counts, trade volumes, and token reserves.

🛠️ Use Cases:
- Monitor trading activity and demand
- Track liquidity depth in real time
- Support dashboards for DEX analytics

# OpenAPI definition

```json
{
  "openapi": "3.1.0",
  "info": {
    "title": "Onchain indexed data API docs",
    "summary": "This document contains a description of all essential request and response schemes.",
    "version": "2.5",
    "x-logo": {
      "url": "https://s3.arbitragescanner.io/logo.png"
    }
  },
  "paths": {
    "/v1/{evm_chain}/pool/market_stats": {
      "get": {
        "tags": [
          "EVM:Dex"
        ],
        "summary": "Get Pool Market Stats",
        "description": "Returns aggregated market statistics for the specified liquidity pool. Includes transaction counts, trade volumes, and token reserves.\n\n🛠️ Use Cases:\n- Monitor trading activity and demand\n- Track liquidity depth in real time\n- Support dashboards for DEX analytics",
        "operationId": "get_evm_pool_market_stats_api_v1__evm_chain__pool_market_stats_get",
        "security": [
          {
            "ApiKeyAuth": []
          }
        ],
        "parameters": [
          {
            "name": "evm_chain",
            "in": "path",
            "required": true,
            "schema": {
              "$ref": "#/components/schemas/EvmChainEnum",
              "description": "Target blockchain network (e.g., ethereum, polygon, bsc).",
              "examples": [
                "ethereum"
              ]
            },
            "description": "Target blockchain network (e.g., ethereum, polygon, bsc)."
          },
          {
            "name": "pool_address",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string",
              "minLength": 1,
              "description": "Liquidity pool smart contract address (e.g., Uniswap V2 Pair or V3 Pool).",
              "examples": [
                "0x8ad599c3a0ff1de082011efddc58f1908eb6e6d8"
              ],
              "title": "Pool Address"
            },
            "description": "Liquidity pool smart contract address (e.g., Uniswap V2 Pair or V3 Pool)."
          }
        ],
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/EthPoolMarketStats"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        }
      }
    }
  },
  "components": {
    "schemas": {
      "EthPoolMarketStats": {
        "properties": {
          "token0_amount": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "title": "Token0 Amount",
            "description": "Current amount of token0 held in the pool.",
            "examples": [
              872000
            ]
          },
          "token1_amount": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "title": "Token1 Amount",
            "description": "Current amount of token1 held in the pool.",
            "examples": [
              432.12
            ]
          },
          "total_tx_count": {
            "type": "integer",
            "title": "Total Tx Count",
            "description": "Total number of swap transactions in the pool.",
            "examples": [
              15842
            ]
          },
          "sell_tx_count": {
            "type": "integer",
            "title": "Sell Tx Count",
            "description": "Number of sell (token0 → token1) swaps.",
            "examples": [
              7452
            ]
          },
          "buy_tx_count": {
            "type": "integer",
            "title": "Buy Tx Count",
            "description": "Number of buy (token1 → token0) swaps.",
            "examples": [
              8390
            ]
          },
          "liquidity_usd": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "title": "Liquidity Usd",
            "description": "Total current liquidity in the pool (in USD). May be null if price data unavailable.",
            "examples": [
              1215432.45
            ]
          },
          "trade_volume_usd_1m": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "title": "Trade Volume Usd 1M",
            "description": "Trade volume over the last 1 minute (USD).",
            "examples": [
              253.65
            ]
          },
          "trade_volume_usd_5m": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "title": "Trade Volume Usd 5M",
            "description": "Trade volume over the last 5 minutes (USD).",
            "examples": [
              1200
            ]
          },
          "trade_volume_usd_1h": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "title": "Trade Volume Usd 1H",
            "description": "Trade volume over the last 1 hour (USD).",
            "examples": [
              10450.3
            ]
          },
          "trade_volume_usd_6h": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "title": "Trade Volume Usd 6H",
            "description": "Trade volume over the last 6 hours (USD).",
            "examples": [
              55800.75
            ]
          },
          "trade_volume_usd_24h": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "title": "Trade Volume Usd 24H",
            "description": "Trade volume over the last 24 hours (USD).",
            "examples": [
              304500.1
            ]
          },
          "liquidity_providers_count": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Liquidity Providers Count",
            "description": "Number of unique addresses that have provided liquidity to the pool.",
            "examples": [
              4283
            ]
          },
          "total_supply": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "title": "Total Supply",
            "description": "Total LP token supply in the pool. May be null.",
            "examples": [
              1000000
            ]
          },
          "burned_supply": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "title": "Burned Supply",
            "description": "Burned pool LP token supply. May be null.",
            "examples": [
              1000000
            ]
          },
          "pool_price": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "title": "Pool Price",
            "description": "Pool internal price. May be null.",
            "examples": [
              1000000
            ]
          },
          "pool_price_usd": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "title": "Pool Price Usd",
            "description": "Pool internal price in USD. May be null.",
            "examples": [
              1000000
            ]
          }
        },
        "type": "object",
        "required": [
          "token0_amount",
          "token1_amount",
          "total_tx_count",
          "sell_tx_count",
          "buy_tx_count",
          "liquidity_providers_count"
        ],
        "title": "EthPoolMarketStats"
      },
      "EvmChainEnum": {
        "type": "string",
        "enum": [
          "ethereum"
        ],
        "title": "EvmChainEnum"
      },
      "HTTPValidationError": {
        "properties": {
          "detail": {
            "items": {
              "$ref": "#/components/schemas/ValidationError"
            },
            "type": "array",
            "title": "Detail"
          }
        },
        "type": "object",
        "title": "HTTPValidationError"
      },
      "ValidationError": {
        "properties": {
          "loc": {
            "items": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "integer"
                }
              ]
            },
            "type": "array",
            "title": "Location"
          },
          "msg": {
            "type": "string",
            "title": "Message"
          },
          "type": {
            "type": "string",
            "title": "Error Type"
          }
        },
        "type": "object",
        "required": [
          "loc",
          "msg",
          "type"
        ],
        "title": "ValidationError"
      }
    },
    "securitySchemes": {
      "ApiKeyAuth": {
        "type": "apiKey",
        "name": "X-API-Key",
        "in": "header"
      }
    }
  },
  "tags": [
    {
      "name": "EVM:Dex",
      "description": "Various dex related data."
    }
  ],
  "security": [
    {
      "ApiKeyAuth": []
    }
  ],
  "servers": [
    {
      "url": "https://b2b.api.arbitragescanner.io/api/onchain/"
    }
  ]
}
```