GET /data/pools
Auth X-Hub-Key from API_HUB_KEYExecute
GET /run/jupiter_portfolio/data/poolsCache cached 1s, never served stale past that windowCost free · weight 0 · standard rate classSource billing freeDEX liquidity pools for one or more Solana token mints (datapi).
Parameters
| name | in | type | description | |
|---|---|---|---|---|
assetIds | query | str | required | Comma-separated mint address(es) example: JUPyiwrYJFskUPiHa7hkeR8VUtAeFoSYbKedZNsDvCN |
Response
type: object
data key: pools
count key: total
pagination: offset
sample: {
"pools": "array[1]",
"total": "int"
}
Safe request
Reads the credential from API_HUB_KEY; it never appears in the URL.
curl -sH "X-Hub-Key: $API_HUB_KEY" "https://openapihub.dev/run/jupiter_portfolio/data/pools?assetIds=JUPyiwrYJFskUPiHa7hkeR8VUtAeFoSYbKedZNsDvCN"