API
The Tenor GraphQL API exposes markets, positions, offers, and portfolio analytics in a single flexible query interface, so a client can fetch related data across markets and maturities in one request. It aggregates onchain data from the Tenor indexer, with no separate indexer required.
Requesting access
API access is whitelisted to partners. Reach out to contact@tenor.finance to request access.
What You Can Query
| Category | Description | Example Queries |
|---|---|---|
| Markets | Browse available markets with rates, TVL, and supported tokens | morphoMarkets, morphoMarketById |
| Obligations | Query fixed-rate terms with specific maturities and their current state | morphoObligations, morphoObligationByKey |
| Positions | Fetch borrow and lend positions for any wallet, including balances, rates, and renewal status | obligationPositions, obligationPosition |
| Offers | View active offers, filterable by rate, maturity, and direction | offersList |
| Yield Curve | Retrieve yield curves across maturities | yieldCurve |
| Portfolio | Get account summaries and historical portfolio performance | accountSummary, historicalSummaryForAccount |
| Market Analytics | Platform-wide TVL, volume, and historical trends | marketSummary, historicalSummaryForAllMarkets |
| Tokens | Search and filter tokens by symbol, type, or whitelist status | tokens, loanTokens, collateralTokens |
| Transactions | Query transaction history for any wallet | transactions |