Query all available protocol detail list

Description

  • Method:HTTPS GET

  • Encoding:UTF-8

  • Path:https://api.blockin.ai/v2/protocol/all_support_protocol_list

  • Description:Query all available protocol list supported by Blockin.

Request Header

Parameter
Required
Type
Description

Content-Type

Y

String

application/json

AccessKey

Y

String

1bdb01c947c54919b64d1fc6794atest

Request Parameters

Parameter
Required
Type
Description

chain_names

N

String

If chain_names is empty, query all. Multiple chains are separated by commas. eg: eth, bsc, arb. Enumeration

Response

Public Response

Parameter
Required
Type
Description

success

Y

String

Success Boolean

data

N

List

Response object

error_code

N

String

Error code

error_msg

N

String

Error message

Response Content

Parameter
Required
Type
Description

records

Y

Record

Record detail

Record Content

Parameter
Required
Type
Description

chain_name

Y

String

Chain's name

protocol_name

Y

String

Protocol's name

project_name

Y

Integer

Project's name

logo_url

Y

Integer

URL of project logo image

tags

Y

List<TagInfo>

TagInfoList

TagInfo Content

Parameter
Required
Type
Description

tag_name

Y

String

Tag's name

tag_id

Y

Integer

Tag's id

tag_type

Y

String

Tag's type

Request Sample

curl -H "Content-Type:application/json" -H "AccessKey:1bdb01c947c54919b64d1fc6794atest" -X GET "https://api.blockin.ai/v2/protocol/all_support_protocol_list?chain_names=pol,bsc"

Successful Response Sample

{
    "success": true,
    "data": [
        {
            "tags": [
                {
                    "tag_id": 3,
                    "tag_name": "DEX",
                    "tag_type": "dex"
                },
                {
                    "tag_id": 4,
                    "tag_name": "AMM",
                    "tag_type": "amm"
                }
            ],
            "price": null,
            "project_name": "PancakeSwap ",
            "protocol_name": "pancakeswap",
            "logo_url": "https://www.blockin.ai/image/protocol/pancakeswap.png",
            "site_url": "https://pancakeswap.finance/",
            "chain_name": "BSC",
            "user_deposits": 1815795940.48256660000000000000000,
            "user_count": 1709777,
            "platform_token_address": "0x0e09fabb73bd3ade0a17ecc321fd13a19e81ce82",
            "platform_token_symbol": "Cake",
            "platform_token_logo_url": "https://www.blockin.ai/image/bsc/token/0x0e09fabb73bd3ade0a17ecc321fd13a19e81ce82.png"
        },
        {
            "tags": [
                {
                    "tag_id": 8,
                    "tag_name": "Lending",
                    "tag_type": "debt"
                }
            ],
            "price": null,
            "project_name": "Venus",
            "protocol_name": "venus",
            "logo_url": "https://www.blockin.ai/image/protocol/venus.png",
            "site_url": "https://app.venus.io",
            "chain_name": "BSC",
            "user_deposits": 905779000.87654500000000000000000,
            "user_count": 88027,
            "platform_token_address": "0xcf6bb5389c92bdda8a3747ddb454cb7a64626c63",
            "platform_token_symbol": "XVS",
            "platform_token_logo_url": "https://www.blockin.ai/image/bsc/token/0xcf6bb5389c92bdda8a3747ddb454cb7a64626c63.png"
        },
        {
            "tags": [
                {
                    "tag_id": 3,
                    "tag_name": "DEX",
                    "tag_type": "dex"
                },
                {
                    "tag_id": 4,
                    "tag_name": "AMM",
                    "tag_type": "amm"
                }
            ],
            "price": null,
            "project_name": "Unifi Protocol",
            "protocol_name": "unifiprotocol",
            "logo_url": "https://www.blockin.ai/image/protocol/unifiprotocol.png",
            "site_url": "https://unifiprotocol.com/",
            "chain_name": "Polygon",
            "user_deposits": null,
            "user_count": null,
            "platform_token_address": null,
            "platform_token_symbol": null,
            "platform_token_logo_url": null
        }
      ...
    ],
    "error_code": null,
    "error_msg": null
}

Last updated