The NFT Search API enables developers to retrieve the NFT tokens that have been minted for a specific digital asset. The API takes the Nid of the asset as input and returns the cross-network NFT records for that asset. If you are unaware of the Nid of the file, the Asset Search API can be used to find similar assets, or use the [IPFS] Get Nid endpoint to retrieve the Nid of your asset.
Capture Token is required for API authorization. If you do not already have a Capture Token yet, please follow the instruction provided to create one.
The Numbers API is a pay-as-you-go system, which means you only pay for the API calls you make. This is a cost-effective way to use the API and it allows you to control your expenses. Make sure to top up and ensure sufficient funds in your wallet in the form of Credits or NUM to cover the cost. Payment for services is processed using NUM; if you want to know how much it costs in USD, you can check CoinGecko or CoinMarketCap.
API Endpoint: https://eoprdbpm6gbec9w.m.pipedream.netCost:0.01NUM+Gas (~0.004NUM per transaction) per APIcall. No Gas is required if paid with Credits.Method:GETEndpoint:/?nid=NID_TO_SEARCHDescription:This API endpoint finds the NFT records associated to the provided Nid.Authentication:This API requires a valid token for Authorization. The token should be passed in the headers of the request using the following format: "Authorization: token YOUR_CAPTURE_TOKEN"
Headers:- Content-Type: application/json- Authorization: token YOUR_CAPTURE_TOKENExamples:curl -XGET-H"Content-Type: application/json" \-H"Authorization: token YOUR_CAPTURE_TOKEN" \ https://eoprdbpm6gbec9w.m.pipedream.net?nid=NID_TO_SEARCHResponse:{"nftRecords": list_of_NFT_records,"nid": input_asset,"orderID": id_of_this_order}
A detailed explanation of the Nid can be found on the Numbers ID (Nid) page. In this example, you would replace YOUR_CAPTURE_TOKEN with your actual Capture token and NID_TO_SEARCH with the Nid of the metadata you want to cat. More examples can be found below: