# 超导数据中心API

Field Value
HTTP_SERVER_ENDPOINT https://supertx.movapi.com

# 获取历史存币数据

根据条件按时间查询用户存币数据

# Request

GET /v1/list-deposits

# Params

参数 必选 类型 描述
symbols array 根据符号过滤,范围:["USDC","DAI","USDT", "ALL"]
limit String 显示数量,默认10
start String 设置查询的开始位置,默认0

# Response

名称 类型 描述
data Array 返回的数据数组
├── base_amount String Base交易量
├── quote_amount String Quote交易量
├── base_usd_price String Base USD 价格(单价)
├── quote_usd_price String Quote USD 价格(单价)
├── hash String 交易哈希
├── address String 侧链地址
└── timestamp String 时间戳
pagination Object 分页
├── start String 开始位置
├── limit String 每页个数
├── total Int 总量
└── _links Object 相关链接
├──── prev String 前一页链接
└──── next String 后一页链接

示例:

# Request
http://supertx.movapi.com/v1/list-deposits?limit=3&start=0

# Response
{
    "code": 200,
    "msg": "",
    "data": [
        {
            "symbol": "BTM/BTC",
            "base_amount": "59.410000",
            "quote_amount": "0.000129",
            "base_usd_price": "0.0616",
            "quote_usd_price": "19149.4",
            "hash": "6d11e21c319866982b96c89894766a4cf6c92721bee61e92529a9c7820e62454",
            "address": "vp1qphgfqj9wyvcnqnfts3gdtp9ecms3shdkq7zcws",
            "timestamp": 1607935003
        },
        {
            "symbol": "BTM/BTC",
            "base_amount": "59.420000",
            "quote_amount": "0.000129",
            "base_usd_price": "0.0616",
            "quote_usd_price": "19149.4",
            "hash": "87f7199c78e6298c3f8d4742b081b014b684d833cb0516f5ce42002d2728aa11",
            "address": "vp1qphgfqj9wyvcnqnfts3gdtp9ecms3shdkq7zcws",
            "timestamp": 1607933296
        },
        {
            "symbol": "BTM/BTC",
            "base_amount": "59.420000",
            "quote_amount": "0.000129",
            "base_usd_price": "0.0616",
            "quote_usd_price": "19149.4",
            "hash": "c905db59ef8dc6ab286387dab97f89df275825a05d845cee848164d7c59b38c7",
            "address": "vp1qphgfqj9wyvcnqnfts3gdtp9ecms3shdkq7zcws",
            "timestamp": 1607931306
        }
    ],
    "pagination": {
        "start": 0,
        "limit": 3,
        "total": 100,
        "_links": {
            "next": "/supertx/v1/list-deposits?limit=5&start=5"
        }
    }
}

# 获取历史取币数据

根据查询条件按时间查询用户取币数据

# Request

GET /v1/list-withdrawals

# Params

名称 必选 类型 描述
symbols array 根据符号过滤,范围:["USDC","DAI","USDT", "ALL"]
limit String 显示数量,默认10
start String 设置查询的开始位置,默认0

# Response

名称 类型 描述
data Array 返回的数据数组
├── symbol String 交易对
├── base_amount String Base交易量
├── quote_amount String Quote交易量
├── base_usd_price String Base USD 价格(单价)
├── quote_usd_price String Quote USD 价格(单价)
├── hash String 交易哈希
├── address String 侧链地址
└── timestamp String 时间戳
pagination Object 分页
├── start String 开始位置
├── limit String 每页个数
├── total Int 总量
└── _links Object 相关链接
├── prev String 前一页链接
└── next String 后一页链接

示例:

# Request
http://supertx.movapi.com/v1/list-withdrawals?limit=3&start=0

