
One API to power your operations
Integrate borrowing and lending directly in your operations. Build transactions, get quotes from posted offers, and read live market data.
- 1Quote
- 2Prepare
POST/v1/quotes
{
"chain_id": 8453,
"action": "borrow",
"market": "EURC/USDC",
"term": ,
"size": { "principal": }
}ResponseEdit a value, then press Run


- 1Quote
- 2Prepare
{
"chain_id": 8453,
"action": "borrow",
"market": "EURC/USDC",
"term": ,
"size": { "principal": }
}Blended rate5.46% fixed


- 2Prepare
{
"chain_id": 8453,
"wallet": "0x7a3f…c91e",
"quote_id": "qt_01J9K2",
"size": { "principal": "2000000" },
"collateral": { "token": "EURC", "amount": "2150000" }
}Sign and send these 2 transactions
1/2
approve(spender, amount)68 bytes payload2/2
borrowRoute(legs[2], maxRate)356 bytes payload- 1Quote
- 2Prepare
{
"chain_id": 8453,
"action": "lend",
"market": "EURC/USDC",
"term": ,
"size": { "principal": }
}Blended rate5.23% fixed
Desk A1.2M USDC5.24%
Desk B800k USDC5.21%
- 2Prepare
{
"chain_id": 8453,
"wallet": "0x7a3f…c91e",
"term": "3M",
"size": { "principal": "2000000" }
}Sign and send these 2 transactions
1/2
approve(spender, amount)68 bytes payload2/2
lendRoute(legs[2], minRate)356 bytes payload- 1Post
- 2Track
{
"chain_id": 8453,
"wallet": "0x7a3f…c91e",
"side": "lend",
"term": "6M",
"rate": ,
"size": { "principal": }
}Sign and send these 2 transactions
1/2
approve(spender, amount)68 bytes payload2/2
postOffer(maturity, rate, maxAssets)100 bytes payload- 2Track
X-Api-Key: tnr_live_•••• // watch it fill
Offer live · 5.40% · 40% filled
Filled800,000 of 2,000,000 USDC
Matures7 Apr 2027
- 1Request
- 2Replies
- 3Take
{
"chain_id": 8453,
"side": "borrow",
"market": "EURC/USDC",
"term": ,
"size": { "principal": },
"makers": { "all": true }
}


- 2Replies
- 3Take
X-Api-Key: tnr_live_•••• // lenders who respond post offers



- 3Take
{
"chain_id": 8453,
"wallet": "0x7a3f…c91e",
"offer_id": "e7a0…",
"size": { "principal": "2000000" },
"collateral": { "token": "EURC", "amount": "2150000" }
}Sign and send these 2 transactions
1/2
approve(spender, amount)68 bytes payload2/2
take(offerId, amount, collateral)100 bytes payloadAccess real-time market data
Read markets, rates from posted offers, historical transactions, and live requests and offers.
- Markets by loan token and collateral
- Fixed rates currently offered across maturities
- Lend and borrow offers by rate, with the spread
- Every fill for a wallet, by maturity
- Status, fills and position changes of one transaction
- Your requests for quote, or your inbox as a lender
- One request with the offers that answer it
- A wallet's offers with their live status
- Positions by side, rate type and market
- Token balances for a wallet
- Approvals and authorizations still needed to borrow or lend
Build and review transaction payloads
The Tenor API builds and bundles the transactions, including token approvals, for EOAs, Safes, smart accounts and vaults. Your wallet signs and sends them.
- Borrow and lend
/borrow/prepare, /lend/prepare - Repay and withdraw
/repay/prepare, /redeem/prepare - Add or remove collateral
/manage/prepare - Auto-renewal
/renew/prepare
Answer requests programmatically
Lenders can respond to requests for quote programmatically directly through the API.
Get access