Cambrian Meteora Pool Info (Multi) API

By Cambrian Network solana

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

Meteora Pool Multi

Get comprehensive overview metrics for multiple pools/pairs simultaneously within the same DEX. Returns pool details including price, volume, trades, and token information. This endpoint allows you to efficiently retrieve data for multiple Meteora DLMM pools in a single API call.

Business Value

  • Multi-Pool Analytics: Query multiple pools simultaneously to compare performance metrics across different trading pairs within the same DEX
  • Portfolio Monitoring: Track all relevant pools in your DeFi portfolio with a single API call, reducing latency and API usage
  • Liquidity Analysis: Analyze TVL, volume, and utilization across multiple pools to identify the most liquid and profitable opportunities
  • Risk Assessment: Monitor price volatility and swap activity across multiple pools to assess market risk and trading conditions
  • Performance Comparison: Compare APR, fees, and trading metrics across different pools to optimize yield farming strategies

Endpoint Details

URL:

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

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

Query Parameters

Parameter Type Required Default Description
pool_addresses string Yes - Comma-separated pool addresses within the same DEX. Example: addr1,addr2,addr3

Response Field Descriptions

Response Field Type Description
chainId UInt16 Blockchain network identifier (900 for Solana)
dexName String Name of the decentralized exchange (Meteora)
poolAddress FixedString(44) Unique address of the liquidity pool
createdAt DateTime('UTC') Timestamp when the pool was created
token0Address FixedString(44) Contract address of the first token in the pair
token0Symbol String Symbol of the first token (e.g., SOL)
token0Decimals UInt8 Decimal precision of the first token
token1Address FixedString(44) Contract address of the second token in the pair
token1Symbol String Symbol of the second token (e.g., USDC)
token1Decimals UInt8 Decimal precision of the second token
binStep UInt16 Price difference between adjacent bins in basis points
feeTier UInt32 Fee tier for the pool in basis points
activeBinId Int32 Current active bin identifier for the pool
currentPrice Nullable(Float64) Current price of token0 in terms of token1
lastSwapTime DateTime('UTC') Timestamp of the most recent swap transaction
reserve0Address FixedString(44) Address of the reserve account for token0
reserve1Address FixedString(44) Address of the reserve account for token1
token0PriceUSD Float64 Current USD price of token0
token1PriceUSD Float64 Current USD price of token1
tvlToken0 Nullable(Float64) Total Value Locked in token0 amount
tvlToken1 Nullable(Float64) Total Value Locked in token1 amount
tvlUSD Nullable(Float64) Total Value Locked in USD equivalent
feesToken0 Nullable(Float64) Total fees collected in token0
feesToken1 Nullable(Float64) Total fees collected in token1
fees24h Nullable(Float64) Total fees collected in the last 24 hours (USD)
volumeToken0 Nullable(Float64) Trading volume in token0 for the last 24 hours
volumeToken1 Nullable(Float64) Trading volume in token1 for the last 24 hours
volume24h Nullable(Float64) Total trading volume in the last 24 hours (USD)
apr24h Float64 Annual Percentage Rate based on 24-hour fee collection
swaps24h UInt64 Number of swap transactions in the last 24 hours
binsUsed24h UInt64 Number of unique bins used in swaps over the last 24 hours
priceVolatility Nullable(Float64) Price volatility metric for the pool
utilization24h Nullable(Float64) Pool utilization percentage over the last 24 hours

Examples

1. Single Pool Multi-Format Query

Query comprehensive metrics for a single Meteora DLMM pool to get all available data points.

