Maru Portal API Endpoint
Basics:
API URL https://portal.maru.network
BEARER: request from Maru Team
API docs
Get available projects
Returns projects for current user
Url | /api/v1/users/me/projects |
---|---|
Method | GET |
CURL example
Response example
Current available projects:
Project name | ID |
---|---|
AAVE Deposits & Borrows v2 | 15 |
Balancer Weighted Pools Trade Volumes | 16 |
Curve 3pool Volumes | 17 |
Get list of expressions in project
Returns list of expressions in the selected project
Url | /api/v1/projects/PROJECT_ID/expressions |
---|---|
Method | GET |
CURL example
Response example
15 Project’s expressions [AAVE]
Expression name | ID |
---|---|
aave_deposits_volume | 71 |
wbtc_deposits_volume | 70 |
usdc_deposits_volume | 69 |
dai_deposits_volume | 68 |
weth_deposits_volume | 67 |
usdt_deposits_volume | 66 |
usdt_borrows_volume | 72 |
dai_borrows_volume | 73 |
weth_borrows_volume | 74 |
usdc_borrows_volume | 75 |
wbtc_borrows_volume | 76 |
aave_borrows_volume | 77 |
16 Project’s expressions [BALANCER]
Expression name | ID |
---|---|
bal_sell_volume_usd | 82 |
17 Project’s expressions [CURVE]
Expression name | ID |
---|---|
dai_volume_usd | 78 |
usdc_volume_usd | 79 |
usdt_volume_usd | 80 |
total_volume_usd | 81 |
Generate data for the selected expression
Method to generate datasets for the selected expression
Url | /api/v1/expressions/EXPRESSION_ID/proofs_ds/by_days?from_date=XXX&to_date=XXX |
---|---|
Method | GET |
Url args
from_date
must be less than to_date
from_date | YYYY-MM-DD | min_value: 2023-12-20 |
---|---|---|
to_date | YYYY-MM-DD | max_value: 2024-04-07 |
CURL example
Response example
Create expression
Update expression
Last updated