API Reference

DLMM API endpoints and usage

Rate Limit: 30 requests per second

Protocol Metrics

GET /info/protocol_metrics

Returns overall protocol statistics including total TVL, volume, fees, and number of pairs.

Liquidity Book Pairs

GET /pair/all

Fetch all DLMM liquidity book pairs.

GET /pair/{pair_address}

Get detailed information for a specific pair by address.

GET /pair/{pair_address}/analytic/pair_fee_bps

Retrieve pair fee analytics over time.

GET /pair/{pair_address}/analytic/pair_trade_volume

Get pair trade volume analytics by day.

GET /pair/{pair_address}/analytic/pair_tvl

Fetch pair TVL (Total Value Locked) history.

Positions

GET /position/{position_address}

Get position details including bin data and liquidity distribution.

GET /position/{position_address}/claim_fees

Retrieve claimable fees for a position.

GET /position/{position_address}/claim_rewards

Get claimable rewards for a position.

Wallet

GET /wallet/{wallet_address}/{pair_address}/earning

Fetch earnings for a specific wallet on a specific pair.