v1

latestOpenAPI 3.1.02026-07-26360335.7 KB

Retrieve Account NFTs

Gets all NFTs currently owned by a given address on Sui Network.

get/sui/account/nfts

Query parameters

accountstring required

Query by sui address

typestring

Optional value 'kiosk', returns the kiosk NFTs held by the account. By default, non-kiosk NFTs are returned.

pageIndexinteger

The index of the page to retrieve. The first page is typically indexed as 1, and subsequent pages are numbered incrementally.

pageSizeinteger

The number of records showing on each page. 20 by default and up to 50.

objectTypestring

The objectType of NFT collection.

Response

200

codeinteger
messagestring

Example response

{
  "code": 200,
  "message": "OK",
  "result": {
    "data": [
      {
        "objectId": "0x159a1abf6a078d08d9cc0a7b7a939344a2698989fc2284360a2c8a56aff29746",
        "name": "Sui Gnomes #358",
        "image": "ipfs://bafybeicwneic6x6k5dzuyzqzq4ysq3khccqex4tbftpmmq2vytjxd6biq4",
        "collection": "0xe81341eba87d19f8d53ee237b3666cff6a74c9fd7a960cf5753af69bc7c6a221::gnomes::Gnome",
        "lastPRice": "9000000000",
        "kioskId": "0x9bd2c0d0fbe6cc9a41101a74b1723285d36ea6acdbe0d229863faabd0456fa0c"
      }
    ],
    "nextPageIndex": 1,
    "total": 2
  }
}