curl -X GET "https://opabinia.cambrian.network/api/v1/solana/meteora-dlmm/pool-multi?pool_addresses=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": "binStep",
      "type": "UInt16"
    },
    {
      "name": "feeTier",
      "type": "UInt32"
    },
    {
      "name": "activeBinId",
      "type": "Int32"
    },
    {
      "name": "currentPrice",
      "type": "Nullable(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": "Nullable(Float64)"
    },
    {
      "name": "tvlToken1",
      "type": "Nullable(Float64)"
    },
    {
      "name": "tvlUSD",
      "type": "Nullable(Float64)"
    },
    {
      "name": "feesToken0",
      "type": "Nullable(Float64)"
    },
    {
      "name": "feesToken1",
      "type": "Nullable(Float64)"
    },
    {
      "name": "fees24h",
      "type": "Nullable(Float64)"
    },
    {
      "name": "volumeToken0",
      "type": "Nullable(Float64)"
    },
    {
      "name": "volumeToken1",
      "type": "Nullable(Float64)"
    },
    {
      "name": "volume24h",
      "type": "Nullable(Float64)"
    },
    {
      "name": "apr24h",
      "type": "Float64"
    },
    {
      "name": "swaps24h",
      "type": "UInt64"
    },
    {
      "name": "binsUsed24h",
      "type": "UInt64"
    },
    {
      "name": "priceVolatility",
      "type": "Nullable(Float64)"
    },
    {
      "name": "utilization24h",
      "type": "Nullable(Float64)"
    }
  ],
  "data": [
    [
      900,
      "Meteora",
      "5rCf1DM8LjKTw4YqhnoLcngyZYeNnQqztScTogYHAS6",
      "2024-03-30T02:47:42+00:00",
      "So11111111111111111111111111111111111111112",
      "SOL",
      9,
      "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
      "USDC",
      6,
      4,
      400,
      -5161,
      126.94679338040754,
      "2026-01-28T14:06:13+00:00",
      "EYj9xKw6ZszwpyNibHY7JD5o3QgTVrSdcBp1fMJhrR9o",
      "CoaxzEh8p5YyGLcj36Eo3cUThVJxeKCs7qvLAGDYwBcz",
      126.91424121601018,
      1.0,
      14649.705591441,
      574395.887444,
      2433652.1566196764,
      27.683515281,
      3629.115885,
      7142.548221079938,
      133874.305826992,
      16884768.245097,
      16990555.94235278,
      107.1241875550252,
      9767,
      97,
      25.09255237385345,
      100.0
    ],
    [
      900,
      "Meteora",
      "5rCf1DM8LjKTw4YqhnoLcngyZYeNnQqztScTogYHAS6",
      "2024-03-30T02:47:42+00:00",
      "So11111111111111111111111111111111111111112",
      "SOL",
      9,
      "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
      "USDC",
      6,
      4,
      400,
      -5161,
      126.94679338040754,
      "2026-01-28T14:06:13+00:00",
      "EYj9xKw6ZszwpyNibHY7JD5o3QgTVrSdcBp1fMJhrR9o",
      "CoaxzEh8p5YyGLcj36Eo3cUThVJxeKCs7qvLAGDYwBcz",
      126.91424121601018,
      0.9999930807102458,
      14649.705591441,
      574395.887444,
      2433648.1822080975,
      27.683515281,
      3629.115885,
      7142.523110175578,
      133874.305826992,
      16884768.245097,
      16990555.94235278,
      107.12398588561325,
      9767,
      97,
      25.09255237385345,
      100.0
    ]
  ],
  "rows": 2
}

This returns comprehensive data for the SOL-USDC pool on Meteora, including current pricing ($126.95), substantial TVL ($2.43M), high 24-hour volume ($17M), and strong APR (107%). The pool shows high utilization (100%) with significant trading activity (9,767 swaps in 24h).

2. Multiple Pool Comparison

Query multiple pools simultaneously to compare performance metrics across different trading pairs within Meteora DEX.

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

Response:

{
  "columns": [...],
  "data": [
    [pool1_data],
    [pool2_data]
  ],
  "rows": 2
}

This allows efficient comparison of multiple pools' TVL, volume, fees, and APR metrics to identify the most profitable opportunities within the Meteora ecosystem.

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-multi"
);
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-multi")
        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/pool-transactions - Get transaction history and detailed swap data for pools
  • /api/v1/solana/ohlcv/pool - Retrieve OHLCV data for individual pool contracts
  • /api/v1/solana/orca/pools - Get information about Orca pools for comparison
  • /api/v1/solana/orca/pools/fee-metrics - Analyze fee metrics for Orca pools
  • /api/v1/solana/orca/pool - Get detailed metrics for a specific Orca pool