GETTING STARTED
Markets
List all markets
Supported providers: MarginFi Lending, Kamino Lending.
GET
/
v0
/
markets
List all markets
Copy
Ask AI
curl --request GET \
--url https://markets.dial.to/api/v0/markets \
--header 'x-dialect-api-key: <api-key>'
Copy
Ask AI
{
"markets": [
{
"id": "<string>",
"type": "<any>",
"provider": {
"id": "<string>",
"name": "<string>"
},
"token": {
"address": "<string>",
"symbol": "<string>",
"decimals": 123
},
"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>"
}
}
}
]
}
Authorizations
API key for the Markets API
Response
200 - application/json
OK
The response is of type object
.
Was this page helpful?
List all markets
Copy
Ask AI
curl --request GET \
--url https://markets.dial.to/api/v0/markets \
--header 'x-dialect-api-key: <api-key>'
Copy
Ask AI
{
"markets": [
{
"id": "<string>",
"type": "<any>",
"provider": {
"id": "<string>",
"name": "<string>"
},
"token": {
"address": "<string>",
"symbol": "<string>",
"decimals": 123
},
"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>"
}
}
}
]
}
Assistant
Responses are generated using AI and may contain mistakes.