nft/collections - Ton

nft/collections. Retrieves data on NFT collections.

nft/collections - ton [Value: 100CU]
Retrieves data on NFT collections.
Use cases

Use cases

  • Retrieve data on NFT collections
  • Analyze NFT collection details
  • Audit collection metadata
Constraints

Constraints

  • Requires valid collection ID
  • Supports NFT Collections V3 only
  • Depends on sync
Get started
Unlock Access to 50+ chains
Boost your app's speed and reliability with dRPC - get your access API key

Language

Request
Examples
curl --request GET \
     --url ' https://ton.drpc.org/rest/api/v3/nft/collections?limit=128&offset=0' \
     --header 'accept: application/json'
Copy
Response
200
{
    "ok": true,
    "result": [
        {
            "collection_id": "0:abcdefabcdefabcdefabcdefabcdefabcdefabcdefabcdefabcdefabcdefabcdef",
            "name": "TON Art Collection",
            "symbol": "TONART",
            "creator": "EQD1Lp1KcmGHFpE8eIvL1mnHT83b4HdB8HJxuSfq6Rq4zGyN",
            "total_supply": "10000",
            "base_uri": "https://tonart.example.com/metadata/",
            "created_at": 1693527600,
            "description": "A unique collection of digital art on the TON blockchain."
        },
        {
            "collection_id": "0:1234567890abcdef1234567890abcdef1234567890abcdef1234567890abcdef",
            "name": "TON Sports Collection",
            "symbol": "TONSPORTS",
            "creator": "EQDtFpEwcFAEcRe5mLVh2N6C0x-_hJEM7W61_JLnSF74p4q2",
            "total_supply": "5000",
            "base_uri": "https://tonsports.example.com/metadata/",
            "created_at": 1693527500,
            "description": "An exclusive sports memorabilia collection on the TON blockchain."
        }
    ]
}
Copy

Request params

Parametersobject
object
limitinteger
Optional. The maximum number of NFT collections to return. Default is 128.
offsetinteger
Optional. The number of NFT collections to skip before starting to return results. Default is 0.

Response

200

Response params

object
okboolean
Indicates if the request was successful.
resultarray
List of NFT collection details.
object
collection_idstring
Unique identifier of the NFT collection.
namestring
Name of the NFT collection.
symbolstring
Symbol representing the NFT collection.
creatorstring
Address of the creator of the collection.
total_supplystring
Total supply of NFTs in the collection.
base_uristring
Base URI for accessing metadata of NFTs in the collection.
created_atinteger
Unix timestamp indicating when the collection was created.
descriptionstring
Description of the NFT collection.