curl "https://partners-backend-1038109371738.europe-west1.run.app/api/v1/8453/0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913/protocols"
{
"protocols": [
{
"name": "aave",
"available": true,
"description": "Aave v3 lending protocol",
"tvl": 1500000000,
"apy": 5.5,
"pools": [
{
"name": "USDC",
"apy": 5.5
}
],
"created_at": "2024-01-01T00:00:00Z",
"updated_at": "2024-01-20T12:00:00Z"
},
{
"name": "compound",
"available": true,
"description": "Compound v3 lending protocol",
"tvl": 800000000,
"apy": 4.8,
"pools": [
{
"name": "USDC",
"apy": 4.8
}
],
"created_at": "2024-01-01T00:00:00Z",
"updated_at": "2024-01-20T12:00:00Z"
},
{
"name": "moonwell",
"available": true,
"description": "Moonwell lending protocol",
"tvl": 200000000,
"apy": 6.2,
"pools": [],
"created_at": "2024-01-01T00:00:00Z",
"updated_at": "2024-01-20T12:00:00Z"
}
]
}
Get available protocols for a token
curl "https://partners-backend-1038109371738.europe-west1.run.app/api/v1/8453/0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913/protocols"
{
"protocols": [
{
"name": "aave",
"available": true,
"description": "Aave v3 lending protocol",
"tvl": 1500000000,
"apy": 5.5,
"pools": [
{
"name": "USDC",
"apy": 5.5
}
],
"created_at": "2024-01-01T00:00:00Z",
"updated_at": "2024-01-20T12:00:00Z"
},
{
"name": "compound",
"available": true,
"description": "Compound v3 lending protocol",
"tvl": 800000000,
"apy": 4.8,
"pools": [
{
"name": "USDC",
"apy": 4.8
}
],
"created_at": "2024-01-01T00:00:00Z",
"updated_at": "2024-01-20T12:00:00Z"
},
{
"name": "moonwell",
"available": true,
"description": "Moonwell lending protocol",
"tvl": 200000000,
"apy": 6.2,
"pools": [],
"created_at": "2024-01-01T00:00:00Z",
"updated_at": "2024-01-20T12:00:00Z"
}
]
}
giza.agent.getProtocols() for a simpler TypeScript interface. See SDK docsShow child attributes
curl "https://partners-backend-1038109371738.europe-west1.run.app/api/v1/8453/0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913/protocols"
{
"protocols": [
{
"name": "aave",
"available": true,
"description": "Aave v3 lending protocol",
"tvl": 1500000000,
"apy": 5.5,
"pools": [
{
"name": "USDC",
"apy": 5.5
}
],
"created_at": "2024-01-01T00:00:00Z",
"updated_at": "2024-01-20T12:00:00Z"
},
{
"name": "compound",
"available": true,
"description": "Compound v3 lending protocol",
"tvl": 800000000,
"apy": 4.8,
"pools": [
{
"name": "USDC",
"apy": 4.8
}
],
"created_at": "2024-01-01T00:00:00Z",
"updated_at": "2024-01-20T12:00:00Z"
},
{
"name": "moonwell",
"available": true,
"description": "Moonwell lending protocol",
"tvl": 200000000,
"apy": 6.2,
"pools": [],
"created_at": "2024-01-01T00:00:00Z",
"updated_at": "2024-01-20T12:00:00Z"
}
]
}