Cambrian Pool Info API

By Cambrian Network solana

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

Meteora DLMM Pool Info

Overview

Returns basic pool information for a Meteora DLMM (Dynamic Liquidity Market Maker) pool on Solana. This includes token pair details, current price and active bin, liquidity (TVL), fees, volume, and APR metrics for the specified pool.

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://api.cambrian.org/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

Response Field Descriptions

Response Field Type Description
chainId UInt16 Numeric identifier of the blockchain the pool resides on
dexName String Name of the DEX the pool belongs to
poolAddress FixedString(44) On-chain address of the pool
createdAt DateTime('UTC') Timestamp when the pool was created
token0Address FixedString(44) Mint address of the first token in the pair
token0Symbol String Symbol of the first token in the pair
token0Decimals UInt8 Decimal precision of the first token
token1Address FixedString(44) Mint address of the second token in the pair
token1Symbol String Symbol of the second token in the pair
token1Decimals UInt8 Decimal precision of the second token
activeBinId Int32 Identifier of the currently active liquidity bin
currentPrice Float64 Current price of token0 denominated in token1
lastSwapTime DateTime('UTC') Timestamp of the most recent swap in the pool
reserve0Address FixedString(44) Address of the reserve account holding token0
reserve1Address FixedString(44) Address of the reserve account holding token1
token0PriceUSD Float64 USD price of token0
token1PriceUSD Float64 USD price of token1
tvlToken0 Float64 Total value locked in the pool denominated in token0
tvlToken1 Float64 Total value locked in the pool denominated in token1
tvlUSD Float64 Total value locked in the pool denominated in USD
feesToken0 Float64 Accumulated fees earned in token0
feesToken1 Float64 Accumulated fees earned in token1
fees24h Float64 Fees earned in USD over the last 24 hours
volumeToken0 Float64 Trading volume in token0
volumeToken1 Float64 Trading volume in token1
volume24h Float64 Trading volume in USD over the last 24 hours
apr24h Float64 Annualized percentage return based on the last 24 hours of fees
swaps24h UInt64 Number of swaps executed in the pool over the last 24 hours
binsUsed24h UInt64 Number of distinct liquidity bins used in swaps over the last 24 hours
priceVolatility Float64 Measure of price volatility for the pool
utilization24h Float64 Percentage of pool liquidity utilized over the last 24 hours

Examples

1. Retrieve Pool Info for a Meteora DLMM Pool

Fetches current metrics for a specific Meteora DLMM pool by its pool address, including TVL, price, fees, and volume data.

curl -X GET "https://api.cambrian.org/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,
        -6516,
        73.83821529558917,
        "2026-08-05T14:28:20+00:00",
        "EYj9xKw6ZszwpyNibHY7JD5o3QgTVrSdcBp1fMJhrR9o",
        "CoaxzEh8p5YyGLcj36Eo3cUThVJxeKCs7qvLAGDYwBcz",
        73.91874180865007,
        1,
        42733.28429748,
        1671728.788151,
        4830519.396772064,
        58.649693757,
        4450.452905,
        8785.764474980078,
        288296.775414579,
        21309752.208249,
        21310534.906136643,
        66.38631935751333,
        10317,
        41,
        7.569795866792804,
        82
      ]
    ],
    "rows": 1
  }
]

Result collections are limited to 10 items. This example returns the SOL/USDC Meteora DLMM pool, showing a current price of ~73.84 USDC per SOL, a TVL of ~$4.83M, and a 24h APR of ~66.4%.

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/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://x402.cambrian.org/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 through 5 automatically.

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


Related Endpoints

  • /solana/meteora-dlmm/pool-multi - Get overview metrics for multiple pools/pairs within the same DEX at once
  • /solana/meteora-dlmm/pools - This endpoint lists meteora pools
  • /solana/orca/pool - Retrieves detailed metrics and information for a specific Solana pool using the pre-calculated orca_pool_details_view
  • /solana/raydium-clmm/pool - This endpoint returns pool info for a specific raydium clmm pool
  • /solana/orca/pools - Retrieves a list of all Orca pools registered in the backend database