# Response
{
    "code": 200,
    "msg": "",
    "data": [
         {
            "symbol": "DAI/USDT",
            "base_amount": "0.103500",
            "quote_amount": "0.180900",
            "base_usd_price": "1.0017",
            "quote_usd_price": "1.0007",
            "hash": "8ab68965bb6a5679f169723d0dde6b2291b228e0a775e39b2ff23dfa0f0da9e2",
            "address": "vp1qphgfqj9wyvcnqnfts3gdtp9ecms3shdkq7zcws",
            "timestamp": 1607936642
        },
        {
            "symbol": "DAI/USDT",
            "base_amount": "1.000000",
            "quote_amount": "1.748100",
            "base_usd_price": "1.0017",
            "quote_usd_price": "1.0007",
            "hash": "a9dedd9470e080704a4ab97862f0af2df320c24de279f65f5c1a5b286891ed2c",
            "address": "vp1qzngd0f25es0wdd2qgjpm6t32ca6qhw6jdskafy",
            "timestamp": 1607935523
        },
        {
            "symbol": "BTM/BTC",
            "base_amount": "10.000000",
            "quote_amount": "0.000022",
            "base_usd_price": "0.0616",
            "quote_usd_price": "19172.3",
            "hash": "d312e4c9236d8ca997d1e0bee923eeaaf7f3aa8f2534686a2cc5753d1bd8705d",
            "address": "vp1qphgfqj9wyvcnqnfts3gdtp9ecms3shdkq7zcws",
            "timestamp": 1607935478
        }
    ],
    "pagination": {
        "start": 0,
        "limit": 3,
        "_links": {
            "next": "/supertx/v1/list-withdrawals?limit=5&start=5"
        }
    }
}

# 获取历史兑换数据

根据查询条件查询不同池稳定币兑换数据

# Request

GET /v1/list-orders

# Params

名称 必选 类型 描述
symbols array 根据符号过滤,范围:["USDC","DAI","USDT", "ALL"]
limit String 显示数量,默认10
start String 设置查询的开始位置,默认0

# Response

名称 类型 描述
data Array 返回的数据数组
├── symbol String 交易对
├── side String 交易方向
├── base_amount String Base交易量
├── quote_amount String Quote交易量
├── base_usd_price String Base USD 价格(单价)
├── quote_usd_price String Quote USD 价格(单价)
├── build_exchange_rate String 交易比率
├── fee String 交易费用
├── hash String 交易哈希
└── timestamp String 时间戳
pagination Object 分页
├── start String 开始位置
├── limit String 每页个数
├── total Int 总量
└── _links Object 相关链接
├── prev String 前一页链接
└── next String 后一页链接
# Request
http://supertx.movapi.com/v1/list-orders?limit=5&start=0

