cURL
curl --request GET \ --url https://markets.dial.to/api/v0/markets \ --header 'x-dialect-api-key: <api-key>'
{ "markets": [ { "id": "<string>", "type": "<any>", "provider": { "id": "kamino", "name": "<string>", "icon": "<string>" }, "token": { "address": "<string>", "symbol": "<string>", "decimals": 123, "icon": "<string>" }, "websiteUrl": "<string>", "depositApy": 123, "borrowApy": 123, "totalDeposit": 123, "totalDepositUsd": 123, "totalBorrow": 123, "totalBorrowUsd": 123, "maxDeposit": 123, "maxBorrow": 123, "oraclePrice": 123, "additionalData": {}, "actions": { "deposit": { "blinkUrl": "<string>" }, "withdraw": { "blinkUrl": "<string>" } } } ] }
Returns real-time market data from supported protocols. See Protocol Support Roadmap for the full list of supported providers.
API key for the Markets API
lending
yield
loop
perpetual
OK
The response is of type object.
object
Was this page helpful?