Aller au contenu
GET /v1/tokens

Browse/search HTS tokens

Essayez-le en direct

10 appels gratuits par jour — sans inscription, sans clé API. Passe par la passerelle oanor.

En-têtes personnalisés (facultatif)
api.oanor.com/hederatokens-api

Ça marche. Récupérez une clé API et utilisez-la dans votre projet.

Obtenez une clé API

Extraits de code

curl "https://api.oanor.com/hederatokens-api/v1/tokens" \
  -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/hederatokens-api/v1/tokens", {
  headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/hederatokens-api/v1/tokens");
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/hederatokens-api/v1/tokens",
    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": {
        "note": "Browse the Hedera Token Service universe — every HTS token, each with its id, name, symbol, type (fungible vs NFT collection) and decimals. Filter type=fungible or type=nft, or search by name. The discovery layer the per-token-id reader can't give you. Paginate with limit.",
        "count": 25,
        "source": "Hedera Mirror Node",
        "tokens": [
            {
                "name": "CPNX_name",
                "type": "NON_FUNGIBLE_UNIQUE",
                "symbol": "CPNX",
                "decimals": 0,
                "token_id": "0.0.410224"
            },
            {
                "name": "NFT Test New",
                "type": "NON_FUNGIBLE_UNIQUE",
                "symbol": "IPFS://bafkreihhpqryeflyff5tnydyrt4wu6ozlnwzwy2hxc4sm4uraamobdsej4",
                "decimals": 0,
                "token_id": "0.0.412040"
            },
            {
                "name": "Xact",
                "type": "NON_FUNGIBLE_UNIQUE",
                "symbol": "IPFS://bafkreigkvfjwspd2uewy4zomzsgvmzotuchfrpicv6mgqjdd5gnzeyitrm",
                "decimals": 0,
                "token_id": "0.0.412112"
            },
            {
                "name": "Xact Logo",
                "type": "NON_FUNGIBLE_UNIQUE",
                "symbol": "IPFS://bafkreiegpnbo6b4hhlrarwyu65lealj7l3bgtazfqs4jp3xlspskdrhy5y",
                "decimals": 0,
                "token_id": "0.0.421864"
            },
            {
                "name": "Xact Logo 2",
                "type": "NON_FUNGIBLE_UNIQUE",
                "symbol": "IPFS://bafkreidavsp2g2tbuxtdtvjwoqmvc2myuim2gskzwgzmay36rywrieevgq",
                "decimals": 0,
                "token_id": "0.0.422001"
            },
            {
                "name": "Xact Logo 3",
                "type": "NON_FUNGIBLE_UNIQUE",
                "symbol": "IPFS://bafkreignvdg5arj3nu5k3uq2cwvqde7r3hcfqhztdqoiiaqjyjouw6phuq",
                "decimals": 0,
                "token_id": "0.0.422011"
            },
            {
                "name": "Xact Logo 4",
                "type": "NON_FUNGIBLE_UNIQUE",
                "symbol": "IPFS://bafkreig4rmcstrlm233too6xsfdn576iip3gjfncg7ilz2ebxcylhyuewe",
                "decimals": 0,
                "token_id": "0.0.422018"
            },
            {
                "name": "Xact Logo V1",
                "type": "NON_FUNGIBLE_UNIQUE",
                "symbol": "IPFS://bafkreig2rjlvnj5ebm26cvhkvt6e65pppxuiiqrbb77r7yfxawhmhlpm44",
                "decimals": 0,
                "token_id": "0.0.428976"
            },
            {
                "name": "CKHU_name",
                "type": "NON_FUNGIBLE_UNIQUE",
                "symbol": "CKHU",
                "decimals": 0,
                "token_id": "0.0.439270"
            },
            {
                "name": "LYXW_name",
                "type": "NON_FUNGIBLE_UNIQUE",
                "symbol": "LYXW",
                "decimals": 0,
                "token_id": "0.0.43
…