Skip To Content

Blockdaemon Documentation

NFT Playground: 3 Things to Try

Overview
Get a List of NFTs Owned by a Wallet
Get a List of NFTs With a Given Attribute
Get a List of All NFTs in a Collection


Overview

To help you get to grips with the NFT API, we have created the Ubiquity NFT API Playground. This really simple application took a few hours but provides an easy and fun way to visualize how the API works. It also gives you an indication of the type of things you can quickly develop with the Ubiquity NFT API.

Bear in mind that this little app is focused purely on the GET NFT Assets endpoint and utilizes only a sliver of the API’s potential.

Below, we’ve provided a few examples of how to use the app.


Get a List of NFTs Owned by a Wallet

In this example, you will quickly obtain a list of Bored Ape Yacht Club NFTs owned by a particular wallet.

Step 1: Visit the Ubiquity NFT API Playground

Step 2: In the Collection field, enter: Bored Ape Yacht Club

Step 3: In the Wallet Address  field, enter any Ethereum wallet address, e.g:

  • 0x30145D714Db337606c8f520bee9a3e3eAC910636

A Wallet's BAYC NFTs

Note: The Request Details code block will now be updated

BAYC Request Details

Step 4: Hit the Send Request button

Send Request

Results:

  • The Response (JSON) code block will now show you the details of every Bored Ape Yacht Club NFT owned by your chosen wallet
  • The Bored Ape images associated with your search will be shown on the right of your screen

All BAYC Results

Further Information: For more information on integrating this functionality into your application check out: How to Get NFTs Owned By a Wallet


Get a List of NFTs With a Given Attribute

In this example, you will quickly obtain a list of Bored Ape Yacht Club NFTs with a given attribute/trait.

Step 1: Visit the Ubiquity NFT API Playground

Step 2: In the Collection field, enter Bored Ape Yacht Club

Step 3: Make sure the Wallet Address field is cleared

Step 4: In the Attributes field, enter the Attribute:Value combination you want to filter on.

  • As an example, we’ll use the Mouth attribute with the value Bored Unshaven
  • Therefore we’ll enter Mouth:Bored Unshaven in the Attributes field

Mouth Bored Unshaven

Note: The Request Details code block will now be updated:

Mouth Bored Unshaven Request Details

Step 5: Hit the Send Request button

Send Request

Results:

  • The Response (JSON) code block will now show you the details of every Bored Ape Yacht Club NFT with your specified attribute.
  • The Bored Ape images associated with your search will be shown on the right of your screen.

Mouth Bored Unshaven Results

Further Information: For more information on integrating this functionality into your application check out: How to Get NFTs with Given Attributes in a Collection


Get a List of All NFTs in a Collection

In this example, you will quickly obtain a list of all Azuki NFTs.

Step 1: Visit the Ubiquity NFT API Playground

Step 2: In the Collection field, enter the collection you want to search for.

  • In our example, we will use the Azuki collection

Note: The Contract Address field will be automatically updated

All Azuki NFTs

Note: The Request Details code block will now be updated

All Azuki Request Details

Step 3: Hit the Send Request button

Send Request

Results:

  • The Response (JSON) code block will now show you the details of every Azuki NFT
  • The Azuki images will be shown on the right of your screen

All Azuki Response Details

Further Information: For more information on integrating this functionality into your application, with additional filtering, check out: How to Get All the NFTs in a Collection, Sorted by Mint Date

We don't support Internet Explorer

Please use Chrome, Safari, Firefox, or Edge to view this site.