NFTs (Owned and Rented)

Use StreamNFT Indexer (1 API Call to get all User NFTs)

Retrieve user's NFTs

get

This API endpoint retrieves all NFTs associated with a specific wallet address on a given blockchain network. It provides an option to include rented NFTs in the response based on a query parameter.

Path parameters
chainIdstringRequired

The chain ID to retrieve NFTs from

walletstringRequired

The wallet address to retrieve NFTs for

Query parameters
rentbooleanOptional

Filter to include rented NFTs (true or false)

Responses
200

A list of NFTs

application/json
get
GET /getNFTs/{chainId}/{wallet} HTTP/1.1
Host: nfts-dev.danlabs.xyz
Accept: */*
{
  "result": [
    {
      "chainId": "text",
      "collection": "text",
      "collectionName": "text",
      "collectionImage": "text",
      "lastUpdated": "2025-09-06T05:14:10.679Z",
      "tokenType": "text",
      "tokenId": [
        {
          "tokenId": "text",
          "balance": "text",
          "name": "text",
          "description": "text",
          "image": "text",
          "attributes": [
            {
              "trait_type": "text",
              "value": "text"
            }
          ]
        }
      ]
    }
  ]
}

Response:

  • Successful responses return an array of NFT data for provided token address with detailed information, such as the current rentee and the state of each asset.

Last updated