Skip to main content

Read Assets

GET /network/assets/:asset_id

Query public information of a asset.

Endpoint URL

 https://api.mixin.one/network/assets/:asset_id

Authentication and options

AuthorizationPublic Access
LimitationNo limitation

Parameters

asset_id
*required
the asset's id

Example request

curl -i -X GET -H "Content-Type: application/json"  https://api.mixin.one/network/assets/c94ac88f-4671-3976-b60a-09064f1811e8
Response
{
"data": {
"amount": "296369.17400899",
"asset_id": "c94ac88f-4671-3976-b60a-09064f1811e8",
"chain_id": "43d61dcd-e413-450d-80b8-101d5e903357",
"icon_url": "https://images.mixin.one/UasWtBZO0TZyLTLCFQjvE_UYekjC7eHCuT_9_52ZpzmCC-X-NPioVegng7Hfx0XmIUavZgz5UL-HIgPCBECc-Ws=s128",
"name": "Mixin",
"snapshots_count": 35224199, // The transfer count of this assets.
"symbol": "XIN",
"type": "asset"
}
}

GET /network/assets/top

Query the list of the top 100 assets on the entire network, a kind parameter is used to specify the top assets, for NORMAL value will not swap lp tokens..

Endpoint URL

 https://api.mixin.one/network/assets/top?kind=NORMAL

Authentication and options

AuthorizationPublic Access
LimitationNo limitation

Parameters

kindALL, NORMAL, BARREN, ALL by default.

Example request

curl -i -X GET -H "Content-Type: application/json"  https://api.mixin.one/network/assets/top
Response
{
"data":[
{
"type": "asset",
"asset_id": "c6d0c728-2624-429b-8e0d-d9d19b6592fa",
"chain_id": "c6d0c728-2624-429b-8e0d-d9d19b6592fa",
"asset_key": "c6d0c728-2624-429b-8e0d-d9d19b6592fa",
"mixin_id": "fe6b7788944d328778f98e3e81588215b5a07de4f9a4a7de4db4535b404e65db",
"symbol": "BTC",
"name": "Bitcoin",
"icon_url": "https://mixin-images.zeromesh.net/HvYGJsV5TGeZ-X9Ek3FEQohQZ3fE9LBEBGcOcn4c4BNHovP4fW4YB97Dg5LcXoQ1hUjMEgjbl1DPlKg1TW7kK6XP=s128",
"amount": "0.1213",
"price_btc": "1",
"price_usd": "14996.98",
"change_btc": "0", // change percent compare to 24 hours before
"change_usd": "-0.03773542533280206", // change percent compare to 24 hours before
"confirmations": 3,
"reserve": "0",
"fee_asset_id": "43d61dcd-e413-450d-80b8-101d5e903357",
"fee": "0.0001",
"snapshots_count": 100,
"capitalization": 144241811.6455701, // Market cap.
"liquidity": "9618.05721189" // The amount of this asset in Minxin.
},
...
]
}

GET /network/assets/search/:q?kind=NORMAL

Search for popular assets by symbol or name.

info

This API only returns assets with icons or prices.

Endpoint URL

 https://api.mixin.one/network/assets/search/:q

Authentication and options

AuthorizationPublic Access
LimitationNo limitation

Parameters

q
*required
the keyword
kindALL, NORMAL, BARREN, ALL by default.

Example request

curl -i -X GET -H "Content-Type: application/json"  https://api.mixin.one/network/assets/search/btc
Response
{
"data":[
{
"type": "asset",
"asset_id": "c6d0c728-2624-429b-8e0d-d9d19b6592fa",
"chain_id": "c6d0c728-2624-429b-8e0d-d9d19b6592fa",
"asset_key": "c6d0c728-2624-429b-8e0d-d9d19b6592fa",
"mixin_id": "fe6b7788944d328778f98e3e81588215b5a07de4f9a4a7de4db4535b404e65db",
"symbol": "BTC",
"name": "Bitcoin",
"icon_url": "https://mixin-images.zeromesh.net/HvYGJsV5TGeZ-X9Ek3FEQohQZ3fE9LBEBGcOcn4c4BNHovP4fW4YB97Dg5LcXoQ1hUjMEgjbl1DPlKg1TW7kK6XP=s128",
"amount": "0.1213",
"price_btc": "1",
"price_usd": "14996.98",
"change_btc": "0", // change percent compare to 24 hours before
"change_usd": "-0.03773542533280206", // change percent compare to 24 hours before
"confirmations": 3,
"reserve": "0",
"fee_asset_id": "43d61dcd-e413-450d-80b8-101d5e903357",
"fee": "0.0001",
"snapshots_count": 100,
"capitalization": 144241811.6455701, // Market cap.
"liquidity": "9618.05721189" // The amount of this asset in Minxin.
},
...
]
}

GET /network/assets/multisig

Query the list of all assets that support multi-signature.

caution

This API is Obsoleted.

Endpoint URL

 https://api.mixin.one/network/assets/multisig

Authentication and options

AuthorizationPublic Access
LimitationNo limitation

Example request

curl -i -X GET -H "Content-Type: application/json"  https://api.mixin.one/network/assets/multisig
Response
{
"data":[
{
"type": "asset",
"asset_id": "c6d0c728-2624-429b-8e0d-d9d19b6592fa",
"chain_id": "c6d0c728-2624-429b-8e0d-d9d19b6592fa",
"asset_key": "c6d0c728-2624-429b-8e0d-d9d19b6592fa",
"mixin_id": "fe6b7788944d328778f98e3e81588215b5a07de4f9a4a7de4db4535b404e65db",
"symbol": "BTC",
"name": "Bitcoin",
"icon_url": "https://mixin-images.zeromesh.net/HvYGJsV5TGeZ-X9Ek3FEQohQZ3fE9LBEBGcOcn4c4BNHovP4fW4YB97Dg5LcXoQ1hUjMEgjbl1DPlKg1TW7kK6XP=s128",
"amount": "0.1213",
"price_btc": "1",
"price_usd": "14996.98",
"change_btc": "0", // change percent compare to 24 hours before
"change_usd": "-0.03773542533280206", // change percent compare to 24 hours before
"confirmations": 3,
"reserve": "0",
"fee_asset_id": "43d61dcd-e413-450d-80b8-101d5e903357",
"fee": "0.0001",
"snapshots_count": 100,
"capitalization": 144241811.6455701, // Market cap.
"liquidity": "9618.05721189" // The amount of this asset in Minxin.
},
...
]
}