The Graph is a decentralized protocol for indexing and querying data from blockchains, making it possible to query data that is difficult to query directly. In the Graph architexture, Indexers are the primary service provider for data queries: they store and index data, and provide the indexed data as a P2P pay-per-call API service.
To learn more about how The Graph works, we refer yo to the official documentation website:

Run an IoTeX Indexer Node

If you want to use The Graph to query the blockchain data needed for your IoTeX dApp, you can run your Graph Indexer Node by simply editing the graph-node/docker/docker-compose.yml configuration file such that it points to the a Babel service, the Ethereum-Compatible API Gateway for IoTeX:
ethereum: 'mainnet:'
You can set ethereum: testnet: if you want to work with the IoTeX testnet instead.
For more information about how to run a Graph Indexer node, please refer to the official documentation at:

Deploy a Subgraph

Once you have your Indexer Node running, you can define and locally deploy your Subgraphs as usual. Please refer to the official Subgraph quick start guide at:

Official hosted service

Common Subgraph


graph create common/blocks --node
graph deploy --debug --ipfs --node common/blocks subgraphs/blocks.yaml