Log In

getNFTsForCollection - NFT API

Queries NFT high-level collection/contract level information

This endpoint is supported only on the following chains and networks:

  • Conflux: Core

Parameters

  • contractAddress: [string hexadecimal] - contract address for the NFT collection

Returns

  • address: [string hexadecimal] contract address for the queried NFT collection
  • id: [object]
    • tokenId:[string]
    • tokenMetadata
      • tokenType [string] "CRC-721" NFT token type
  • title:[string]
  • description:[string]
  • tokenUri: [object]
    • raw: [string]
    • gateway: [string]
  • contractMetadata: [object]
    • name: [string] NFT contract name
    • description: [string] NFT description
    • image: [string] storage
  • timeLastUpdated: [string]

NOTE:


Example

Request

curl 'https://cfx-core.unifra.io/v1/nft-api/cf455a9802364d88b8f87b5273d9ddbb/getNFTsForCollection?contractAddress=cfx:acff8dvjv6pys2ws19dhx753h1h00sum6yhu3m188h'

Response

{
  "nfts": [
    {
      "contract": {
        "address": "cfx:acff8dvjv6pys2ws19dhx753h1h00sum6yhu3m188h"
      },
      "id": {
        "tokenId": "0x0000000000000000000000000000000000000000000000000000000000001014",
        "tokenMetadata": {
          "tokenType": "CRC-721"
        }
      },
      "tokenUri": {
        "raw": "https://nft.taopainft.com/v1/token/metadata/8a5f0e288f1947624ebfc679f7793dcf6b3a0ae5/0000000000000000000000000000000000000000000000000000000000001014.json",
        "gateway": "https://nft.taopainft.com/v1/token/metadata/8a5f0e288f1947624ebfc679f7793dcf6b3a0ae5/0000000000000000000000000000000000000000000000000000000000001014.json"
      },
      "timeLastUpdated": "2022-09-23T08:58:33.43865Z"
    },
    {
      "contract": {
        "address": "cfx:acff8dvjv6pys2ws19dhx753h1h00sum6yhu3m188h"
      },
      "id": {
        "tokenId": "0x0000000000000000000000000000000000000000000000000000000000001015",
        "tokenMetadata": {
          "tokenType": "CRC-721"
        }
      },
      "tokenUri": {
        "raw": "https://nft.taopainft.com/v1/token/metadata/8a5f0e288f1947624ebfc679f7793dcf6b3a0ae5/0000000000000000000000000000000000000000000000000000000000001015.json",
        "gateway": "https://nft.taopainft.com/v1/token/metadata/8a5f0e288f1947624ebfc679f7793dcf6b3a0ae5/0000000000000000000000000000000000000000000000000000000000001015.json"
      },
      "timeLastUpdated": "2022-09-23T08:58:33.438243Z"
    },
    {
      "contract": {
        "address": "cfx:acff8dvjv6pys2ws19dhx753h1h00sum6yhu3m188h"
      },
      "id": {
        "tokenId": "0x0000000000000000000000000000000000000000000000000000000000001016",
        "tokenMetadata": {
          "tokenType": "CRC-721"
        }
      },
      "tokenUri": {
        "raw": "https://nft.taopainft.com/v1/token/metadata/8a5f0e288f1947624ebfc679f7793dcf6b3a0ae5/0000000000000000000000000000000000000000000000000000000000001016.json",
        "gateway": "https://nft.taopainft.com/v1/token/metadata/8a5f0e288f1947624ebfc679f7793dcf6b3a0ae5/0000000000000000000000000000000000000000000000000000000000001016.json"
      },
      "timeLastUpdated": "2022-09-23T08:58:33.438541Z"
    },
    {
      "contract": {
        "address": "cfx:acff8dvjv6pys2ws19dhx753h1h00sum6yhu3m188h"
      },
      "id": {
        "tokenId": "0x0000000000000000000000000000000000000000000000000000000000001017",
        "tokenMetadata": {
          "tokenType": "CRC-721"
        }
      },
      "tokenUri": {
        "raw": "https://nft.taopainft.com/v1/token/metadata/8a5f0e288f1947624ebfc679f7793dcf6b3a0ae5/0000000000000000000000000000000000000000000000000000000000001017.json",
        "gateway": "https://nft.taopainft.com/v1/token/metadata/8a5f0e288f1947624ebfc679f7793dcf6b3a0ae5/0000000000000000000000000000000000000000000000000000000000001017.json"
      },
      "timeLastUpdated": "2022-09-23T08:58:33.438598Z"
    },
    {
      "contract": {
        "address": "cfx:acff8dvjv6pys2ws19dhx753h1h00sum6yhu3m188h"
      },
      "id": {
        "tokenId": "0x0000000000000000000000000000000000000000000000000000000000001018",
        "tokenMetadata": {
          "tokenType": "CRC-721"
        }
      },
      "tokenUri": {
        "raw": "https://nft.taopainft.com/v1/token/metadata/8a5f0e288f1947624ebfc679f7793dcf6b3a0ae5/0000000000000000000000000000000000000000000000000000000000001018.json",
        "gateway": "https://nft.taopainft.com/v1/token/metadata/8a5f0e288f1947624ebfc679f7793dcf6b3a0ae5/0000000000000000000000000000000000000000000000000000000000001018.json"
      },
      "timeLastUpdated": "2022-09-23T08:58:33.438734Z"
    },
    {
      "contract": {
        "address": "cfx:acff8dvjv6pys2ws19dhx753h1h00sum6yhu3m188h"
      },
      "id": {
        "tokenId": "0x0000000000000000000000000000000000000000000000000000000000001019",
        "tokenMetadata": {
          "tokenType": "CRC-721"
        }
      },
      "tokenUri": {
        "raw": "https://nft.taopainft.com/v1/token/metadata/8a5f0e288f1947624ebfc679f7793dcf6b3a0ae5/0000000000000000000000000000000000000000000000000000000000001019.json",
        "gateway": "https://nft.taopainft.com/v1/token/metadata/8a5f0e288f1947624ebfc679f7793dcf6b3a0ae5/0000000000000000000000000000000000000000000000000000000000001019.json"
      },
      "timeLastUpdated": "2022-09-23T08:58:33.43855Z"
    },
    {
      "contract": {
        "address": "cfx:acff8dvjv6pys2ws19dhx753h1h00sum6yhu3m188h"
      },
      "id": {
        "tokenId": "0x000000000000000000000000000000000000000000000000000000000000101a",
        "tokenMetadata": {
          "tokenType": "CRC-721"
        }
      },
      "tokenUri": {
        "raw": "https://nft.taopainft.com/v1/token/metadata/8a5f0e288f1947624ebfc679f7793dcf6b3a0ae5/000000000000000000000000000000000000000000000000000000000000101a.json",
        "gateway": "https://nft.taopainft.com/v1/token/metadata/8a5f0e288f1947624ebfc679f7793dcf6b3a0ae5/000000000000000000000000000000000000000000000000000000000000101a.json"
      },
      "timeLastUpdated": "2022-09-23T08:58:33.438762Z"
    },
    {
      "contract": {
        "address": "cfx:acff8dvjv6pys2ws19dhx753h1h00sum6yhu3m188h"
      },
      "id": {
        "tokenId": "0x000000000000000000000000000000000000000000000000000000000000101b",
        "tokenMetadata": {
          "tokenType": "CRC-721"
        }
      },
      "tokenUri": {
        "raw": "https://nft.taopainft.com/v1/token/metadata/8a5f0e288f1947624ebfc679f7793dcf6b3a0ae5/000000000000000000000000000000000000000000000000000000000000101b.json",
        "gateway": "https://nft.taopainft.com/v1/token/metadata/8a5f0e288f1947624ebfc679f7793dcf6b3a0ae5/000000000000000000000000000000000000000000000000000000000000101b.json"
      },
      "timeLastUpdated": "2022-09-23T08:58:33.43873Z"
    },
    {
      "contract": {
        "address": "cfx:acff8dvjv6pys2ws19dhx753h1h00sum6yhu3m188h"
      },
      "id": {
        "tokenId": "0x000000000000000000000000000000000000000000000000000000000000101c",
        "tokenMetadata": {
          "tokenType": "CRC-721"
        }
      },
      "tokenUri": {
        "raw": "https://nft.taopainft.com/v1/token/metadata/8a5f0e288f1947624ebfc679f7793dcf6b3a0ae5/000000000000000000000000000000000000000000000000000000000000101c.json",
        "gateway": "https://nft.taopainft.com/v1/token/metadata/8a5f0e288f1947624ebfc679f7793dcf6b3a0ae5/000000000000000000000000000000000000000000000000000000000000101c.json"
      },
      "timeLastUpdated": "2022-09-23T08:58:33.438355Z"
    },
    {
      "contract": {
        "address": "cfx:acff8dvjv6pys2ws19dhx753h1h00sum6yhu3m188h"
      },
      "id": {
        "tokenId": "0x000000000000000000000000000000000000000000000000000000000000101d",
        "tokenMetadata": {
          "tokenType": "CRC-721"
        }
      },
      "tokenUri": {
        "raw": "https://nft.taopainft.com/v1/token/metadata/8a5f0e288f1947624ebfc679f7793dcf6b3a0ae5/000000000000000000000000000000000000000000000000000000000000101d.json",
        "gateway": "https://nft.taopainft.com/v1/token/metadata/8a5f0e288f1947624ebfc679f7793dcf6b3a0ae5/000000000000000000000000000000000000000000000000000000000000101d.json"
      },
      "timeLastUpdated": "2022-09-23T08:58:33.438684Z"
    },
    {
      "contract": {
        "address": "cfx:acff8dvjv6pys2ws19dhx753h1h00sum6yhu3m188h"
      },
      "id": {
        "tokenId": "0x000000000000000000000000000000000000000000000000000000000000101e",
        "tokenMetadata": {
          "tokenType": "CRC-721"
        }
      },
      "tokenUri": {
        "raw": "https://nft.taopainft.com/v1/token/metadata/8a5f0e288f1947624ebfc679f7793dcf6b3a0ae5/000000000000000000000000000000000000000000000000000000000000101e.json",
        "gateway": "https://nft.taopainft.com/v1/token/metadata/8a5f0e288f1947624ebfc679f7793dcf6b3a0ae5/000000000000000000000000000000000000000000000000000000000000101e.json"
      },
      "timeLastUpdated": "2022-09-23T08:58:33.438559Z"
    },
    {
      "contract": {
        "address": "cfx:acff8dvjv6pys2ws19dhx753h1h00sum6yhu3m188h"
      },
      "id": {
        "tokenId": "0x000000000000000000000000000000000000000000000000000000000000101f",
        "tokenMetadata": {
          "tokenType": "CRC-721"
        }
      },
      "tokenUri": {
        "raw": "https://nft.taopainft.com/v1/token/metadata/8a5f0e288f1947624ebfc679f7793dcf6b3a0ae5/000000000000000000000000000000000000000000000000000000000000101f.json",
        "gateway": "https://nft.taopainft.com/v1/token/metadata/8a5f0e288f1947624ebfc679f7793dcf6b3a0ae5/000000000000000000000000000000000000000000000000000000000000101f.json"
      },
      "timeLastUpdated": "2022-09-23T08:58:33.43847Z"
    },
    {
      "contract": {
        "address": "cfx:acff8dvjv6pys2ws19dhx753h1h00sum6yhu3m188h"
      },
      "id": {
        "tokenId": "0x0000000000000000000000000000000000000000000000000000000000001020",
        "tokenMetadata": {
          "tokenType": "CRC-721"
        }
      },
      "tokenUri": {
        "raw": "https://nft.taopainft.com/v1/token/metadata/8a5f0e288f1947624ebfc679f7793dcf6b3a0ae5/0000000000000000000000000000000000000000000000000000000000001020.json",
        "gateway": "https://nft.taopainft.com/v1/token/metadata/8a5f0e288f1947624ebfc679f7793dcf6b3a0ae5/0000000000000000000000000000000000000000000000000000000000001020.json"
      },
      "timeLastUpdated": "2022-09-23T08:58:33.438519Z"
    },
    {
      "contract": {
        "address": "cfx:acff8dvjv6pys2ws19dhx753h1h00sum6yhu3m188h"
      },
      "id": {
        "tokenId": "0x0000000000000000000000000000000000000000000000000000000000001021",
        "tokenMetadata": {
          "tokenType": "CRC-721"
        }
      },
      "tokenUri": {
        "raw": "https://nft.taopainft.com/v1/token/metadata/8a5f0e288f1947624ebfc679f7793dcf6b3a0ae5/0000000000000000000000000000000000000000000000000000000000001021.json",
        "gateway": "https://nft.taopainft.com/v1/token/metadata/8a5f0e288f1947624ebfc679f7793dcf6b3a0ae5/0000000000000000000000000000000000000000000000000000000000001021.json"
      },
      "timeLastUpdated": "2022-09-23T08:58:33.438287Z"
    },
    {
      "contract": {
        "address": "cfx:acff8dvjv6pys2ws19dhx753h1h00sum6yhu3m188h"
      },
      "id": {
        "tokenId": "0x0000000000000000000000000000000000000000000000000000000000001022",
        "tokenMetadata": {
          "tokenType": "CRC-721"
        }
      },
      "tokenUri": {
        "raw": "https://nft.taopainft.com/v1/token/metadata/8a5f0e288f1947624ebfc679f7793dcf6b3a0ae5/0000000000000000000000000000000000000000000000000000000000001022.json",
        "gateway": "https://nft.taopainft.com/v1/token/metadata/8a5f0e288f1947624ebfc679f7793dcf6b3a0ae5/0000000000000000000000000000000000000000000000000000000000001022.json"
      },
      "timeLastUpdated": "2022-09-23T08:58:33.438319Z"
    },
    {
      "contract": {
        "address": "cfx:acff8dvjv6pys2ws19dhx753h1h00sum6yhu3m188h"
      },
      "id": {
        "tokenId": "0x0000000000000000000000000000000000000000000000000000000000001023",
        "tokenMetadata": {
          "tokenType": "CRC-721"
        }
      },
      "tokenUri": {
        "raw": "https://nft.taopainft.com/v1/token/metadata/8a5f0e288f1947624ebfc679f7793dcf6b3a0ae5/0000000000000000000000000000000000000000000000000000000000001023.json",
        "gateway": "https://nft.taopainft.com/v1/token/metadata/8a5f0e288f1947624ebfc679f7793dcf6b3a0ae5/0000000000000000000000000000000000000000000000000000000000001023.json"
      },
      "timeLastUpdated": "2022-09-23T08:58:33.438694Z"
    },
    {
      "contract": {
        "address": "cfx:acff8dvjv6pys2ws19dhx753h1h00sum6yhu3m188h"
      },
      "id": {
        "tokenId": "0x0000000000000000000000000000000000000000000000000000000000001024",
        "tokenMetadata": {
          "tokenType": "CRC-721"
        }
      },
      "tokenUri": {
        "raw": "https://nft.taopainft.com/v1/token/metadata/8a5f0e288f1947624ebfc679f7793dcf6b3a0ae5/0000000000000000000000000000000000000000000000000000000000001024.json",
        "gateway": "https://nft.taopainft.com/v1/token/metadata/8a5f0e288f1947624ebfc679f7793dcf6b3a0ae5/0000000000000000000000000000000000000000000000000000000000001024.json"
      },
      "timeLastUpdated": "2022-09-23T08:58:33.438263Z"
    },
    {
      "contract": {
        "address": "cfx:acff8dvjv6pys2ws19dhx753h1h00sum6yhu3m188h"
      },
      "id": {
        "tokenId": "0x0000000000000000000000000000000000000000000000000000000000001025",
        "tokenMetadata": {
          "tokenType": "CRC-721"
        }
      },
      "tokenUri": {
        "raw": "https://nft.taopainft.com/v1/token/metadata/8a5f0e288f1947624ebfc679f7793dcf6b3a0ae5/0000000000000000000000000000000000000000000000000000000000001025.json",
        "gateway": "https://nft.taopainft.com/v1/token/metadata/8a5f0e288f1947624ebfc679f7793dcf6b3a0ae5/0000000000000000000000000000000000000000000000000000000000001025.json"
      },
      "timeLastUpdated": "2022-09-23T08:58:33.4384Z"
    },
    {
      "contract": {
        "address": "cfx:acff8dvjv6pys2ws19dhx753h1h00sum6yhu3m188h"
      },
      "id": {
        "tokenId": "0x0000000000000000000000000000000000000000000000000000000000001026",
        "tokenMetadata": {
          "tokenType": "CRC-721"
        }
      },
      "tokenUri": {
        "raw": "https://nft.taopainft.com/v1/token/metadata/8a5f0e288f1947624ebfc679f7793dcf6b3a0ae5/0000000000000000000000000000000000000000000000000000000000001026.json",
        "gateway": "https://nft.taopainft.com/v1/token/metadata/8a5f0e288f1947624ebfc679f7793dcf6b3a0ae5/0000000000000000000000000000000000000000000000000000000000001026.json"
      },
      "timeLastUpdated": "2022-09-23T08:58:33.438417Z"
    },
    {
      "contract": {
        "address": "cfx:acff8dvjv6pys2ws19dhx753h1h00sum6yhu3m188h"
      },
      "id": {
        "tokenId": "0x0000000000000000000000000000000000000000000000000000000000001027",
        "tokenMetadata": {
          "tokenType": "CRC-721"
        }
      },
      "tokenUri": {
        "raw": "https://nft.taopainft.com/v1/token/metadata/8a5f0e288f1947624ebfc679f7793dcf6b3a0ae5/0000000000000000000000000000000000000000000000000000000000001027.json",
        "gateway": "https://nft.taopainft.com/v1/token/metadata/8a5f0e288f1947624ebfc679f7793dcf6b3a0ae5/0000000000000000000000000000000000000000000000000000000000001027.json"
      },
      "timeLastUpdated": "2022-09-23T08:58:33.4383Z"
    }
  ],
  "totalCount": 39018
}
Language
Click Try It! to start a request and see the response here!