Cambrian V3 - Pool Info API

By Cambrian Network base

GET /api/v1/evm/alien/v3/pool

V3 Pool Info (Alien Base)

Overview

Returns current-state and time-windowed analytics for a specific AlienBase V3 liquidity pool on an EVM chain. Metrics include TVL, swap volume, fee APR, price volatility (raw and mean-adjusted), tick pressure per $1M volume, swap count, and unique user count across six rolling windows (5 minutes, 1 hour, 1 day, 1 week, 1 month, 1 year).

Business Value

  • Real-time Pool Analytics: Get up-to-date metrics for liquidity pools to assess performance and activity levels
  • Multi-timeframe Analysis: Access data across different time horizons for comprehensive trend analysis and market timing
  • Liquidity Provider Insights: Monitor TVL, fees, and utilization metrics to optimize liquidity provision strategies
  • Trading Intelligence: Track swap volumes and user activity to identify high-volume and active pools for trading opportunities
  • Risk Assessment: Evaluate pool health through tick utilization and liquidity distribution metrics

Endpoint Details

URL:

https://api.cambrian.org/evm/alien/v3/pool

Method: GET
Authentication: Required via X-API-Key header

Query Parameters

Parameter Type Required Default Description
chain_id integer No 8453 EVM chain ID.
pool_address string Yes - Pool address with 0x prefix

Response Field Descriptions

Response Field Type Description
createdAt DateTime('UTC') Timestamp when the pool was created
token0Address String Contract address of token0
token0Symbol String Symbol of token0
token0Decimals UInt8 Decimal places of token0
token1Address String Contract address of token1
token1Symbol String Symbol of token1
token1Decimals UInt8 Decimal places of token1
feeTier UInt32 Pool fee tier (in hundredths of a bip)
tickSpacing Int32 Minimum tick spacing for the pool
currentLiquidity Nullable(Int256) Current in-range liquidity of the pool
currentSqrtPriceX96 Nullable(UInt256) Current sqrt price in X96 fixed-point format
currentTick Nullable(Int32) Current tick of the pool
currentPoolPrice Nullable(Float64) Current pool price (token1 per token0)
poolTvlUsd Nullable(Float64) Current total value locked in the pool, in USD
swapVolumeUsd Map(String,Nullable(Float64)) Swap volume in USD, keyed by time window (5 minute, 1 hour, 1 day, 1 week, 1 month, 1 year)
feeApr Map(String,Nullable(Float64)) Fee-based annual percentage rate, keyed by time window
priceVolatilityPct Map(String,Float64) Price volatility percentage, keyed by time window
priceVolatilityAdjustedPct Map(String,Float64) Mean-adjusted price volatility percentage, keyed by time window
tickPressurePer1MUsd Map(String,Nullable(Float64)) Tick pressure per $1M of volume, keyed by time window
swapCount Map(String,UInt64) Number of swaps, keyed by time window
uniqueUserCount Map(String,UInt64) Number of unique users, keyed by time window

Examples

1. Fetch Pool Info for EURC/USDC Pool

This example retrieves current TVL, price, and time-windowed metrics for a stablecoin pair pool (EURC/USDC) on Base.

curl -X GET "https://api.cambrian.org/evm/alien/v3/pool?chain_id=8453&pool_address=0x63170b42585b86e3c439820ade18fbd07a8933cd" \
  -H "X-API-Key: YOUR_API_KEY" \
  -H "Content-Type: application/json"

Response:

