Skip to main content

GET /flexi/pools/:address

List tradeable pools for a token. Used to pick sPool + ePoolChosen before calling /flexi/initialize.

Discovery across all supported DEXes in one call.

Use case

Render a pool picker; auto-select the one with the most SOL liquidity as a sensible default.

Path params

ParamRequiredDescription
addressyesToken mint (Solana public key).

Response 200

{
"pools": [
{
"poolId": "…",
"poolType": "RAYDIUM",
"dex": "RAYDIUM",
"baseToken": { "symbol": "TOKEN" },
"quoteToken": { "symbol": "SOL" },
"price": 0.000042,
"priceUsd": 0.0062,
"liquidity": { "usd": 18400 },
"marketCap": 42000,
"solscan": "https://solscan.io/account/…",
"url": "https://raydium.io/…"
}
]
}

Use poolId as sPoolId and poolType/dex to determine ePoolChosen when calling /flexi/initialize.

Errors

StatusMeaning
400address is not a valid Solana public key.
500Pool discovery failed.

Example

curl -H "Authorization: Bearer $ACCESS" \
"$BASE_URL/flexi/pools/<tokenMint>"