Gateway CLMM

Get Clmm Pool Info

Changed on

Get detailed information about a CLMM pool by pool address.

Args: connector: CLMM connector (e.g., 'meteora', 'raydium') network: Network ID in 'chain-network' format (e.g., 'solana-mainnet-beta') pool_address: Pool contract address bin_count: If > 0, include the per-tick liquidity distribution (bins) around the active tick. Meteora always returns its bins and ignores this; orca, raydium, uniswap and pancakeswap honour it.

Example: GET /gateway/clmm/pool-info?connector=meteora&network=solana-mainnet-beta &pool_address=2sf5NYcY4zUPXUSmG6f66mskb24t5F8S11pC1Nz5nQT3

Returns: Pool information including liquidity, price, bins (for Meteora), etc. All field names are returned in snake_case format.

get/gateway/clmm/pool-info

Request

  • Base URL
    http://localhost:8000
  • URL
    http://localhost:8000/gateway/clmm/pool-info
  • Auth
    HTTP basic

Query parameters

connectorstring required
networkstring required
pool_addressstring required
bin_countinteger

Response

Successful Response

addressstring required

Pool address

baseTokenAddressstring required

Base token contract address

quoteTokenAddressstring required

Quote token contract address

binStepinteger nullable

Bin step (Meteora DLMM only)

feePctstring required

Pool fee percentage

pricestring required

Current pool price

baseTokenAmountstring required

Total base token liquidity

quoteTokenAmountstring required

Total quote token liquidity

activeBinIdinteger nullable

Currently active bin/tick ID

Example response

{
  "active_bin_id": -374,
  "address": "5hbf9JP8k5zdrZp9pokPypFQoBse5mGCmW6nqodurGcd",
  "base_token_address": "METvsvVRapdj9cFLzq4Tr43xK4tAjQfwX76z3n6mWQL",
  "base_token_amount": 8645709.142366,
  "bin_step": 20,
  "bins": [],
  "fee_pct": 0.2,
  "price": 0.47366592950616504,
  "quote_token_address": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
  "quote_token_amount": 1095942.335132
}

Changes

    • warning

      removed the optional property from the response with the status

    • warning

      removed the optional property from the response with the status

    • warning

      removed the optional property from the response with the status

    • info

      added the new optional query request parameter bin_count

    • info

      added the optional property // to the response with the status

    • info

      added the optional property // to the response with the status