Protokol
Search
K

Collections

List of NFT Base Collections API Endpoints.

All Collections

get
https://explorer.protokol.sh/api/nft/collections
/collections

Examples

Curl
Typescript
curl https://explorer.protokol.sh/api/nft/collections
const response = connection.NFTBaseApi("collections").all();
>>> Promise<ApiResponseWithPagination<CollectionsResource[]>>

Collection By id

get
https://explorer.protokol.sh/api/nft/collections/:id
/collections/:id

Examples

Curl
Typescript
curl https://explorer.protokol.sh/api/nft/collections/a6ebed9672c970f4eeb4387321806e5eb478d9609b5d67401ecbb32fde759425
const response = connection.NFTBaseApi("collections").get("VALID_ID");
>>> Promise<ApiResponse<CollectionsResource>>

Collection Schema

get
https://explorer.protokol.sh/api/nft/collections/:id/schema
/collections/:id/schema

Examples

Curl
Typescript
curl https://explorer.protokol.sh/api/nft/collections/a6ebed9672c970f4eeb4387321806e5eb478d9609b5d67401ecbb32fde759425/schema
const response = connection.NFTBaseApi("collections").getSchema("VALID_ID");
>>> Promise<ApiResponse<Schema>>

Collections Wallet

get
https://explorer.protokol.sh/api/nft/collections/:id/wallets
/collections/:id/wallets

Examples

Curl
Typescript
curl https://explorer.protokol.sh/api/nft/collections/a6ebed9672c970f4eeb4387321806e5eb478d9609b5d67401ecbb32fde759425/wallets
const response = connection.NFTBaseApi("collections").wallet("VALID_ID");
>>> Promise<ApiResponse<CollectionsWallet>>

Search Collection

Examples

Curl
Typescript
curl --request POST \
--url https://explorer.protokol.sh/api/nft/collections/search \
--header 'content-type: application/json' \
--data '{"jsonSchema": {"name": "AREX Defense Handguns"}'
const response = connection.NFTBaseApi("collections").searchByCollections({
jsonSchema: {
"VALID_JSON_OBJECT"
},
});
>>> Promise<ApiResponseWithPagination<CollectionsResource[]>>

Collection Assets

get
https://explorer.protokol.sh/api/nft/collections/:id/assets
/collections/:id/assets

Examples

Curl
Second Tab
curl https://explorer.protokol.sh/api/nft/collections/a6ebed9672c970f4eeb4387321806e5eb478d9609b5d67401ecbb32fde759425/assets
const response = connection.NFTBaseApi("collections").assetByCollectionId("VALID_ID");
>>> Promise<ApiResponseWithPagination<CollectionsAsset[]>>
Last modified 1yr ago