# Response
{
    "code": 200,
    "msg": "",
    "data": [
        {
            "symbol": "DAI/USDC",
            "side": "sell",
            "base_amount": "401",
            "quote_amount": "402.699081",
            "base_usd_price": "1.0026",
            "quote_usd_price": "1.0012",
            "build_exchange_rate": "1.0042371100",
            "fee": "0.20145",
            "hash": "43a9abb49cdbb7224edc366c93de6a7e61a1d40d04386a20a6d8d99892929122",
            "timestamp": 1608875872
        },
        {
            "symbol": "SUP/BTM",
            "side": "buy",
            "base_amount": "5.50687831",
            "quote_amount": "9850.45",
            "base_usd_price": "97.1617458658",
            "quote_usd_price": "0.0546",
            "build_exchange_rate": "0.0005590484",
            "fee": "0.00551239",
            "hash": "048f811bcc5c7a868ed6ff39ad084fc4d27f0516e66f51c9b481e0b7af20398e",
            "timestamp": 1608875844
        },
        {
            "symbol": "USDC/USDT",
            "side": "sell",
            "base_amount": "352",
            "quote_amount": "351.535381",
            "base_usd_price": "1.0012",
            "quote_usd_price": "1.0004",
            "build_exchange_rate": "0.9986800600",
            "fee": "0.175855",
            "hash": "f0144d4fb5e31d1bcd53f483e374cb2bc17b665fa2875bde941ac95fc5744e72",
            "timestamp": 1608875833
        },
        {
            "symbol": "DAI/USDT",
            "side": "buy",
            "base_amount": "250.881059",
            "quote_amount": "252",
            "base_usd_price": "1.0026",
            "quote_usd_price": "1.0004",
            "build_exchange_rate": "0.9955597600",
            "fee": "0.125503",
            "hash": "da823541fe90ed36ec880e5185e397a7c7d67ebed2b04d47278920a1759d78d0",
            "timestamp": 1608875735
        },
        {
            "symbol": "DAI/USDC",
            "side": "sell",
            "base_amount": "412",
            "quote_amount": "413.757348",
            "base_usd_price": "1.0026",
            "quote_usd_price": "1.0012",
            "build_exchange_rate": "1.0042654100",
            "fee": "0.206982",
            "hash": "6b0f27025c6fb95f8ddaa46d520bbdaec9daddecaf80a4137aeb46acfdf2d501",
            "timestamp": 1608875672
        }
    ],
    "pagination": {
        "start": 0,
        "limit": 5,
        "total": 1154616,
        "_links": {
            "next": "/v1/list-orders?limit=5&start=5"
        }
    }
}

# 获取超导全局统计数据

根据天来查询整个超导产品的基本统计数据

# Request

GET /v1/statistics

# Params

名称 必选 类型 描述
start_time int64 开始时间,unix时间戳单位秒
end_time int64 结束时间,unix时间戳单位秒

# Response

名称 类型 描述
deposit_count String 存交易量
withdrawal_count String 取交易量
ex_count String 稳定兑换交易量
deposit_amount String 存交易额
withdrawal_amount String 取交易额
ex_amount String 稳定兑换交易额
timestamp String 时间戳
pool_count String 流动性池总数

示例:

# Request
https://supertx.movapi.com/v1/statistics?start_time=1592554478&end_time=1693591278

# Response
{
    "code": 200,
    "msg": "",
    "data": [
        {
            "deposit_count": 7,
            "withdrawal_count": 5,
            "ex_count": 8717,
            "deposit_amount": "6262.84",
            "withdrawal_amount": "97823.09",
            "ex_amount": "1025068.64",
            "timestamp": 1605715200,
            "pool_count": 9
        },
        {
            "deposit_count": 5,
            "withdrawal_count": 13,
            "ex_count": 11437,
            "deposit_amount": "23420.84",
            "withdrawal_amount": "28061.19",
            "ex_amount": "1197373.63",
            "timestamp": 1605628800,
            "pool_count": 9
        },
        {
            "deposit_count": 26,
            "withdrawal_count": 14,
            "ex_count": 8596,
            "deposit_amount": "100920.45",
            "withdrawal_amount": "21243.97",
            "ex_amount": "926579.32",
            "timestamp": 1605542400,
            "pool_count": 9
        },
        {
            "deposit_count": 10,
            "withdrawal_count": 15,
            "ex_count": 6754,
            "deposit_amount": "6731.61",
            "withdrawal_amount": "2390.01",
            "ex_amount": "963244.97",
            "timestamp": 1605456000,
            "pool_count": 9
        },
        {
            "deposit_count": 3,
            "withdrawal_count": 5,
            "ex_count": 3652,
            "deposit_amount": "7422.06",
            "withdrawal_amount": "52465.15",
            "ex_amount": "836104.52",
            "timestamp": 1605369600,
            "pool_count": 9
        }
   ]
}

# 获取超导各池历史统计数据

根据天来查询整个超导产品的基本统计数据

# Request

GET /v1/pool-statistics

# Params

名称 必选 类型 描述
start_time int64 开始时间,unix时间戳单位秒
end_time int64 结束时间,unix时间戳单位秒
pool String 储备池,USDC/DAI 等
period String 计算间隔周期, [day, week]

