Skip to main content

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

CategoryDescriptionExample Queries
MarketsBrowse available markets with rates, TVL, and supported tokensmorphoMarkets, morphoMarketById
ObligationsQuery fixed-rate terms with specific maturities and their current statemorphoObligations, morphoObligationByKey
PositionsFetch borrow and lend positions for any wallet, including balances, rates, and renewal statusobligationPositions, obligationPosition
OffersView active offers, filterable by rate, maturity, and directionoffersList
Yield CurveRetrieve yield curves across maturitiesyieldCurve
PortfolioGet account summaries and historical portfolio performanceaccountSummary, historicalSummaryForAccount
Market AnalyticsPlatform-wide TVL, volume, and historical trendsmarketSummary, historicalSummaryForAllMarkets
TokensSearch and filter tokens by symbol, type, or whitelist statustokens, loanTokens, collateralTokens
TransactionsQuery transaction history for any wallettransactions