latestOpenAPI 3.0.02026-07-2442138225.7 KB

acfa80015ca5

Integrations
Discovery

List all integrations

Retrieve a list of available lending/borrowing integrations (e.g., Aave, Spark, Morpho) with their supported actions and networks.

get/v1/integrations

Response

List of all integrations

idstring required

Integration identifier

providerIdstring required

Provider identifier

namestring required

Integration display name

networksstring[] required

Supported networks

Example response

[
  {
    "id": "aave-borrow",
    "providerId": "aave",
    "name": "Aave V3",
    "networks": [
      "ethereum",
      "polygon",
      "arbitrum"
    ],
    "metadata": {
      "description": "Aave is a decentralized non-custodial liquidity protocol for lending and borrowing.",
      "externalLink": "https://aave.com",
      "logoURI": "https://assets.stakek.it/protocols/aave.svg"
    },
    "actions": [
      {
        "id": "supply",
        "label": "Supply Collateral",
        "schema": {
          "properties": {
            "asset": {
              "type": "string",
              "label": "Asset",
              "pattern": "^0x[a-fA-F0-9]{40}$"
            },
            "amount": {
              "type": "string",
              "label": "Amount",
              "pattern": "^\\d+$"
            }
          },
          "required": [
            "network",
            "asset",
            "amount"
          ],
          "items": {
            "enum": [
              "long",
              "short"
            ],
            "label": "Amount",
            "placeholder": "1000000",
            "optionsRef": "markets",
            "options": [
              "1",
              "2"
            ]
          },
          "notes": "Supply assets to earn interest and optionally use as collateral for borrowing."
        }
      }
    ]
  }
]