Skip to main content

Yearn Data Services

If you want to programmatically interact with Yearn data, or need to fetch large amounts of it then you have a few options:

yDaemon

yDaemon is a RESTful API that hydrates subgraph responses with more data, like APY calculations. yDaemon is the best source for current yearn Vault data and is what is used by the production Yearn front ends.

Subgraph

info

Currently only subgraphs for V2 vaults are available and some subgraphs have not been migrated to the new service.

The subgraph is a GraphQL interface to query raw historical data. For current data it is recommended to check yDaemon before using the subgraph directly.

V2 Vaults

Yearn Lens

Yearn Lens is a collection of smart contracts that collect data about V2 Yearn vaults.


Deprecated Data Services

Yearn Exporter - No longer supported

The exporter is was to build the (now deprecated) Yearn Grafana dashboard.

V1 Yearn API - No longer supported