Collections

Public endpoints for all collections of NFTs.



Collections     /v2/api/collections/ (GET)

List all NFT collections.


curl --location --request GET 'https://api.curios.com/v2/api/collections/' \

--header 'curios-api-key: {API Key}' \
--header 'curios-date: {UTC Date/Time Stamp}' \
--header 'curios-signature: {Signature}' \ 


List     /v2/api/collections/list (GET)

List all collections.


Authorization
Header Value Description
Authorization Bearer {JWT} The JWT session token issued upon succesful customer login and verification.

curl --location --request GET 'https://api.curios.com/v2/api/collections/list' \

--header 'curios-api-key: {API Key}' \
--header 'curios-date: {UTC Date/Time Stamp}' \
--header 'curios-signature: {Signature}' \
--header 'Authorization: Bearer {JWT}' \ 


Collection Details     /v2/api/collections/:id (GET)

Details of an NFT collection.


curl --location --request GET 'https://api.curios.com/v2/api/collections/:id' \

--header 'curios-api-key: {API Key}' \
--header 'curios-date: {UTC Date/Time Stamp}' \
--header 'curios-signature: {Signature}' \ 


Load     /v2/api/collections/load (GET)

Load collection details.


Authorization
Header Value Description
Authorization Bearer {JWT} The JWT session token issued upon succesful customer login and verification.

curl --location --request GET 'https://api.curios.com/v2/api/collections/load' \

--header 'curios-api-key: {API Key}' \
--header 'curios-date: {UTC Date/Time Stamp}' \
--header 'curios-signature: {Signature}' \
--header 'Authorization: Bearer {JWT}' \ 


Collection Listings     /v2/api/collections/:id/listings (GET)

All sale listings for an NFT collection, both primary and secondary.


curl --location --request GET 'https://api.curios.com/v2/api/collections/:id/listings' \

--header 'curios-api-key: {API Key}' \
--header 'curios-date: {UTC Date/Time Stamp}' \
--header 'curios-signature: {Signature}' \ 


Create     /v2/api/collections/create (POST)

Create a new collection.


Authorization
Header Value Description
Authorization Bearer {JWT} The JWT session token issued upon succesful customer login and verification.

Body
Argument Value Required Description
title {title} Yes Title of your collection
subtitle {subtitle} No Subtitle of your collection
description {description} No Description of your collection
keywords {keywords} No Keywords for aiding in search, these values are hidden
publish {true/false} No Publish if you want this to be available in listings, search, etc
contract_id {smart contract id} Yes Hash ID of the smart contract this collection of tokens will be minted through
curl --location --request POST 'https://api.curios.com/v2/api/collections/create' \

--header 'curios-api-key: {API Key}' \
--header 'curios-date: {UTC Date/Time Stamp}' \
--header 'curios-signature: {Signature}' \
--header 'Authorization: Bearer {JWT}' \ 
--data-raw '{
  "title": "{title}", 
  "subtitle": "{subtitle}", 
  "description": "{description}", 
  "keywords": "{keywords}", 
  "publish": {true/false}, 
  "contract_id": {smart contract id}
}'


Collection Types     /v2/api/collections/types (GET)


curl --location --request GET 'https://api.curios.com/v2/api/collections/types' \

--header 'curios-api-key: {API Key}' \
--header 'curios-date: {UTC Date/Time Stamp}' \
--header 'curios-signature: {Signature}' \ 


Update     /v2/api/collections/update (POST)

Updates a given collection.


Authorization
Header Value Description
Authorization Bearer {JWT} The JWT session token issued upon succesful customer login and verification.

Body
Argument Value Required Description
title {title} No Title of your collection
subtitle {subtitle} No Subtitle of your collection
description {description} No Description of your collection
keywords {keywords} No Keywords for aiding in search, these values are hidden
publish {true/false} No Publish if you want this to be available in listings, search, etc
curl --location --request POST 'https://api.curios.com/v2/api/collections/update' \

--header 'curios-api-key: {API Key}' \
--header 'curios-date: {UTC Date/Time Stamp}' \
--header 'curios-signature: {Signature}' \
--header 'Authorization: Bearer {JWT}' \ 
--data-raw '{
  "title": "{title}", 
  "subtitle": "{subtitle}", 
  "description": "{description}", 
  "keywords": "{keywords}", 
  "publish": {true/false}
}'


Mint     /v2/api/collections/mint (POST)

Mint a token from this collection via the underlying smart contract.


Authorization
Header Value Description
Authorization Bearer {JWT} The JWT session token issued upon succesful customer login and verification.

curl --location --request POST 'https://api.curios.com/v2/api/collections/mint' \

--header 'curios-api-key: {API Key}' \
--header 'curios-date: {UTC Date/Time Stamp}' \
--header 'curios-signature: {Signature}' \
--header 'Authorization: Bearer {JWT}' \ 


Collection Type Details     /v2/api/collections/types/:id (GET)


curl --location --request GET 'https://api.curios.com/v2/api/collections/types/:id' \

--header 'curios-api-key: {API Key}' \
--header 'curios-date: {UTC Date/Time Stamp}' \
--header 'curios-signature: {Signature}' \