Cambrian Pool Info API

By Cambrian Network solana

GET /api/v1/solana/meteora-dlmm/pool

Meteora Pool Information

This endpoint returns basic pool information for a Meteora DLMM (Dynamic Liquidity Market Maker) pool on Solana. It provides comprehensive pool metrics including TVL, fees, volume, and trading statistics.

Business Value

  • Pool Analysis: Get comprehensive metrics for any Meteora DLMM pool including liquidity, fees, and volume data
  • Trading Intelligence: Access real-time pricing, volatility metrics, and active bin information for informed trading decisions
  • Liquidity Provider Insights: Monitor pool utilization, APR, and fee generation to optimize liquidity provision strategies
  • Market Research: Track pool creation dates, token pairs, and trading activity for market analysis
  • Risk Assessment: Evaluate price volatility and utilization metrics for risk management

Endpoint Details

URL:

https://opabinia.cambrian.network/api/v1/solana/meteora-dlmm/pool

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

Query Parameters

Parameter Type Required Default Description
pool_address string Yes - Pool identifier (Meteora DLMM pool address)

Response Field Descriptions

Response Field Type Description
chainId UInt16 Chain identifier (900 for Solana)
dexName String DEX name (Meteora)
poolAddress FixedString(44) Address of the pool contract
createdAt DateTime('UTC') Pool creation timestamp
token0Address FixedString(44) Address of the first token in the pair
token0Symbol String Symbol of the first token
token0Decimals UInt8 Decimal places for the first token
token1Address FixedString(44) Address of the second token in the pair
token1Symbol String Symbol of the second token
token1Decimals UInt8 Decimal places for the second token
activeBinId Int32 Current active bin ID for price discovery
currentPrice Float64 Current price of token0 in terms of token1
lastSwapTime DateTime('UTC') Timestamp of the last swap transaction
reserve0Address FixedString(44) Reserve address for token0
reserve1Address FixedString(44) Reserve address for token1
token0PriceUSD Float64 USD price of token0
token1PriceUSD Float64 USD price of token1
tvlToken0 Float64 Total value locked in token0
tvlToken1 Float64 Total value locked in token1
tvlUSD Float64 Total value locked in USD
feesToken0 Float64 Total fees collected in token0
feesToken1 Float64 Total fees collected in token1
fees24h Float64 Fees collected in the last 24 hours (USD)
volumeToken0 Float64 Total volume in token0
volumeToken1 Float64 Total volume in token1
volume24h Float64 Trading volume in the last 24 hours (USD)
apr24h Float64 Annualized percentage return over 24 hours
swaps24h UInt64 Number of swaps in the last 24 hours
binsUsed24h UInt64 Number of bins used in the last 24 hours
priceVolatility Float64 Price volatility metric
utilization24h Float64 Pool utilization percentage over 24 hours

Examples

1. Get SOL/USDC Pool Information

Retrieve detailed information for the SOL/USDC Meteora DLMM pool.

curl -X GET "https://opabinia.cambrian.network/api/v1/solana/meteora-dlmm/pool?pool_address=5rCf1DM8LjKTw4YqhnoLcngyZYeNnQqztScTogYHAS6" \
  -H "X-API-Key: YOUR_API_KEY" \
  -H "Content-Type: application/json"

Response:

{
  "columns": [
    {
      "name": "chainId",
      "type": "UInt16"
    },
    {
      "name": "dexName",
      "type": "String"
    },
    {
      "name": "poolAddress",
      "type": "FixedString(44)"
    },
    {
      "name": "createdAt",
      "type": "DateTime('UTC')"
    },
    {
      "name": "token0Address",
      "type": "FixedString(44)"
    },
    {
      "name": "token0Symbol",
      "type": "String"
    },
    {
      "name": "token0Decimals",
      "type": "UInt8"
    },
    {
      "name": "token1Address",
      "type": "FixedString(44)"
    },
    {
      "name": "token1Symbol",
      "type": "String"
    },
    {
      "name": "token1Decimals",
      "type": "UInt8"
    },
    {
      "name": "activeBinId",
      "type": "Int32"
    },
    {
      "name": "currentPrice",
      "type": "Float64"
    },
    {
      "name": "lastSwapTime",
      "type": "DateTime('UTC')"
    },
    {
      "name": "reserve0Address",
      "type": "FixedString(44)"
    },
    {
      "name": "reserve1Address",
      "type": "FixedString(44)"
    },
    {
      "name": "token0PriceUSD",
      "type": "Float64"
    },
    {
      "name": "token1PriceUSD",
      "type": "Float64"
    },
    {
      "name": "tvlToken0",
      "type": "Float64"
    },
    {
      "name": "tvlToken1",
      "type": "Float64"
    },
    {
      "name": "tvlUSD",
      "type": "Float64"
    },
    {
      "name": "feesToken0",
      "type": "Float64"
    },
    {
      "name": "feesToken1",
      "type": "Float64"
    },
    {
      "name": "fees24h",
      "type": "Float64"
    },
    {
      "name": "volumeToken0",
      "type": "Float64"
    },
    {
      "name": "volumeToken1",
      "type": "Float64"
    },
    {
      "name": "volume24h",
      "type": "Float64"
    },
    {
      "name": "apr24h",
      "type": "Float64"
    },
    {
      "name": "swaps24h",
      "type": "UInt64"
    },
    {
      "name": "binsUsed24h",
      "type": "UInt64"
    },
    {
      "name": "priceVolatility",
      "type": "Float64"
    },
    {
      "name": "utilization24h",
      "type": "Float64"
    }
  ],
  "data": [
    [
      900,
      "Meteora",
      "5rCf1DM8LjKTw4YqhnoLcngyZYeNnQqztScTogYHAS6",
      "2024-03-30T02:47:42+00:00",
      "So11111111111111111111111111111111111111112",
      "SOL",
      9,
      "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
      "USDC",
      6,
      -5161,
      126.94679338040754,
      "2026-01-28T14:06:13+00:00",
      "EYj9xKw6ZszwpyNibHY7JD5o3QgTVrSdcBp1fMJhrR9o",
      "CoaxzEh8p5YyGLcj36Eo3cUThVJxeKCs7qvLAGDYwBcz",
      126.91424121601018,
      1.0,
      14649.705591441,
      574395.887444,
      2433652.1566196764,
      27.681777437,
      3629.115885,
      7142.327663927326,
      133869.961241908,
      16884232.582765,
      16990004.552633446,
      107.120879631151,
      9765,
      97,
      25.08146729369073,
      100.0
    ]
  ],
  "rows": 1
}

This response shows comprehensive information for the SOL/USDC Meteora pool with over $2.4M in TVL, recent trading activity of $17M in 24h volume, and a 107% APR.

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://deep42.cambrian.network/api/v1/solana/meteora-dlmm/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://deep42.cambrian.network/api/v1/solana/meteora-dlmm/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

  • /api/v1/solana/ohlcv/pool - Retrieve OHLCV data for individual pool contracts
  • /api/v1/solana/ohlcv/base-quote - Get granular OHLCV data with separate base and quote token volumes
  • /api/v1/solana/orca/pools - Retrieve list of all Orca pools
  • /api/v1/solana/pool-transactions - Get pool transaction data
  • /api/v1/solana/orca/pools/fee-metrics - Get core metrics for Orca Whirlpools