- Getting Started
- Real Yeti API V1
- 🏡 Real Estate
- 💵 Private Credit
- 🪙 Stablecoin
Total Loans by Protocol
GET
/showcase/timeseries/total_loans_by_protocol
timeseries
Request
Authorization
Add parameter in header
Authorization
Example:
Authorization: ********************
Header Params
Authorization
string
optional
Request samples
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request GET 'https://docs.joinclutch.xyz/api/showcase/timeseries/total_loans_by_protocol' \
--header 'Authorization;'
Responses
🟢200Get total loans by protocol timeseries data
application/json
Body
results
array[object (TimeSeriesData) {3}]
required
group
object (TimeSeriesGroup)
required
measure
object (TimeSeriesMeasure)
required
points
array[object (DataPoint) {2}]
required
Example
{
"results": [
{
"group": {
"color": "#FFD700",
"id": 1,
"name": "Goldfinch",
"type": "rwa_lending_protocol"
},
"measure": {
"id": 1,
"name": "Total Loans",
"slug": "total_loans",
"unit": "count"
},
"points": [
{
"x": "2023-01-01",
"y": 12
},
{
"x": "2023-02-01",
"y": 14
},
{
"x": "2023-03-01",
"y": 15
},
{
"x": "2023-04-01",
"y": 17
}
]
},
{
"group": {
"color": "#4B0082",
"id": 2,
"name": "Centrifuge",
"type": "rwa_lending_protocol"
},
"measure": {
"id": 1,
"name": "Total Loans",
"slug": "total_loans",
"unit": "count"
},
"points": [
{
"x": "2023-01-01",
"y": 8
},
{
"x": "2023-02-01",
"y": 9
},
{
"x": "2023-03-01",
"y": 11
},
{
"x": "2023-04-01",
"y": 13
}
]
},
{
"group": {
"color": "#008080",
"id": 3,
"name": "Maple Finance",
"type": "rwa_lending_protocol"
},
"measure": {
"id": 1,
"name": "Total Loans",
"slug": "total_loans",
"unit": "count"
},
"points": [
{
"x": "2023-01-01",
"y": 6
},
{
"x": "2023-02-01",
"y": 7
},
{
"x": "2023-03-01",
"y": 8
},
{
"x": "2023-04-01",
"y": 9
}
]
}
]
}
🔴500Error
Modified at 2024-08-27 06:49:40