Skip to main content

Overview

If you need to fetch large amounts of historical yearn data, there are currently three services that can help you with that:

  • Yearn Exporter (powers yearn.vision)
  • Yearn Subgraph (GraphQL API)
  • yDaemon (RESTful API, contains the subgraph and more)

Yearn Exporter

The exporter is used to build our Grafana dashboard at yearn.vision and contains handy historical TVL data. It provides:

Subgraph

The subgraph is a GraphQL interface to raw historical data. Check yDaemon before using the subgraph directly.

yDaemon

yDaemon is a RESTful API that hydrates subgraph responses with more data, like APY calculations.

yDaemon Data Sources

To build the yDaemon API, data is fetched from several Yearn data sources: