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
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
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
Minting from a url is recommended for speed purposes. A potential flow would be to use the IPFS file upload route ahead of time to convert regular files to decentralized ones, and then use the mintFromUrl route for the minting
Last updated