GET
/
2022-06-09
/
wallets
/
{identifier}
/
nfts
Get NFTs from Wallet
curl --request GET \
  --url https://staging.crossmint.com/api/2022-06-09/wallets/{identifier}/nfts \
  --header 'X-API-KEY: <api-key>'
[
  {
    "chain": "<string>",
    "contractAddress": "<string>",
    "tokenId": "<string>",
    "metadata": {
      "attributes": [],
      "collection": {},
      "description": "<string>",
      "image": "<string>",
      "animation_url": "<string>",
      "name": "<string>"
    },
    "locator": "<string>",
    "tokenStandard": "<string>"
  }
]
This API enables fetching the NFTs for a provided wallet address and chain. The response will be slightly different between EVM, Solana, and other wallets. See the example responses to the right.
[
  {
    "chain": "<string>",
    "contractAddress": "<string>",
    "tokenId": "<string>",
    "metadata": {
      "attributes": [],
      "collection": {},
      "description": "<string>",
      "image": "<string>",
      "animation_url": "<string>",
      "name": "<string>"
    },
    "locator": "<string>",
    "tokenStandard": "<string>"
  }
]

Authorizations

X-API-KEY
string
header
required

Obtained in the Crossmint developer console

Path Parameters

identifier
string
required

The wallet identifier in the format of <chain>:<address>, email:<email_address>:<chain> or userId:<userId>:<chain>.

Query Parameters

page
string
default:1
required

Page index

perPage
string
default:20
required

Number of items to display per page

contractAddress
string[]

Filter NFTs by contract address. Can be a single address or an array of addresses.

tokenId
string

Filter NFTs by token ID

Response

Success

EVM

chain
string

The blockchain used in the request.

contractAddress
string

The token contract address

tokenId
string

The numeric tokenId for the specified NFT

metadata
object
locator
string

The address of the NFT on the blockchain

tokenStandard
string

The type of contract this token is from (ERC-721, ERC-1155 or ERC-5643)

subscription
object