Ribbon's subgraph is hosted on The Graph. If you need any additional data, feel free to raise an issue at the ribbon-subgraph repo, or contribute a change.
We have two subgraphs hosted on the legacy Graph explorer:
This query returns the first 5 vaults and vital statistics about the vault.
{
vaults(first: 5) {
id
totalPremiumEarned
underlyingAsset
underlyingSymbol
}
}
Querying Vault APY
This query returns a chronological list of pricePerShare values for the vault. pricePerShare represents how much a vault share is worth in the collateral asset. For example, for the ETH Theta Vault, if the value of pricePerShare is more than 1*10**18, the vault is profitable.