[
  {
    "columns": [
      { "name": "createdAt", "type": "DateTime('UTC')" },
      { "name": "token0Address", "type": "String" },
      { "name": "token0Symbol", "type": "String" },
      { "name": "token0Decimals", "type": "UInt8" },
      { "name": "token1Address", "type": "String" },
      { "name": "token1Symbol", "type": "String" },
      { "name": "token1Decimals", "type": "UInt8" },
      { "name": "feeTier", "type": "UInt32" },
      { "name": "tickSpacing", "type": "Int32" },
      { "name": "currentLiquidity", "type": "Nullable(Int256)" },
      { "name": "currentSqrtPriceX96", "type": "Nullable(UInt256)" },
      { "name": "currentTick", "type": "Nullable(Int32)" },
      { "name": "currentPoolPrice", "type": "Nullable(Float64)" },
      { "name": "poolTvlUsd", "type": "Nullable(Float64)" },
      { "name": "swapVolumeUsd", "type": "Map(String,Nullable(Float64))" },
      { "name": "feeApr", "type": "Map(String,Nullable(Float64))" },
      { "name": "priceVolatilityPct", "type": "Map(String,Float64)" },
      { "name": "priceVolatilityAdjustedPct", "type": "Map(String,Float64)" },
      { "name": "tickPressurePer1MUsd", "type": "Map(String,Nullable(Float64))" },
      { "name": "swapCount", "type": "Map(String,UInt64)" },
      { "name": "uniqueUserCount", "type": "Map(String,UInt64)" }
    ],
    "data": [
      [
        "2024-09-11T18:27:29+00:00",
        "0x60a3e35cc302bfa44cb288bc5a4f316fdb1adb42",
        "EURC",
        6,
        "0x833589fcd6edb6e08f4c7c32d4f71b54bda02913",
        "USDC",
        6,
        200,
        4,
        "10472813",
        "85042117852324013360279677254",
        1416,
        1.1521498477613974,
        25.29667234043353,
        {
          "1 day": 0.007334871200317039,
          "1 hour": 0,
          "1 month": 0.17332569448107238,
          "1 week": 0.09121907886901764,
          "1 year": 12.068390750089282,
          "5 minute": 0
        },
        {
          "1 day": 2.1166641620577968e-05,
          "1 hour": 0,
          "1 month": 1.6444125976588614e-05,
          "1 week": 3.75021033387637e-05,
          "1 year": 9.541484814822451e-05,
          "5 minute": 0
        },
        {
          "1 day": 0,
          "1 hour": 0,
          "1 month": 0.006280861745086321,
          "1 week": 0.00319535547429214,
          "1 year": 0.27689133513102515,
          "5 minute": 0
        },
        {
          "1 day": 0,
          "1 hour": 0,
          "1 month": 0.0014359264150442907,
          "1 week": 0.0008205896363839643,
          "1 year": 0.019095402382108252,
          "5 minute": 0
        },
        {
          "1 day": 0,
          "1 hour": 0,
          "1 month": 203374347.38419232,
          "1 week": 172661248.01167503,
          "1 year": 330615745.1001064,
          "5 minute": 0
        },
        {
          "1 day": 1,
          "1 hour": 0,
          "1 month": 17,
          "1 week": 7,
          "1 year": 210,
          "5 minute": 0
        },
        {
          "1 day": 1,
          "1 hour": 0,
          "5 minute": 0
        }
      ]
    ],
    "rows": 1
  }
]

This EURC/USDC pool (0.02% fee tier) shows a current TVL of ~$25.30, with a tight price of ~1.152 and low volatility, typical of a low-liquidity stablecoin pair. Note that uniqueUserCount omits the "1 month" and "1 year" keys in the map for this pool — only windows with data are populated.

2. Fetch Pool Info for WETH/AERO Pool

This example retrieves current metrics for a more actively traded pair (WETH/AERO), demonstrating higher TVL and swap activity.

curl -X GET "https://api.cambrian.org/evm/alien/v3/pool?chain_id=8453&pool_address=0xddb12424d09dd35852fd5263485e7594c40555c7" \
  -H "X-API-Key: YOUR_API_KEY" \
  -H "Content-Type: application/json"

Response:

