GET /api/v1/publicPoolsMetadata
Auth X-Hub-Key from API_HUB_KEYExecute
GET /run/lighter/api/v1/publicPoolsMetadataCache cached 1s, never served stale past that windowCost free · weight 0 · standard rate classSource billing freePublic liquidity and staking pools metadata (LLP, staking pools, user vaults) with TVL and APY.
Parameters
| name | in | type | description | |
|---|---|---|---|---|
filter | query | strall | user | protocol | account_index | stake | optional | Pool category filter. example: protocol |
index | query | int | required | Starting pool account index. example: 281474976710654 |
limit | query | int | required | Max pools (1..100). example: 10 |
account_index | query | int | optional | Optional account index to check user shares. |
Response
type: object
data key: public_pools
pagination: none
sample: {
"code": "int",
"public_pools": "array[1]"
}
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/lighter/api/v1/publicPoolsMetadata?filter=protocol&index=281474976710654&limit=10"