DEX & AMM Protocols

Nefarious indexes liquidity positions across the AMM and orderbook surface on both ecosystems — concentrated liquidity (CLMM, Whirlpools, DLMM, Uniswap v3-style), v2-style x*y=k pools, stableswap curves, on-chain orderbooks (CLOBs), and basket/index products. Each position carries the metadata you actually need to manage it: range bounds, in-range status, unclaimed fees per token, fee-tier APR, pool address for joining with on-chain data.

Solana

Concentrated liquidity, v2 AMMs, DLMMs, CLOBs, stableswap, basket products

EVM (20+ chains)

Uniswap v2/v3-style, Curve-style stableswap, SushiSwap v2, multi-chain concentrated liquidity

Unified schema

Same fields whether the source is a v2 LP token, a v3-style NFT, or a CLOB resting order

Position Types

FieldTypeDescription
liquidityActive LP position in a DEX pool — concentrated or full-range — or resting orders on an on-chain orderbook
depositLP token, basket token, or pool receipt token held in wallet

Enriched Fields

Field availability depends on the pool type. Concentrated-liquidity positions surface range bounds and in-range status; v2-style LPs and stableswap pools surface fee APR; basket products surface composition.

FieldTypeDescription
apynumberEstimated annual yield on the position, in percent
aprFeenumberFee-only APR (excluding token emissions), in percent
feesClaimablearrayUnclaimed trading fees, per token, each with symbol/amount/amountUsd
tickLowernumberLower tick of the concentrated-liquidity range
tickUppernumberUpper tick of the concentrated-liquidity range
inRangebooleanWhether the current pool price is within the position range (i.e. position is earning fees)
poolAddressstringPool / market address — useful for joining with on-chain data
compositionstringFor basket/index products: human-readable token allocation breakdown
rebalanceTimestampstringFor basket products: ISO 8601 timestamp of the last rebalance
Note:

Concentrated-liquidity positions show feesClaimable per side of the pool, not collapsed into USD only. This matters for LP-as-trader strategies where the directional skew of accumulated fees signals whether the price has crossed the position.

Response Example

A concentrated-liquidity position with both fee sides surfaced and explicit range bounds:

{
"protocol": {
"id": "<protocol-id>",
"name": "<Protocol Name>",
"url": "https://...",
"category": "dex"
},
"totalValueUsd": 4200.00,
"totalDepositedUsd": 4200.00,
"totalBorrowedUsd": 0,
"positions": [
{
"id": "<protocol-id>-clmm-sol-usdc",
"type": "liquidity",
"name": "SOL-USDC CLMM",
"valueUsd": 4200.00,
"tokens": [
{
"mint": "So11111111111111111111111111111111111111112",
"symbol": "SOL",
"amount": "14000000000",
"amountUsd": 2100.00,
"decimals": 9
},
{
"mint": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
"symbol": "USDC",
"amount": "2100000000",
"amountUsd": 2100.00,
"decimals": 6
}
],
"metadata": {
"apy": 45.2,
"aprFee": 38.5,
"tickLower": -10,
"tickUpper": 10,
"inRange": true,
"poolAddress": "<pool-address>",
"feesClaimable": [
{ "symbol": "SOL", "amountUsd": 12.50 },
{ "symbol": "USDC", "amountUsd": 8.30 }
]
}
}
]
}

Basket and index products

Some venues issue a single SPL/ERC-20 representing a curated basket of tokens. These come back as a deposit carrying the basket token, with metadata.composition describing the underlying allocation. The total valueUsd is the basket's NAV in USD.

{
"id": "<basket-id>",
"type": "deposit",
"name": "DeFi Index",
"valueUsd": 3500.00,
"tokens": [
{
"symbol": "sDEFI",
"name": "DeFi Index Token",
"amount": "3500000000",
"amountUsd": 3500.00,
"decimals": 6
}
],
"metadata": {
"composition": "SOL 40%, JitoSOL 25%, RAY 15%, ORCA 10%, JUP 10%",
"rebalanceTimestamp": "2026-04-10T12:00:00Z"
}
}

Looking for a specific DEX?

The exhaustive list of indexed AMMs, CLMMs, orderbooks and basket products is shared with active customers. If you're evaluating a specific pool type — concentrated, dynamic-fee, stableswap, CLOB, basket — book a call and we'll confirm coverage (and ship the integration if it's missing).

Ready to start building?

Get your API key in seconds. Free tier included.

Get Started — free

No credit card required