0

Does nmkr.io provide free usable cardano apis for NFTS or do we have to mint the nfts and build a project on their platform something like that ...and then we can use their api because in their apis it (projectuid, nftuid)?

2
  • Can you elaborate on your question about what the API should do? What actions are you looking to execute and what data are you looking for? Mar 16, 2023 at 13:03
  • basically I want to fetch the "sold price" and "timestamp" of that txn if a user sells his nft
    – Yogesh
    Mar 18, 2023 at 9:34

2 Answers 2

1

You have to register on their site, then create a project. If you have an existing nft project, you'll need the policy keys and a wallet. The items labeled as projectuid and nftuid are custom IDs you get from nmkr.io. So while you don't need to mint with them, you need to do all these setup steps before using their API. At least, I'm assuming you're looking at /v2/UpdateMetadata/{projectuid}/{nftuid} since those are the two params you mentioned.

1

To figure out if an NFT has been transferred to another wallet, you have to check the transactions the NFT was involved in. You can get that information from the blockchain using for example the koios API.

You can get all transactions (with timestamp) using: https://api.koios.rest/#get-/asset_txs

If you need more information, e.g. the addresses involved, you can get this information from another API endpoint: https://api.koios.rest/#post-/tx_utxos

There are also other options like Blockfrost or DB sync.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.