GetRates

Lending rates for DeFi projects.
https://public.defipulse.com/api/GetRates?token=DAI&amount=10000

Parameter

Description

api-key

Use an API key to avoid rate limiting.

token

The desired token, e.g. DAI or ETH.

amount

The desired amount, e.g. 1000

Response:

[{
"token": {
"price": 169.59,
"name": "WETH"
},
"rates": {
"dYdX": {
"lend": {
"rate": 0.5338044182707921
},
"borrow": {
"rate": 2.37960754661304
},
"term": "1 block",
"name": "dYdX"
},
...
}
}, ...
]