# Response

名称 类型 描述
deposit_count String 存交易量
withdrawal_count String 取交易量
ex_count String 稳定兑换交易量
deposit_amount String 存交易额
withdrawal_amount String 取交易额
ex_amount String 稳定兑换交易额
timestamp String 时间戳

示例:

# Request
https://supertx.movapi.com/v1/pool-statistics?start_time=1592554478&end_time=1593591278&pool=USDC/USDT

# Response
{
    "code": 200,
    "msg": "",
    "data": [
        {
            "deposit_count": 33,
            "withdrawal_count": 8,
            "ex_count": 1455,
            "deposit_amount": "46751",
            "withdrawal_amount": "1746.27",
            "ex_amount": "1101581.31",
            "timestamp": 1593532800
        },
        {
            "deposit_count": 17,
            "withdrawal_count": 6,
            "ex_count": 22506,
            "deposit_amount": "3730.07",
            "withdrawal_amount": "803.79",
            "ex_amount": "1076453.97",
            "timestamp": 1593446400
        },
        {
            "deposit_count": 30,
            "withdrawal_count": 11,
            "ex_count": 34014,
            "deposit_amount": "103228.23",
            "withdrawal_amount": "665.54",
            "ex_amount": "1346012.41",
            "timestamp": 1593360000
        }
   ]
}

# 获取所有储备池数据

根据查询条件查询储备池数据

# Request

GET /v1/list-pools

# Params

名称 必选 类型 描述
pool String 储备池,如DAI/USDC 等

# Response

名称 类型 描述
pool_symbol String 池的名字
annualized_rate String 收益率
prev_annualized_rate String 昨日收益率
avg_week_annualized_rate String 一周平均年化率
share_value Integer 单个份额价值
liquidity_utilization String 资金使用率
exchange_amount_growth_rate String 成交量较昨日增长率
PoolAssets Array 池中资产
├── symbol String 资产名称
├── amount String 数量
├── usd_price String 资产的USD价格
└── prev_amount String 昨日数量

示例:

# Request
http://supertx.movapi.com/v1/list-pools?pool=DAI/USDC

# Response
{
    "code": 200,
    "msg": "",
    "data": [
        {
            "pool_symbol": "DAI/USDC",
            "annualized_rate": "0.0494030000",
            "prev_annualized_rate": "0.0491300000",
            "avg_week_annualized_rate": "0.05590828571428571429",
            "share_value": 1,
            "liquidity_utilization": "0",
            "exchange_amount_growth_rate": "0",
            "PoolAssets": [
                {
                    "symbol": "DAI",
                    "amount": "216208.96",
                    "usd_price": "1.0032",
                    "prev_amount": "216375.96"
                },
                {
                    "symbol": "USDC",
                    "amount": "410139.12",
                    "usd_price": "1.0009",
                    "prev_amount": "409954.04"
                }
            ]
        }
    ]
}

# 获取超导池兑换统计数据

根据查询条件查询储备池交换数据

# Request

GET /v1/exchange-statistics

# Params

名称 必选 类型 描述
pool String 储备池,如DAI/USDC 等
start_time int64 开始时间,unix时间戳单位秒
end_time int64 结束时间,unix时间戳单位秒

# Response

名称 类型 描述
amount String 此周期内的交易额
count Integer 此周期交易量
fee String 此周期交易手续费

示例:

# Request
http://supertx.movapi.com/v1/exchange-statistics?end_time=1600352078&start_time=1600096000&pool=ETH/BTC

# Response
{
    "code": 200,
    "msg": "",
    "data": {
        "amount": "2731035.04",
        "count": 7972,
        "fee": "2733.78"
    }
}

# 获取所有超导池兑换统计数据

根据查询条件查询储备池交换数据

# Request

GET /v1/list-exchange-statistics

