GraphQL
Query indexed pools, swaps, tokens, and positions.
Endpoint: https://hyperpools.dev/api/graphql.
This public, read-only endpoint supports subgraph queries. Read Indexed data for coverage.
APP=https://hyperpools.dev
curl -fsS "$APP/api/graphql" \
-H 'content-type: application/json' \
--data '{"query":"{ pools(first: 1) { id version } }"}'Supported schema
| Area | Supported data |
|---|---|
| Pairs and pools | v2 pairs and v2/v3/v4 pools |
| Swaps and transactions | v2/v3/v4 history and relations |
| Positions | v2 LP balances plus v3/v4 range/liquidity |
| Hook evidence | official/source-backed hooks and bounded ordered evidence |
| Hook shares | Dual hook-share balances, distinct from NFTs |
IDs
Pair.idis a v2 pair address.- v2/v3
Pool.idis a contract address; v4Pool.idis a PoolId. Pool.poolIdis the internal canonical bytes32 identity.Swap.idis the transaction hash plus a canonical decimal log index.- v2
Position.idis the pair address and requires an owner filter. - v3/v4 position IDs are canonical decimal NFT token IDs.
HookShareBalance.idisv4:<PoolId>:<owner>.
Limits
The endpoint does not support historical block: arguments, subscriptions, batching, USD prices,
TVL, fee APYs, candles, position valuation, or beneficial ownership.