Retrieve NFTs

How to retrieve non-fungible tokens for a wallet.

Retrieve NFTs by:

  1. Wallet id

  2. Blockchain and wallet address

  3. Blockchain

  4. Blockchain, contract address, and token Id

📘

Optionally, you can filter the response using the two boolean query params:

  • includePossibleSpam: Indication to include possible spam NFTs in the response body or not.

  • includeNsfw: Indication to show the NSFW NFTs in the response body or not.

1. Get NFTs by wallet Id

Request Endpoint: reference

HTTP

GET /api/wallets/{walletId}/nonfungibles
Parameter
Param Type
Description
Data Type
Mandatory

{walletId}

Path

The ID of the wallet

String

Request Example

HTTP

Response Body

JSON

2. Get NFTs by blockchain and wallet address

Request Endpoint: reference

HTTP

Parameter
Param Type
Description
Data Type
Mandatory

{secretType}

Path

Indication on which chain the balance should be fetched

String

{walletAddress}

Path

The address of the wallet

String

Example Request

HTTP

Response Body

JSON

3. Get NFTs by blockchain

Request Endpoint: reference

HTTP

Parameter
Param Type
Description
Data Type
Mandatory

secretType

Query

The blockchain to filter and retrieve NFTs by

String

Example Request

HTTP

Response Body

JSON

4. Get NFTs by blockchain, contract address, and token Id

Request Endpoint: reference

HTTP

Parameter
Param Type
Description
Data Type
Mandatory

{secretType}

Path

Indication on which chain the balance should be fetched

String

{contractAddress}

Path

The contract address of the NFT

String

{tokenId}

Path

The token ID of the NFT

String

Response Body

JSON

5. Get wallets that contain specific NFTs

Request Endpoint: reference

HTTP

Parameter
Param Type
Description
Data Type
Mandatory

{secretType}

Path

Indication on which chain the balance should be fetched

String

{contractAddress}

Path

The contract address of the NFT

String

{tokenId}

Path

The token ID of the NFT

String

Last updated