/v1/assets
Native tokens and NFTs held
Essayez-le en direct
10 appels gratuits par jour — sans inscription, sans clé API. Passe par la passerelle oanor.
Ça marche. Récupérez une clé API et utilisez-la dans votre projet.
Obtenez une clé APIExtraits de code
curl "https://api.oanor.com/cardano-api/v1/assets" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/cardano-api/v1/assets", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/cardano-api/v1/assets");
curl_setopt($ch, CURLOPT_HTTPHEADER, ["x-oanor-key: oanor_test_..."]);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
$out = curl_exec($ch);
import requests
requests.get(
"https://api.oanor.com/cardano-api/v1/assets",
headers={"x-oanor-key": "oanor_test_..."}
)
Exemple de réponse
Une réponse réelle de ce endpoint, capturée lors du dernier contrôle de santé.
{
"data": {
"assets": [
{
"decimals": 0,
"quantity": 1,
"policy_id": "1f0da9edafc57ae7a44c8864f217475e102fc8af68eb3a93eeee059b",
"asset_name": "HOSKYMINTKEY",
"fingerprint": "asset1twflravh4y3fksuuexg36yl0mzyd79emlmxq34",
"asset_name_hex": "484f534b594d494e544b4559"
},
{
"decimals": 0,
"quantity": 1,
"policy_id": "41142faeb5e3c644625966715c0a844bb4d6aeef2bcdbf535b14e5a5",
"asset_name": "tHANDLE",
"fingerprint": "asset1fuwwjcwk008vpcp8ecjw7akxn4lx09sg6lstlx",
"asset_name_hex": "7448414e444c45"
},
{
"decimals": 6,
"quantity": 6618.80938,
"policy_id": "869fc72c11977e4be3e8e1cc63cca008a925886332795c9601f965ca",
"asset_name": "USDC",
"fingerprint": "asset18f7zn35vthuh24ed4y6ucvmheur2wggcdfwj29",
"asset_name_hex": "55534443"
},
{
"decimals": 0,
"quantity": 1,
"policy_id": "937884dda04d3dd3616fa447c7fb396e5943d19000ccf4f142320203",
"asset_name": "ShenRewardTicket2401",
"fingerprint": "asset1u3p0k7p4hfd5m8l8xyye6rvl8m88vked2sjwzt",
"asset_name_hex": "5368656e5265776172645469636b657432343031"
},
{
"decimals": 0,
"quantity": 1,
"policy_id": "a5bb0e5bb275a573d744a021f9b3bff73595468e002755b447e01559",
"asset_name": "HOSKYCashGrab000269585",
"fingerprint": "asset16xewgx8myqt8zul8d36fkzhm7ancal9d2tuv09",
"asset_name_hex": "484f534b594361736847726162303030323639353835"
},
{
"decimals": 0,
"quantity": 32000000000000,
"policy_id": "d132e23bb8216eb95777d03e36a09e23db861b91786f6dee5822c96c",
"asset_name": "AIDZ",
"fingerprint": "asset1hhc787ez9w7a36qsc9avs0g0hwp8ww4aphh209",
"asset_name_hex": "4149445a"
},
{
"decimals": 0,
"quantity": 1,
"policy_id": "f0ff48bbb7bbe9d59a40f1ce90e9e9d0ff5002ec48f232b49ca0fb9a",
"asset_name": "zen0",
"fingerprint": "asset19wjtw5lc6djl7zqgzgvt05fvkhptvuj6pu8vej",
"asset_name_hex": "7a656e30"
},
{
"decimals": 0,
"quantity": 1,
"policy_id": "f0ff48bbb7bbe9d59a40f1ce90e9e9d0ff5002ec48f232b49ca0fb9a",
"asset_name": "zen1",
"fingerprint": "asset1at5gykl5ek7mmh4waxznq55fj9w00wuss9jm9j",
"asset_name_hex": "7a656e31"
},
{
"decimals": 0,
"quantity"
…