Yearn Finance · GraphQL Specification

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).

Documentation Endpoint View on GitHub DeFiYield AggregatorVaultsEVMWeb3BlockchainFinanceGraphQL

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, Vaults, EVM, and Web3.

Endpoint

https://kong.yearn.fi/api/gql

References

Related API Specs

yDaemon REST API (OpenAPI)
Back to Yearn Finance · All GraphQL Specs · GitHub