# Params

名称 必选 类型 描述
start_time int64 开始时间,unix时间戳单位秒
end_time int64 结束时间,unix时间戳单位秒

# Response

名称 类型 描述
pool_symbols String 交易池
amount String 此周期内的交易额
count Integer 此周期交易量
fee String 此周期交易手续费

示例:

# Request
http://supertx.movapi.com/v1/list-exchange-statistics?end_time=1600352078&start_time=1600096000

# Response
{
    "code": 200,
    "msg": "",
    "data": [
        {
            "pool_symbol": "BTM/BTC",
            "amount": "5212014.16",
            "count": 15446,
            "fee": "5216.84"
        },
        {
            "pool_symbol": "ETH/BTC",
            "amount": "2731035.04",
            "count": 7972,
            "fee": "2733.78"
        },
        {
            "pool_symbol": "USDC/USDT",
            "amount": "3098165.6",
            "count": 1168,
            "fee": "1550.56"
        },
        {
            "pool_symbol": "DAI/USDT",
            "amount": "3605219.94",
            "count": 1153,
            "fee": "1804.14"
        },
        {
            "pool_symbol": "DAI/USDC",
            "amount": "1830521.62",
            "count": 1065,
            "fee": "916.34"
        },
        {
            "pool_symbol": "BTM/ETH",
            "amount": "3943907.36",
            "count": 11055,
            "fee": "3948.58"
        }
    ]
}

# 获取超导各池历史数据

根据时间来查询整个超导池基本历史数据

# Request

GET /v1/pool-history

# Params

名称 必选 类型 描述
start_time Int64 开始时间,unix时间戳单位秒
end_time Int64 结束时间,unix时间戳单位秒
pool String 储备池,DAI/USDC 等, 默认返回所有池子数据的总和

# Response

名称 类型 描述
liquidity_amount String 存交易量 (usd)
timestamp String 时间戳

示例:

# Request
https://supertx.movapi.com/v1/pool-history?start_time=1592554478&end_time=1593591278&pool=USDC/USDT

# Response
{
    "code": 200,
    "msg": "",
    "data": [
        {
            "liquidity_amount": "1746.27",
            "timestamp": 1593532800
        },
        {
            "liquidity_amount": "803.79",
            "timestamp": 1593446400
        },
        {
            "liquidity_amount": "665.54",
            "timestamp": 1593360000
        }
   ]
}

# 获取超导资产USD价格

根据天来查询整个超导池各种资产的USD价格

# Request

GET /v1/asset-usd-price

# Params

名称 必选 类型 描述
symbol String 资产名称,范围[SUP,BTM,ETH,BTC,LTC]

# Response

名称 类型 描述
data String usd 价格

示例:

# Request
https://supertx.movapi.com/v1/asset-usd-price?symbol=sup

# Response
{
    "code": 200,
    "msg": "",
    "data": "174.27"
}

# 获取超导池基础信息

查询整个超导池基本信息

# Request

GET /v1/pool-info

# Response

名称 类型 描述
address String 地址
symbol String 超导池名称
base_amount String 超导池base金额
quote_amount String 超导池quote金额
base_asset_id String 超导池base 资产ID
quote_asset_id String 超导池quote 资产ID

示例:

# Request
https://supertx.movapi.com/v1/pool-info

