DeFi API

Get Supported Protocols#

Query all protocols currently covered by DeFi investment products along with their statistics. The response includes protocol name, protocol ID, and the number of investment products under each protocol. It can be used to display protocol filters on the frontend or for protocol overview pages.

URL: GET /api/v6/defi/product/supported-platforms

Request Parameters#

No request parameters.

Request Example#

GET /api/v6/defi/product/supported-platforms

Response Parameters#

data Array Elements

FieldTypeExplanation
analysisPlatformIdStringProtocol ID
platformNameStringProtocol name (e.g., "Aave V3", "Lido", "PancakeSwap V3")
investmentCountLongNumber of investment products under this protocol

Response Example#

Json
{
    "code": 0,
    "data": [
        {
            "analysisPlatformId": "10",
            "platformName": "Aave V3",
            "investmentCount": 68
        },
        {
            "analysisPlatformId": "20",
            "platformName": "Lido",
            "investmentCount": 1
        },
        {
            "analysisPlatformId": "30",
            "platformName": "PancakeSwap V3",
            "investmentCount": 120
        }
    ]
}

The actual number of protocols and investment products depends on what is currently live.