tokens
curl --request GET \
--url https://api.jup.ag/lend/v1/earn/tokens \
--header 'x-api-key: <api-key>'[
{
"id": "So11111111111111111111111111111111111111112",
"address": "So11111111111111111111111111111111111111112",
"name": "Wrapped SOL",
"symbol": "SOL",
"decimals": 9,
"assetAddress": "So11111111111111111111111111111111111111112",
"asset": {
"address": "So11111111111111111111111111111111111111112",
"chain_id": 0,
"name": "Wrapped SOL",
"symbol": "SOL",
"decimals": 9,
"logo_url": "https://raw.githubusercontent.com/solana-labs/token-list/main/assets/mainnet/So11111111111111111111111111111111111111112/logo.png",
"price": 171.34,
"coingecko_id": "solana"
},
"totalAssets": "1500000000000",
"totalSupply": "1450000000000",
"convertToShares": "0.966667",
"convertToAssets": "1.034483",
"rewardsRate": "0.035",
"supplyRate": "0.025",
"totalRate": "0.06"
}
]Earn
Tokens
Request for the tokens available to be deposited and their information
GET
/
earn
/
tokens
tokens
curl --request GET \
--url https://api.jup.ag/lend/v1/earn/tokens \
--header 'x-api-key: <api-key>'[
{
"id": "So11111111111111111111111111111111111111112",
"address": "So11111111111111111111111111111111111111112",
"name": "Wrapped SOL",
"symbol": "SOL",
"decimals": 9,
"assetAddress": "So11111111111111111111111111111111111111112",
"asset": {
"address": "So11111111111111111111111111111111111111112",
"chain_id": 0,
"name": "Wrapped SOL",
"symbol": "SOL",
"decimals": 9,
"logo_url": "https://raw.githubusercontent.com/solana-labs/token-list/main/assets/mainnet/So11111111111111111111111111111111111111112/logo.png",
"price": 171.34,
"coingecko_id": "solana"
},
"totalAssets": "1500000000000",
"totalSupply": "1450000000000",
"convertToShares": "0.966667",
"convertToAssets": "1.034483",
"rewardsRate": "0.035",
"supplyRate": "0.025",
"totalRate": "0.06"
}
]Documentation Index
Fetch the complete documentation index at: https://dev.jup.ag/docs/llms.txt
Use this file to discover all available pages before exploring further.
Authorizations
Get API key via https://developers.jup.ag/portal
Response
200 - application/json
Successful response
- Lending ID, starts from
1
- Lending token address like
9BEcn9aPEmhSPbPQeFGjidRiEKki46fVQDyPpSQXPA2D
- Lending token name like Jupiter Lend USDC
- Lending token symbol like jlUSDC
- Lending token underlying asset address like
EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v
Show child attributes
Show child attributes
- Total available underlying mint from jlTokens (with accured interest)
- Total supply of jlTokens for this mint
- Value of one 1 underlying token to jlToken, like 1 USDC = X jlUSDC
- Used for conversion
- Value of one 1 jlToken token to underlying mint, like 1 jlUSDC = X USDC
- Used for conversion
- Rewards rate , in 1e4 decimals
- Supply rate, in 1e4 decimals
- Total sum of rewards + supply rate
Show child attributes
Show child attributes
Was this page helpful?
⌘I
