Vai al contenuto
GET /v1/nfts

Serials inside an NFT collection

Provalo dal vivo

10 chiamate gratuite al giorno — senza registrazione, senza chiave API. Passa dal gateway oanor.

Intestazioni personalizzate (facoltative)
api.oanor.com/hederatokens-api

Funziona. Prendi una chiave API e usala nel tuo progetto.

Ottieni una chiave API

Frammenti di codice

curl "https://api.oanor.com/hederatokens-api/v1/nfts" \
  -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/hederatokens-api/v1/nfts", {
  headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/hederatokens-api/v1/nfts");
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/nfts",
    headers={"x-oanor-key": "oanor_test_..."}
)

Risposta di esempio

Una risposta reale di questo endpoint, acquisita dall'ultimo health check.

{
    "data": {
        "nfts": [
            {
                "owner": "0.0.410226",
                "deleted": true,
                "metadata": "Xhkusw==",
                "serial_number": 1,
                "created_timestamp": "1630615611.855620000"
            }
        ],
        "note": "The minted serials inside one Hedera NFT collection — each serial with its current owner account, decoded per-serial metadata (often an IPFS/HCS pointer) and whether it has been burned. Pass token_id for a specific collection, or omit to use the first NFT collection on the network.",
        "count": 1,
        "source": "Hedera Mirror Node",
        "token_id": "0.0.410224"
    },
    "meta": {
        "timestamp": "2026-06-14T17:04:02.051Z",
        "request_id": "f623bb50-67e4-413f-a139-3f4c578ca7f8"
    },
    "status": "ok",
    "message": "NFTs retrieved successfully",
    "success": true
}