NFT Collections

Retrieve an account’s NFT collections

get

Returns the NFT collections where the account owns tokens.

Authorizations
Path parameters
account_idintegerRequired

The account's ID

Query parameters
pageinteger | nullableOptional

Defines the page number to be fetched.

Default: 1Example: 3
page_sizeinteger | nullableOptional

Defines the number of elements displayed on a page.

Default: 10Example: 40
Responses
200
Paginated NFT collection
application/json
get
GET /accounts/{account_id}/nft-collections HTTP/1.1
Host: 
X-Ledger-API-Key: YOUR_API_KEY
Accept: */*
{
  "edges": [
    {
      "cursor": 0,
      "node": {
        "account_id": 1,
        "contract_address": "text",
        "image": {
          "mediaType": "text",
          "uri": "text"
        },
        "name": "text",
        "price": {
          "contract_address": "text",
          "ticker": "ETH",
          "token_id": "text",
          "value": 1
        },
        "token_balance": 1,
        "token_type": "text"
      }
    }
  ],
  "page_info": {
    "count": 1,
    "has_next_page": false
  }
}