Ledger Enterprise
API Documentation V1
API Documentation V1
  • GETTING STARTED
    • Welcome
    • Getting Started
    • Authentication
    • Rate Limits
    • Pagination
  • tutorials
    • Register a new API User
    • First Steps as an API User
    • Generate Reporting API Keys
    • Manage Reporting API Keys
  • REFERENCE
    • API reference
      • Accounts
        • Addresses
        • Balances
          • History
        • Currency
        • History
        • Labels
        • Nft collections
        • Nft portfolio
        • Nfts
        • Sync
        • Tokens
        • Erc20 children accounts
      • Api users
        • Register
      • Currencies
        • Tokens
      • Digests
        • History
      • Entities
        • History
        • Users
      • Groups
        • History
      • Labels
      • Messages
        • History
      • Organization
      • Pledges
      • Requests
        • Approve
        • Challenge
          • Reject
        • Governance status
        • Reject
      • Settlements
      • Transactions
        • Estimate fees
        • Fees
        • Approve
        • History
        • Labels
        • Reject
      • Users
        • History
      • Whitelists
        • History
      • Auth
        • Token
          • Refresh
      • Compliance
        • Address risk
        • Sanctions
      • Notifications
        • Configuration
    • Specification
Powered by GitBook
On this page
  1. REFERENCE
  2. API reference
  3. Accounts

Nfts

PreviousNft portfolioNextSync

Retrieve an account’s NFTs

get

Returns the NFTs that the account owns.

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
application/json
404
Account not found
application/json
get
GET /accounts/{account_id}/nfts HTTP/1.1
Host: 
X-Ledger-API-Key: YOUR_API_KEY
Accept: */*
{
  "edges": [
    {
      "cursor": 0,
      "node": {
        "contract_address": "text",
        "metadata": {
          "description": "text",
          "links": {
            "ANY_ADDITIONAL_PROPERTY": "text"
          },
          "media": "text",
          "medias": {
            "big": {
              "mediaType": "text",
              "uri": "text"
            },
            "original": {
              "mediaType": "text",
              "uri": "text"
            },
            "preview": {
              "mediaType": "text",
              "uri": "text"
            }
          },
          "nftName": "text",
          "properties": [
            {
              "key": "text",
              "value": "text"
            }
          ],
          "staxImage": "text",
          "tokenId": "text",
          "tokenName": "text",
          "tokenNameThumbnail": "text"
        },
        "price": {
          "contract_address": "text",
          "ticker": "ETH",
          "token_id": "text",
          "value": 1
        },
        "token_id": "text",
        "token_type": "text",
        "tx_balance": {
          "available": 0,
          "on_chain": 0,
          "pending_approval": 0,
          "submitted": 0
        },
        "value": 1
      }
    }
  ],
  "page_info": {
    "count": 1,
    "has_next_page": false
  }
}