[
  {
    "columns": [
      { "name": "createdAt", "type": "DateTime('UTC')" },
      { "name": "token0Address", "type": "String" },
      { "name": "token0Symbol", "type": "String" },
      { "name": "token0Decimals", "type": "UInt8" },
      { "name": "token1Address", "type": "String" },
      { "name": "token1Symbol", "type": "String" },
      { "name": "token1Decimals", "type": "UInt8" },
      { "name": "feeTier", "type": "UInt32" },
      { "name": "tickSpacing", "type": "Int32" },
      { "name": "currentLiquidity", "type": "Nullable(Int256)" },
      { "name": "currentSqrtPriceX96", "type": "Nullable(UInt256)" },
      { "name": "currentTick", "type": "Nullable(Int32)" },
      { "name": "currentPoolPrice", "type": "Nullable(Float64)" },
      { "name": "poolTvlUsd", "type": "Nullable(Float64)" },
      { "name": "swapVolumeUsd", "type": "Map(String,Nullable(Float64))" },
      { "name": "feeApr", "type": "Map(String,Nullable(Float64))" },
      { "name": "priceVolatilityPct", "type": "Map(String,Float64)" },
      { "name": "priceVolatilityAdjustedPct", "type": "Map(String,Float64)" },
      { "name": "tickPressurePer1MUsd", "type": "Map(String,Nullable(Float64))" },
      { "name": "swapCount", "type": "Map(String,UInt64)" },
      { "name": "uniqueUserCount", "type": "Map(String,UInt64)" }
    ],
    "data": [
      [
        "2026-07-26T07:46:05+00:00",
        "0x4200000000000000000000000000000000000006",
        "WETH",
        18,
        "0x940181a94a35a4569e4529a3cdfb74e38fd98631",
        "AERO",
        18,
        750,
        15,
        "10313258915862161",
        "5378294517729380315740283171340",
        84360,
        4608.185933385387,
        0.1681031067826902,
        {
          "1 day": 0.0034108194532485227,
          "1 hour": 0,
          "1 month": 0.02945997094799778,
          "1 week": 0.02248861923624091,
          "1 year": 0.02945997094799778,
          "5 minute": 0
        },
        {
          "1 day": 0.005554399577717552,
          "1 hour": 0,
          "1 month": 0.001577244725611947,
          "1 week": 0.005217370261616767,
          "1 year": 0.00013143706046766224,
          "5 minute": 0
        },
        {
          "1 day": 0,
          "1 hour": 0,
          "1 month": 0,
          "1 week": 0,
          "1 year": 0,
          "5 minute": 0
        },
        {
          "1 day": 0,
          "1 hour": 0,
          "1 month": 0,
          "1 week": 0,
          "1 year": 0,
          "5 minute": 0
        },
        {
          "1 day": 0,
          "1 hour": 0,
          "1 month": 0,
          "1 week": 0,
          "1 year": 0,
          "5 minute": 0
        },
        {
          "1 day": 1,
          "1 hour": 0,
          "1 month": 13,
          "1 week": 9,
          "1 year": 13,
          "5 minute": 0
        },
        {
          "1 day": 1,
          "1 hour": 0,
          "5 minute": 0
        }
      ]
    ],
    "rows": 1
  }
]

This WETH/AERO pool (0.75% fee tier) was created recently and has a much higher implied price (~4608 AERO per WETH) and higher pool price magnitude than the stablecoin example, with zero recorded price volatility so far — consistent with a newly created pool with limited trading history.

Note: Result collections in the examples above are limited to their first 10 items (this endpoint returns a single row per request, so no truncation was needed here).

x402 Payment Option

This endpoint supports pay-per-use access via the x402 payment protocol (v2) — pay $0.05 USDC per request using blockchain micropayments. No API key required.

Quick Start (TypeScript)

npm install @x402/fetch @x402/evm viem
import { x402Client } from "@x402/core/client";
import { ExactEvmScheme } from "@x402/evm/exact/client";
import { wrapFetchWithPayment } from "@x402/fetch";
import { privateKeyToAccount } from "viem/accounts";

const signer = privateKeyToAccount(process.env.EVM_PRIVATE_KEY as `0x${string}`);
const client = new x402Client();
client.register("eip155:*", new ExactEvmScheme(signer));

const fetchWithPayment = wrapFetchWithPayment(fetch, client);
const response = await fetchWithPayment(
  "https://x402.cambrian.org/evm/alien/v3/pool"
);
const data = await response.json();

Quick Start (Python)

pip install "x402[httpx]"
import asyncio, os
from eth_account import Account
from x402 import x402Client
from x402.http.clients import x402HttpxClient
from x402.mechanisms.evm import EthAccountSigner
from x402.mechanisms.evm.exact.register import register_exact_evm_client

async def main():
    client = x402Client()
    account = Account.from_key(os.getenv("EVM_PRIVATE_KEY"))
    register_exact_evm_client(client, EthAccountSigner(account))

    async with x402HttpxClient(client) as http:
        response = await http.get("https://x402.cambrian.org/evm/alien/v3/pool")
        print(response.json())

asyncio.run(main())

Payment Flow

  1. Send a normal request to the endpoint (no API key needed)
  2. Server returns 402 Payment Required with payment details
  3. The x402 SDK automatically signs a payment authorization with your wallet
  4. The SDK resubmits the request with the signed payment
  5. Server verifies payment and returns the API response

The x402 SDK handles steps 2–5 automatically.

Network: Base (chain ID 8453) | Currency: USDC | Price: $0.05 per request


Related Endpoints

  • /evm/alien/v3/pools - Returns a list of all liquidity pools, including token pairs, fee tiers, and creation timestamps.
  • /evm/uniswap/v3/pool - Returns current pool TVL, swap volume, fee APR, and volatility metrics for a Uniswap V3 pool.
  • /evm/aero/v3/pool - Returns current pool TVL, swap volume, and volatility metrics for an Aerodrome V3 pool.
  • /evm/sushi/v3/pool - Returns current pool TVL, swap volume, fee APR, and volatility metrics for a SushiSwap V3 pool.
  • /evm/price-current - Returns current price of a token calculated based on Uniswap V3 and clones liquidity pools.