Skip to main content

Subgraphs

OctoSwap uses The Graph protocol to index and query data from both our Classic (Legacy) and Concentrated Liquidity pool factory contracts. The subgraphs provide a powerful GraphQL API for accessing historical and real-time data about pools, swaps, liquidity positions, and more.

Available Subgraphs

Classic Pools Subgraph

Indexes all pools from the OctoSwap Classic AMM factory contract.

Endpoint: https://gateway.thegraph.com/api/subgraphs/id/4mqYPfK2ckybewuhmv1Bqw3W5AZezPEjTzFLt381deSY

Concentrated Liquidity Pools Subgraph

Indexes all pools from the OctoSwap Concentrated Liquidity factory contract.

Endpoint: https://gateway.thegraph.com/api/subgraphs/id/Av8VjmhkXkj3kGoMxA2HyiMFqpY9QAXkozCvpEVL8GAn

Resources