# Response
{
    "code": 200,
    "msg": "",
    "data": [
        {
            "address": "vp1qjl4c6ecnrpewn2e3qpephtvklmwqzn5wfm6g4d",
            "symbol": "USDC/USDT",
            "base_amount": "506972.199061",
            "quote_amount": "447453.861482",
            "base_asset_id": "c4644dd6643475d57ed624f63129ab815f282b61f4bb07646d73423a6e1a1563",
            "quote_asset_id": "184e1cc4ee4845023888810a79eed7a42c02c544cf2c61ceac05e176d575bd46"
        },
        {
            "address": "vp1qu3wfxgzxwpv3eazk3w6nqfpztxra90vuvh3v56",
            "symbol": "DAI/USDT",
            "base_amount": "358940.771019",
            "quote_amount": "625014.825299",
            "base_asset_id": "25f2069140fa3ff4d6e0dc1d0fcaa11ace01eb721f115f0f1a5a3782db597fb1",
            "quote_asset_id": "184e1cc4ee4845023888810a79eed7a42c02c544cf2c61ceac05e176d575bd46"
        },
        {
            "address": "vp1qtuy9h3njglv8scze9wfracxgzkfvdhs40lhsuu",
            "symbol": "DAI/USDC",
            "base_amount": "214766.685114",
            "quote_amount": "410854.917427",
            "base_asset_id": "25f2069140fa3ff4d6e0dc1d0fcaa11ace01eb721f115f0f1a5a3782db597fb1",
            "quote_asset_id": "c4644dd6643475d57ed624f63129ab815f282b61f4bb07646d73423a6e1a1563"
        },
        {
            "address": "vp1qjj969smsxrswxu7fv70qcw339ww8klladkt9dp",
            "symbol": "BTM/ETH",
            "base_amount": "67507085.59624391",
            "quote_amount": "4785.936552261",
            "base_asset_id": "ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff",
            "quote_asset_id": "78de44ffa1bce37b757c9eae8925b5f199dc4621b412ef0f3f46168865284a93"
        },
        {
            "address": "vp1q23ak7axmczueag4a2t9c4wdnmgkhsjqu3kpm2f",
            "symbol": "BTM/BTC",
            "base_amount": "29578031.48148306",
            "quote_amount": "64.31208444",
            "base_asset_id": "ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff",
            "quote_asset_id": "bda946b3110fa46fd94346ce3f05f0760f1b9de72e238835bc4d19f9d64f1742"
        },
        {
            "address": "vp1qm6q0j09m02qz2mu7u8gfgs4m7p04k4lskx2mjr",
            "symbol": "ETH/BTC",
            "base_amount": "1945.094646393",
            "quote_amount": "59.59287112",
            "base_asset_id": "78de44ffa1bce37b757c9eae8925b5f199dc4621b412ef0f3f46168865284a93",
            "quote_asset_id": "bda946b3110fa46fd94346ce3f05f0760f1b9de72e238835bc4d19f9d64f1742"
        },
        {
            "address": "vp1qegjtter8v0w3t8vjnfvv589hs02cymlfcd0jwt",
            "symbol": "SUP/BTM",
            "base_amount": "2143.69049361",
            "quote_amount": "3731130.68583479",
            "base_asset_id": "47fcd4d7c22d1d38931a6cd7767156babbd5f05bbbb3f7d3900635b56eb1b67e",
            "quote_asset_id": "ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff"
        },
        {
            "address": "vp1qjgsdxw8c6lwmfzdjunxwmy0z2umgv3s00aq6qv",
            "symbol": "BTM/LTC",
            "base_amount": "1449563.58016757",
            "quote_amount": "1113.70393038",
            "base_asset_id": "ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff",
            "quote_asset_id": "011a24f9da7551d4cd9ae0f194aa1d1691e22a173edf7d81aabd9a97ca386252"
        },
        {
            "address": "vp1qndlk26wsqtpu6ddz34hdxlv6ads7ey3ahhakzx",
            "symbol": "SUP/LTC",
            "base_amount": "525.26054975",
            "quote_amount": "704.55630509",
            "base_asset_id": "47fcd4d7c22d1d38931a6cd7767156babbd5f05bbbb3f7d3900635b56eb1b67e",
            "quote_asset_id": "011a24f9da7551d4cd9ae0f194aa1d1691e22a173edf7d81aabd9a97ca386252"
        }
    ]
}
Last Updated: 12/30/2020, 10:13:49 AM