Skip to main content
Version: 1.0
Endpoints Summary
GET All assets
GET One asset
GET Asset list by policy

GET All assets

Returns the list of multi assets minted on Cardano.

GET /api/core/assets

🎰 Parameters

NameDescriptionInTypeRequired
page_noPage number to retrieve - defaults to 1queryintegerfalse
page_sizeNumber of results per page - defaults to 20 - max 100queryintegerfalse
orderPrescribes in which order assets are returned - "desc" descending (default) from newest to oldest - "asc" ascending from oldest to newestquerystringfalse

👨‍💻 Code samples

const CBI = await new CardanoBI({ apiKey: 'YOUR-KEY', apiSecret: 'YOUR-SECRET' }); 
const assets = await CBI.core.assets_();
console.log(assets);

💌 Response Codes

OK: Successful request.

[
{
"asset_id": 10189163,
"fingerprint": "asset176m0gn0n0le8z9ayfewzx5lyhmadqw8g36sk4f",
"policy_hex": "8383f5950f92320dc2659c64c459dd903e1f6c1bb9830ba04df99455",
"total_supply": 1
},
"...",
{
"asset_id": 10189182,
"fingerprint": "asset157ncmac0cktkvx27tqtnvem89pml3njqrwt8a3",
"policy_hex": "0c2c9bb9c8f3c5f8efcef2bd1a127a19a5efc7b76e44cc3db272cd15",
"total_supply": 1
}
]

💌 Response Schemas

Status Code 200

NameTypeDescription
asset_idinteger(int64)The MultiAsset unique identifier.
fingerprintstringThe CIP14 fingerprint for the MultiAsset.
policy_hexstringThe hexadecimal encoding of the MultiAsset policy hash.
total_supplynumber(double)The total supply of the Multi Asset.

GET One asset

Returns the details of one multi asset minted on Cardano given its fingerprint.

GET /api/core/assets/{fingerprint}

🎰 Parameters

NameDescriptionInTypeRequired
fingerprintThe CIP14 fingerprint for the MultiAsset.pathstringtrue

👨‍💻 Code samples

const CBI = await new CardanoBI({ apiKey: 'YOUR-KEY', apiSecret: 'YOUR-SECRET' }); 
const assets = await CBI.core.assets_({ fingerprint: "asset1w8wujx5xpxk88u94t0c60lsjlgwpd635a3c3lc" });
console.log(assets);

💌 Response Codes

OK: Successful request.

[
"..."
]

💌 Response Schemas

Status Code 200

NameTypeDescription
asset_idinteger(int64)The MultiAsset unique identifier.
fingerprintstringThe CIP14 fingerprint for the MultiAsset.
policy_hexstringThe hexadecimal encoding of the MultiAsset policy hash.
namestringThe MultiAsset name.
creation_timestring(date-time)The MultiAsset creation time (first minting event time).
total_supplynumber(double)The MultiAsset total circulating supply.
mint_cntinteger(int64)The number of mint events for this MultiAsset.
burn_cntinteger(int64)The number of burn events for this MultiAsset.
first_mint_tx_hashstringThe hash for the transaction that contains the first minting event for this MultiAsset.
first_mint_keysarrayThe metadata keys used in the first mint event for this MultiAsset.
last_mint_tx_hashstringThe hash for the transaction that contains the last minting event for this MultiAsset.
last_mint_keysarrayThe metadata keys used in the last mint event for this MultiAsset.
first_mint_metadatastringThe JSON payload of the first mint event for this MultiAsset.

GET Asset list by policy

Returns the list of MultiAsset for a specific policy given its hash.

GET /api/core/assets/policies/{policy_hash}

🎰 Parameters

NameDescriptionInTypeRequired
policy_hashThe MultiAsset policy hash.pathstringtrue

👨‍💻 Code samples

const CBI = await new CardanoBI({ apiKey: 'YOUR-KEY', apiSecret: 'YOUR-SECRET' }); 
const policies = await CBI.core.assets.policies_({ policy_hash: "706e1c53ed984b016f2c0fc79a450fdb572aa21e4e87d6f74d0b6e8a" });
console.log(policies);

💌 Response Codes

OK: Successful request.

[
{
"fingerprint": "asset1q3f45cvfdk3jukj0u7tqc4c0yn7y0f4x8az2lk",
"total_supply": 1000000
},
"...",
{
"fingerprint": "asset1q3f45cvfdk3jukj0u7tqc4c0yn7y0f4x8az2lk",
"total_supply": 1000000
}
]

💌 Response Schemas

Status Code 200

NameTypeDescription
fingerprintstringThe CIP14 fingerprint for the MultiAsset.
total_supplynumber(double)The total supply of the Multi Asset.