Getting NFT Metadata
These endpoints include finding NFTs and their metadata
Find NFT Metadata
Find an NFT from the contract address and token id
POST
https://api.rareful.io/v1/getNFT
Finds an NFT and its metadata
Headers
API_KEY*
String
Your API Key can found on the dashboard, and will be used to authenticate all requests (Required)
Content-Type*
String
application/json (Required)
Request Body
contract_address*
string
The contract address that the NFT was published on. (Required)
token_id*
Int
The token id of the NFT that was minted (Required)
String
blockchain
String
The blockchain this NFT exists on
{
"data": {
"item": {
"image": "https://nftgo.mypinata.cloud/ipfs/QmXq4BBd4QTjSX8DEDN4Nj7kwmGL8fDndSrVpxukoesiyw",
"metadata": "https://ipfs.io/ipfs/QmYfeFRtg4tq3upwsPw6xvrP75MYSqyv8E7wpkxNxE4EWr",
"name": "Awesome NFT 5",
"owner_public_key": "0x899825b3c2339A2A3d738a933920E7C4F0d001Ff",
"token_id": "45018383"
}
},
"status": 200,
"message": "NFT was found"
}
Find an NFT from the contract address and token id if it is for Sale
POST
https://api.rareful.io/v1/getNFTForSale
Finds an NFT and its metadata, will not return if the NFT is not listed for sale
Headers
API_KEY*
String
Your API Key can found on the dashboard, and will be used to authenticate all requests (Required)
Content-Type*
String
application/json (Required)
Request Body
contract_address*
string
The contract address that the NFT was published on. (Required)
token_id*
Int
The token id of the NFT that was minted (Required)
blockchain
String
The blockchain this NFT exists on
{
"data": {
"item": {
"image": "https://nftgo.mypinata.cloud/ipfs/QmXq4BBd4QTjSX8DEDN4Nj7kwmGL8fDndSrVpxukoesiyw",
"metadata": "https://ipfs.io/ipfs/QmYfeFRtg4tq3upwsPw6xvrP75MYSqyv8E7wpkxNxE4EWr",
"name": "Awesome NFT 5",
"owner_public_key": "0x899825b3c2339A2A3d738a933920E7C4F0d001Ff",
"token_id": "45018383"
}
},
"status": 200,
"message": "NFT was found"
}
Find an NFT from the contract address and token id
POST
https://api.rareful.io/v1/getNFTTransactionHistory
Finds an NFT and its transaction history
Headers
API_KEY*
String
Your API Key can found on the dashboard, and will be used to authenticate all requests (Required)
Content-Type*
String
application/json (Required)
Request Body
contract_address*
string
The contract address that the NFT was published on. (Required)
token_id*
Int
The token id of the NFT that was minted (Required)
blockchain
String
The blockchain this NFT exists on
{
"data": {
"item": {
"image": "https://nftgo.mypinata.cloud/ipfs/QmXq4BBd4QTjSX8DEDN4Nj7kwmGL8fDndSrVpxukoesiyw",
"metadata": "https://ipfs.io/ipfs/QmYfeFRtg4tq3upwsPw6xvrP75MYSqyv8E7wpkxNxE4EWr",
"name": "Awesome NFT 5",
"owner_public_key": "0x899825b3c2339A2A3d738a933920E7C4F0d001Ff",
"token_id": "45018383"
}
},
"status": 200,
"message": "NFT was found"
}
Last updated