API

The API indexes Snapshot X data. Specifically, it monitors events emitted by spaces and space factories so that votes, proposals, and the deployment of new spaces can be tracked. Anyone can run the API. It uses TheGraph on EVM chains and Checkpoint on Starknet.

GitHub

EVM subgraph API: https://github.com/snapshot-labs/sx-monorepo/tree/master/apps/subgraph-api Starknet Checkpoint API: https://github.com/snapshot-labs/sx-monorepo/tree/master/apps/api

Public APIs

Ethereum: https://api.studio.thegraph.com/query/23545/sx/version/latest Optimism: https://api.studio.thegraph.com/query/23545/sx-optimism/version/latest Polygon: https://api.studio.thegraph.com/query/23545/sx-polygon/version/latest Arbitrum One: https://api.studio.thegraph.com/query/23545/sx-arbitrum/version/latest Sepolia: https://subgraph.snapshot.org/subgraphs/name/snapshot-labs/sx-subgraph Starknet: https://api.snapshot.box Starknet testnet: https://testnet-api.snapshot.box

Last updated