Opyn GraphQL API
The Opyn Gamma Protocol GraphQL API is powered by The Graph and indexes all on-chain activity for the Opyn v2 (Gamma Protocol) options system on Ethereum mainnet. It exposes oToken creation and lifecycle, vault collateral and debt management, option minting/burning, settlement, liquidations, and oracle expiry prices for European cash-settled options. No API key is required for the hosted service endpoint; The Graph gateway requests require an API key.
Overview
Opyn GraphQL API is a GraphQL API specification published by Opyn on the APIs.io network.
The Opyn Gamma Protocol GraphQL API is powered by The Graph and indexes all on-chain activity for the Opyn v2 (Gamma Protocol) options system on Ethereum mainnet. It exposes oToken creation and lifecycle, vault collateral and debt management, option minting/burning, settlement, liquidations, and oracle expiry prices for European cash-settled options. No API key is required for the hosted service endpoint; The Graph gateway requests require an API key.
The GraphQL endpoint is available at https://api.thegraph.com/subgraphs/name/opynfinance/gamma-mainnet. documentation is published at https://github.com/opynfinance/Gamma-Subgraph.
The specification includes 4 reference links.
Tagged areas include DeFi, Options, Ethereum, Squeeth, and Power Perpetual.
Endpoint
References
- Documentation https://github.com/opynfinance/v2-documentation
- GettingStarted https://thegraph.com/docs/en/querying/querying-the-graph/
- Schema https://github.com/opynfinance/Gamma-Subgraph/blob/master/schema.graphql
- Explorer https://thegraph.com/hosted-service/subgraph/opynfinance/gamma-mainnet
Work with this as data
Every GraphQL schema here is available over the APIs.io API and to AI agents over MCP.
MCP server
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
Tools for graphql
4 MCP tools reach this
find_graphqlBrowse and filter every GraphQL schema in the catalog.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.
Call it yourself
curl for this page
curl "https://apis.io/api/v1/graphql/opyn-graphql"
curl "https://apis.io/api/v1/graphql?limit=25"
Discovery needs no key. Ratings and market analysis are Pro.