Yearn Finance GraphQL API
Yearn Finance's Kong GraphQL API is an integrated indexing and querying service that provides comprehensive on-chain data for Yearn V2 and V3 vault ecosystems. It exposes vault snapshots, strategy data, APY and TVL timeseries, harvest reports, transfer and deposit events, price feeds, risk scores, fee structures, staking rewards, and protocol governance roles across all EVM networks supported by Yearn (Ethereum, Optimism, Polygon, Fantom, Base, Arbitrum).
Overview
Yearn Finance GraphQL API is a GraphQL API specification published by Yearn Finance on the APIs.io network.
Yearn Finance’s Kong GraphQL API is an integrated indexing and querying service that provides comprehensive on-chain data for Yearn V2 and V3 vault ecosystems. It exposes vault snapshots, strategy data, APY and TVL timeseries, harvest reports, transfer and deposit events, price feeds, risk scores, fee structures, staking rewards, and protocol governance roles across all EVM networks supported by Yearn (Ethereum, Optimism, Polygon, Fantom, Base, Arbitrum).
The GraphQL endpoint is available at https://kong.yearn.fi/api/gql. documentation is published at https://docs.yearn.fi/developers/data-services/yearn-data.
The specification includes 3 reference links.
Tagged areas include DeFi, Yield Aggregator, Vault, EVM, and Web3.
Endpoint
References
- Documentation https://docs.yearn.fi/developers/data-services/yearn-data
- GettingStarted https://docs.yearn.fi/developers/data-services/yearn-data
- GitHubRepository https://github.com/yearn/kong
Related API Specs
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/yearn-graphql"
curl "https://apis.io/api/v1/graphql?limit=25"
Discovery needs no key. Ratings and market analysis are Pro.