The Graph is an indexing protocol that provides onchain data — such as DeFi transactions and liquidity pool data — from a wide spectrum of sources. It removes the need for data consumers (e.g., app developers) to build out complicated infrastructure to get onchain data. Instead, data consumers pay to query custom APIs of onchain data — called “subgraphs” — via the GraphQL API. Subgraphs define a data schema to be indexed, making that data queryable. Subgraphs can be developed and queried by anyone.