API Overview
Last updated
Last updated
This section explains the Uniswap Subgraph and how to interact with it. The Uniswap subgraph indexes data from the Uniswap contracts over time. It organizes data about pairs, tokens, Uniswap as a whole, and more. The subgraph updates any time a transaction is made on Uniswap. The subgraph runs on protocol's hosted service and can be openly queried.
- sandbox for querying data and endpoints for developers.
- source code for deployed subgraph.
The subgraph provides a snapshot of the current state of Uniswap and also tracks historical data. It is currently used to power . It is not intended to be used as a data source for structuring transactions (contracts should be referenced directly for the most reliable live data).
To learn more about querying a subgraph refer to .
The only tracks data on Uniswap V2. For Uniswap V1 information see the .