Get DEX pool and TVL data
A token's liquidity lives across DEX pools. The pools endpoint lists the venues for a token with reserves and TVL so you can rank depth and estimate slippage before trading. It is a C2 read.
- A live API key with a positive credit balance
- The token id whose pools you want to inspect
1List the pools for a token
Query pools by token. The response enumerates each pool with its pair, reserves and TVL. This is a C2 read.
curl "https://api.1st-node.com/v1/market/dex/pools?token=eth" \ -H "Authorization: Bearer sk_live_..."
2Read TVL and reserves per pool
Each pool carries its trading pair, reserves and USD TVL. Rank by TVL to find the deepest venue for the pair you care about.
> { "pools": [
> { "pair": "ETH/USDC", "dex": "uniswap-v3",
> "tvl_usd": 41200000, "reserves": ["8200", "26100000"] } ] }3Size slippage against the deepest pool
Use reserves and TVL to estimate price impact for your trade size, and route to the pool with enough depth. Cache pool metadata but refresh reserves near execution.
よくある質問
How do I pick the pool to trade against?
Rank the returned pools by TVL and reserves for your pair, then choose the deepest one to minimize slippage for your trade size.
What tier are DEX pool reads?
DEX pools are a C2 read. Reserves move with every swap, so cache pool identity but refresh reserves close to execution.
続けて読む
チャージして、キーを取得し、リリース。
セルフサーブ。暗号資産またはカードで支払い。クレジットで従量課金——重いプリミティブは高く、単純なものは安価。
APIキーを取得