Cambrian V3 - Pool Info API
GET /api/v1/evm/sushi/v3/pool
Sushi V3 Pool Metrics
This endpoint returns comprehensive pool metrics for a specific Sushi V3 liquidity pool. It provides current pool TVL (Total Value Locked), swap volume, fees APR (Annual Percentage Rate), price tick utilization, number of swaps, and unique users across multiple time ranges including 5 minutes, 1 hour, 1 day, 1 week, 1 month, and 1 year.
Business Value
- Pool Performance Analysis: Track key metrics like TVL, volume, and fees APR to evaluate individual pool performance across different timeframes
- Liquidity Provider Insights: Monitor tick utilization and fee generation to optimize liquidity provision strategies and assess pool efficiency
- Trading Activity Monitoring: Analyze swap counts and unique user metrics to understand pool usage patterns and market activity levels
- Risk Assessment: Compare metrics across different time periods to identify trends, volatility patterns, and potential risks in specific pools
- Portfolio Management: Make informed decisions about liquidity allocation by comparing performance metrics across different Sushi V3 pools
Endpoint Details
URL:
https://opabinia.cambrian.network/api/v1/evm/sushi/v3/pool
Method: GET
Authentication: Required via X-API-Key header
Query Parameters
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
| pool_address | String | Yes | - | Pool address with 0x prefix (e.g., 0x57713f7716e0b0f65ec116912f834e49805480d2) |
Response Field Descriptions
| Response Field | Type | Description |
|---|---|---|
| createdAt | DateTime | Timestamp when the pool data was recorded in UTC format |
| token0Address | String | Contract address of the first token in the pool pair |
| token0Symbol | String | Symbol of the first token (e.g., WETH) |
| token0Decimals | Integer | Number of decimal places for the first token |
| token1Address | String | Contract address of the second token in the pool pair |
| token1Symbol | String | Symbol of the second token (e.g., USDC) |
| token1Decimals | Integer | Number of decimal places for the second token |
| feeTier | Integer | Fee tier of the pool in basis points (e.g., 500 = 0.05%) |
| tickSpacing | Integer | Spacing between initialized ticks in the pool |
| currentLiquidity | Integer | Current active liquidity in the pool |
| currentSqrtPriceX96 | String | Current sqrt price of the pool scaled by 2^96 |
| currentTick | Integer | Current tick of the pool price |
| currentPoolPrice | Float | Current price ratio between token1 and token0 |
| poolTvlUSD | Float | Total Value Locked in the pool denominated in USD |
| swapVolumeUSD | Map | Swap volume in USD across different time periods ('5 minute', '1 hour', '1 day', '1 week', '1 month', '1 year') |
| feeApr | Map | Annual Percentage Rate of fees earned across different time periods |
| tickUtilization | Map | Percentage of tick range utilized across different time periods |
| swapCount | Map | Total number of swaps executed across different time periods |
| uniqueUserCount | Map | Number of unique users who performed swaps across different time periods |
Examples
1. WETH/USDC Pool Analysis
Get comprehensive metrics for a popular WETH/USDC pool on Sushi V3 to analyze its performance and activity patterns.
curl -X GET "https://opabinia.cambrian.network/api/v1/evm/sushi/v3/pool?pool_address=0x57713f7716e0b0f65ec116912f834e49805480d2" \
-H "X-API-Key: YOUR_API_KEY" \
-H "Content-Type: application/json"
Response:
{
"columns": [
{
"name": "createdAt",
"type": "DateTime('UTC')"
},
{
"name": "token0Address",
"type": "LowCardinality(FixedString(42))"
},
{
"name": "token0Symbol",
"type": "String"
},
{
"name": "token0Decimals",
"type": "UInt8"
},
{
"name": "token1Address",
"type": "LowCardinality(FixedString(42))"
},
{
"name": "token1Symbol",
"type": "String"
},
{
"name": "token1Decimals",
"type": "UInt8"
},
{
"name": "feeTier",
"type": "UInt32"
},
{
"name": "tickSpacing",
"type": "Int32"
},
{
"name": "currentLiquidity",
"type": "UInt128"
},
{
"name": "currentSqrtPriceX96",
"type": "UInt256"
},
{
"name": "currentTick",
"type": "Int32"
},
{
"name": "currentPoolPrice",
"type": "Float64"
},
{
"name": "poolTvlUSD",
"type": "Float64"
},
{
"name": "swapVolumeUSD",
"type": "Map(String,Float64)"
},
{
"name": "feeApr",
"type": "Map(String,Float64)"
},
{
"name": "tickUtilization",
"type": "Map(String,Float64)"
},
{
"name": "swapCount",
"type": "Map(String,UInt64)"
},
{
"name": "uniqueUserCount",
"type": "Map(String,UInt64)"
}
],
"data": [
[
"2023-12-23T13:09:57+00:00",
"0x4200000000000000000000000000000000000006",
"WETH",
18,
"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913",
"USDC",
6,
500,
10,
12929171813327985,
"4347795851377197008814080",
-196219,
3.011474014940159E-9,
128621.41719008452,
{
"'1 day'": 237773.8845935263,
"'1 hour'": 5383.49677947101,
"'1 month'": 7040203.795595099,
"'1 week'": 1476686.5813771365,
"'1 year'": 1664813268.9015336,
"'5 minute'": 0.0
},
{
"'1 day'": 33.737564774448614,
"'1 hour'": 18.332651287176763,
"'1 month'": 32.84151558612044,
"'1 week'": 29.850278401974677,
"'1 year'": 100.0,
"'5 minute'": 0.0
},
{
"'1 day'": 0.08333333333333334,
"'1 hour'": 0.0,
"'1 month'": 1.3805555555555555,
"'1 week'": 1.6547619047619047,
"'1 year'": 5.882876712328767,
"'5 minute'": 0.0
},
{
"'1 day'": 9699,
"'1 hour'": 322,
"'1 month'": 209956,
"'1 week'": 55029,
"'1 year'": 3266294,
"'5 minute'": 0
},
{
"'1 day'": 9699,
"'1 hour'": 139,
"'1 month'": 13686,
"'1 week'": 3748,
"'1 year'": 180871,
"'5 minute'": 0
}
]
],
"rows": 1
}
This response shows a WETH/USDC pool with 0.05% fees that has $128,621 in TVL and generated $237,773 in swap volume over the past day. The pool shows strong activity with 9,699 swaps from 139 unique users in the past hour, and demonstrates excellent long-term performance with 100% fee APR over the year.
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/evm/sushi/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://deep42.cambrian.network/api/v1/evm/sushi/v3/pool")
print(response.json())
asyncio.run(main())
Payment Flow
- Send a normal request to the endpoint (no API key needed)
- Server returns
402 Payment Requiredwith payment details - The x402 SDK automatically signs a payment authorization with your wallet
- The SDK resubmits the request with the signed payment
- 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/evm/sushi/v3/pools- Returns a list of all Sushi V3 liquidity pools with token pairs, fee tiers, and creation timestamps/api/v1/evm/uniswap/v3/pool- Returns current pool metrics for Uniswap V3 pools with the same data structure and time ranges/api/v1/evm/pancake/v3/pool- Returns current pool metrics for PancakeSwap V3 pools with comprehensive performance data/api/v1/evm/aero/v3/pool- Returns current pool metrics for Aerodrome V3 pools including TVL, volume, and fee data/api/v1/evm/clones/v3/pool- Returns current pool metrics for various Uniswap V3 clone protocols with detailed analytics