Meteora guide tutorial
How to read Meteora pool data with its free API
Meteora publishes free, read-only APIs for its DLMM and DAMM v2 pools. With one command you can see protocol totals; with another, search every pool for a token. No account, key or wallet needed.
- Best for
- Developers, analysts and curious LPs who want Meteora's numbers without a wallet.
- You'll need
- A terminal with curl
- Optional: a programming language that reads JSON
- Cost
- Free: no account, no API key and no SOL.
Worked example
Two real calls, 29 Sep 2026
$ curl -s https://dlmm.datapi.meteora.ag/stats/protocol_metrics{
"total_tvl": 234269623.43,
"volume_24h": 271879869.46,
"fee_24h": 1326445.99,
"total_volume": 317181976774.57,
"total_fees": 1527157613.57,
"total_pools": 161498,
"refreshed_at": 1790661960
}$ curl -s "https://dlmm.datapi.meteora.ag/pools?query=SOL-USDC&page_size=2"{ "total": 129, "pages": 65, "current_page": 1, "page_size": 2,
"data": [ {
"address": "5rCf1DM8LjKTw4YqhnoLcngyZYeNnQqztScTogYHAS6",
"name": "SOL-USDC",
"pool_config": { "bin_step": 4, "base_fee_pct": 0.04, "collect_fee_mode": 0, … },
"tvl": 4190432.44,
"volume": { "24h": 41268103.9, … }, "fees": { "24h": 16163.15, … },
"is_blacklisted": false, …
}, … ] }Read on 29 Sep 2026 at 06:06 UTC; decimals trimmed. Dollar values are in US dollars. refreshed_at is a Unix timestamp in seconds. 129 DLMM pools were named SOL-USDC that day, which is why you always work with the address.
Step by step
Open a terminal
Any terminal with curl works. Meteora describes its REST APIs as free and public.[1]
Ask for the DLMM totals
Run
curl -s https://dlmm.datapi.meteora.ag/stats/protocol_metrics. You'll get one JSON object with total_tvl, volume_24h, fee_24h, total_volume, total_fees and total_pools.[2]Search for a pool
Run
curl -s "https://dlmm.datapi.meteora.ag/pools?query=SOL-USDC&page_size=2". The query matches pool names, tokens or addresses; the reply has total, pages, current_page, page_size and data, the pools themselves.[3]Sort the results
Add
&sort_by=tvl:desc, or a time-window metric such asvolume_24h:descorfee_tvl_ratio_24h:desc. The default isvolume_24h:desc, and page_size can go up to 1,000.[3]Read one pool's settings
In each pool,
pool_configholds the bin_step, base_fee_pct and collect_fee_mode;tvl,volume,feesandfee_tvl_ratiohold the numbers by time window.[4]Check the pool's tokens
Compare
token_x.addressandtoken_y.addresswith the contract addresses you expect. Names repeat; addresses don't.[4]Do the same for DAMM v2
DAMM v2 has its own API at
https://damm-v2.datapi.meteora.ag, with the same /stats/protocol_metrics call.[5]
Good to know
What the totals said on 29 Sep 2026
| Product | Money in pools (TVL) | Trading volume, past 24h | Fees, past 24h | Pools |
|---|---|---|---|---|
| DLMM | $234.3M | $271.9M | $1.33M | 161,498[8] |
| DAMM v2 | $61.6M | $47.8M | $0.46M | 1,559,451[9] |
Meteora's own indexer and DefiLlama count differently: DLMM's TVL is $234.3M here and $189M on DefiLlama, which other pages in this guide use. Always say which source a number comes from.
Using it from code
Any language that can fetch a URL and read JSON works. This JavaScript lists the five SOL-USDC DLMM pools with the most money in them:
const url = "https://dlmm.datapi.meteora.ag/pools?query=SOL-USDC&sort_by=tvl:desc&page_size=5";
const { data } = await (await fetch(url)).json();
for (const pool of data) {
console.log(pool.address, pool.pool_config.bin_step, pool.pool_config.base_fee_pct, pool.tvl);
}Save it as pools.mjs (the await at the top needs a module file) and run node pools.mjs with Node.js 18 or newer. Each line is a pool's address, bin step, base fee in percent and TVL in dollars. On 29 Sep 2026 it printed this, with the long decimals trimmed:
5rCf1DM8LjKTw4YqhnoLcngyZYeNnQqztScTogYHAS6 4 0.04 4372518.61 BGm1tav58oGcsQJehL9WXBFXF7D27vZsKefj4xJKD5Y 10 0.1 3506269.83 BVRbyLjjfSBcoyiYFuxbgKYnWuiFaF9CSXEa5vdSZ9Hh 20 0.2 2033182.07 CgqwPLSFfht89pF5RSKGUUMFj5zRxoUt4861w2SkXaqY 80 0.05 777812.33 HTvjzsfX3yU6BUodCjZ5vZkUrAxMDTrBs3CJaq43ashR 1 0.01 335172.94
Your numbers will differ, because pools change all day. For more, Building on Meteora covers the SDKs, the Agent Skill for AI coding tools and the docs MCP server.
Sources
- Meteora docs: We Build Liquidity Pools ↗docs.meteora.ag/get-started
- Meteora DLMM API reference: Protocol Overview ↗docs.meteora.ag/api-reference/dlmm/stats/protocol-overview
- Meteora DLMM API reference: Pools ↗docs.meteora.ag/api-reference/dlmm/pools/pools
- Meteora DLMM API: pools named SOL-USDC, read 29 Sep 2026 ↗dlmm.datapi.meteora.ag/pools?query=SOL-USDC&page_size=2
- Meteora DAMM v2 API reference: Protocol Overview ↗docs.meteora.ag/api-reference/damm-v2/stats/protocol-overview
- Meteora docs: Getting Started ↗docs.meteora.ag/user-guides/getting-started-with-meteora
- Meteora docs: DLMM Developer Guide ↗docs.meteora.ag/developer-guides/dlmm
- Meteora DLMM API totals, read 29 Sep 2026 ↗dlmm.datapi.meteora.ag/stats/protocol_metrics
- Meteora DAMM v2 API totals, read 29 Sep 2026 ↗damm-v2.datapi.meteora.ag/stats/protocol_metrics
Checked on 29 Sep 2026. Meteora ships often and changes fees, rewards and products; the linked pages and the chain are the source of truth.
Independent community guide by StonkBuilder. Not affiliated with, endorsed by, or operated by Meteora. Nothing here is financial advice or an offer to buy, sell or deposit anything. Providing liquidity can lose money. Checked on 29 Sep 2026; meteora.ag and docs.meteora.ag are the source of truth.