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 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

Response

200
application/json
Success

EVM