GET
/
2022-06-09
/
wallets
/
{identifier}
/
nfts
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 Cardano wallets. See the example responses to the right.

Authorizations

X-API-KEY
string
headerrequired

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: 1required

Page index

perPage
string
default: 20required

Number of items to display per page

Response

200 - application/json
  • EVM

  • Solana

  • Cardano

chain
string

The blockchain used in the request.

contractAddress
string

The token contract address

locator
string
metadata
object
tokenId
string

The numeric tokenId for the specified NFT

tokenStandard
string

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