Skip to main content

API Documentation

Documentation for reading Tenor data and executing Tenor transactions from your own application. The GraphQL API serves indexed onchain state; the TypeScript SDK builds and submits the transactions.

GraphQL API

Endpoint, access, rate limits, query complexity, pagination, and value encoding. Start here before using the reference.

SDK

TypeScript library for building and executing transactions. React hooks, approval management, simulation, and Safe wallet support.

Markets

Browse Tenor markets and the fixed-rate terms inside them, with loan tokens, accepted collaterals, and maturities.

Offers

Active limit offers across fixed markets, filterable by rate, maturity, size, and direction.

Yield curve

Supply, borrow, and mid rates across every maturity of a market, in a single request.

Positions

Borrow and lend positions for any wallet, with balances, rates, collateral, and LTV.

Portfolio and analytics

Account holdings and historical performance, plus protocol-wide totals and their history.

Tokens

Loan and collateral tokens known to the protocol, with addresses, decimals, and chain.