curl --request GET \
--url http://localhost:8000/gateway/clmm/pools \
--header 'Authorization: Basic <encoded-value>'import requests
url = "http://localhost:8000/gateway/clmm/pools"
headers = {"Authorization": "Basic <encoded-value>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Basic <encoded-value>'}};
fetch('http://localhost:8000/gateway/clmm/pools', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_PORT => "8000",
CURLOPT_URL => "http://localhost:8000/gateway/clmm/pools",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Basic <encoded-value>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "http://localhost:8000/gateway/clmm/pools"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Basic <encoded-value>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("http://localhost:8000/gateway/clmm/pools")
.header("Authorization", "Basic <encoded-value>")
.asString();require 'uri'
require 'net/http'
url = URI("http://localhost:8000/gateway/clmm/pools")
http = Net::HTTP.new(url.host, url.port)
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Basic <encoded-value>'
response = http.request(request)
puts response.read_body{
"pools": [
{
"address": "<string>",
"name": "<string>",
"trading_pair": "<string>",
"mint_x": "<string>",
"mint_y": "<string>",
"bin_step": 123,
"current_price": "<string>",
"liquidity": "<string>",
"base_fee_percentage": "<string>",
"apr": "<string>",
"apy": "<string>",
"volume_24h": "<string>",
"fees_24h": "<string>"
}
],
"total": 123,
"page": 123,
"page_size": 123
}{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>",
"input": "<unknown>",
"ctx": {}
}
]
}Get Clmm Pools
Get list of available CLMM pools for a connector via Gateway.
Supports: meteora, orca
Args: connector: CLMM connector (meteora, orca) network: Solana network name (bare, default ‘mainnet-beta’) page: Page number (default: 0) limit: Results per page (default: 50, max: 100) search_term: Search query to filter pools (optional) sort_key: Sort by field. Defaults to tvl — see the parameter description for why, and for the keys each connector accepts. order_by: Sort order (asc, desc) include_unknown: Include pools with unverified tokens
Example: GET /gateway/clmm/pools?connector=meteora&search_term=SOL&limit=20
Returns: List of available pools with trading pairs, addresses, liquidity, volume, APR, etc.
curl --request GET \
--url http://localhost:8000/gateway/clmm/pools \
--header 'Authorization: Basic <encoded-value>'import requests
url = "http://localhost:8000/gateway/clmm/pools"
headers = {"Authorization": "Basic <encoded-value>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Basic <encoded-value>'}};
fetch('http://localhost:8000/gateway/clmm/pools', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_PORT => "8000",
CURLOPT_URL => "http://localhost:8000/gateway/clmm/pools",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Basic <encoded-value>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "http://localhost:8000/gateway/clmm/pools"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Basic <encoded-value>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("http://localhost:8000/gateway/clmm/pools")
.header("Authorization", "Basic <encoded-value>")
.asString();require 'uri'
require 'net/http'
url = URI("http://localhost:8000/gateway/clmm/pools")
http = Net::HTTP.new(url.host, url.port)
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Basic <encoded-value>'
response = http.request(request)
puts response.read_body{
"pools": [
{
"address": "<string>",
"name": "<string>",
"trading_pair": "<string>",
"mint_x": "<string>",
"mint_y": "<string>",
"bin_step": 123,
"current_price": "<string>",
"liquidity": "<string>",
"base_fee_percentage": "<string>",
"apr": "<string>",
"apy": "<string>",
"volume_24h": "<string>",
"fees_24h": "<string>"
}
],
"total": 123,
"page": 123,
"page_size": 123
}{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>",
"input": "<unknown>",
"ctx": {}
}
]
}Authorizations
Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.
Query Parameters
Solana network name (bare, e.g. 'mainnet-beta'); meteora/orca are Solana-only
Page number
x >= 0Results per page (max 100)
1 <= x <= 100Search query to filter pools
Sort key. Defaults to tvl: volume ranks pools by how much others traded, while the LP question is how much depth is there — and on a quiet pair every pool ties at zero volume, making that order arbitrary. meteora: tvl, volume, feetvlratio. orca: tvl, volume, fees, rewards, yieldovertvl.
Sort order (asc, desc)
Include pools with unverified tokens
Response
Successful Response
Response with list of available CLMM pools - matches Gateway fetch-pools response
Was this page helpful?

