# Hifi Protocol Subgraph

**Canonical:** https://apis.io/apis/mainframe/hifi-subgraph/  
**Provider:** Mainframe — https://apis.io/providers/mainframe/  
**Base URL:** https://thegraph.com/hosted-service/subgraph/hifi-finance/hifi  
**Documentation:** https://docs.hifi.finance/protocol/developers/data

Hifi Protocol Subgraph is published by [Mainframe](https://apis.io/providers/mainframe/) on the [APIs.io](https://apis.io/) network. Tagged areas include GraphQL, Subgraph, The Graph, DeFi, and Lending. The published artifact set on APIs.io includes API documentation.

The Graph subgraph that indexes the Hifi fixed-rate, fixed-term lending protocol — vaults, collateral and debt positions, listed bonds and collaterals, AMM pools and swaps — and serves them over GraphQL. This is the only machine-readable contract Mainframe publishes; the schema is captured verbatim in graphql/. WARNING: the endpoint Hifi's own documentation names is on The Graph's retired hosted service and returned HTTP 404 when probed 2026-08-13, and the docs name no replacement, so the surface is documented but not currently callable.

## Machine-readable artifacts (5)

- **Documentation** — https://docs.hifi.finance/protocol/developers/data
- **Repository** — https://github.com/hifi-finance/hifi-subgraph
- **GraphQL** — https://raw.githubusercontent.com/api-evangelist/mainframe/refs/heads/main/graphql/mainframe-hifi-graphql.md
- **Schema** — https://raw.githubusercontent.com/api-evangelist/mainframe/refs/heads/main/graphql/mainframe-hifi-subgraph-schema.graphql
- **APIsJSON** — https://raw.githubusercontent.com/api-evangelist/mainframe/refs/heads/main/apis.yml

## Tags

GraphQL, Subgraph, The Graph, DeFi, Lending

---

Profiled by [API Evangelist](https://apievangelist.com) and published on [APIs.io](https://apis.io/apis/mainframe/hifi-subgraph/). The API's provider profile, Kin Score and agent-readiness rating are at https://apis.io/providers/mainframe/.
