GET Contracts
curl --request GET \
--url https://api.bitski.com/v1/apps/{appId}/contractsimport requests
url = "https://api.bitski.com/v1/apps/{appId}/contracts"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api.bitski.com/v1/apps/{appId}/contracts', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.bitski.com/v1/apps/{appId}/contracts",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.bitski.com/v1/apps/{appId}/contracts"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.bitski.com/v1/apps/{appId}/contracts")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.bitski.com/v1/apps/{appId}/contracts")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body{
"contracts": [
{
"contractType": "NON_FUNGIBLE",
"tokenTemplates": [
{
"animationUrl": null,
"contractId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"defaultMetadata": {},
"delayMinting": true,
"description": "A great token",
"gatedContent": [],
"id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"image": "https://cdn.bitskistatic.com/tokens-raw/54676382-bab5-408d-afe2-fc6f160da4a8/06fd0294-a425-44c7-96e8-9d24757163b4.png",
"isDropLink": true,
"liveAt": "2023-04-19T23:51:57.705Z",
"maxTokens": 100,
"name": "Bird NFT",
"namingTemplate": "DEFAULT",
"payouts": {},
"previewAt": "2023-04-19T23:51:57.705Z",
"prices": [
{
"currency": "USD",
"id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"price": "200.00"
}
],
"published": true,
"salesEndAt": "2023-04-19T23:51:57.705Z",
"totalTokens": 57
}
],
"accessType": "OWNED",
"address": "0x8b53d6e704485ef70bd02e2a91df126935a127c9",
"deploymentState": "DEPLOYED",
"description": "A collection of great NFTs",
"externalLink": "https://www.bitski.com/@Stapleverse",
"fee": "25.00",
"id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"name": "My NFT Collection",
"network": "mainnet"
}
]
}
Minting APIs
GET Contracts
List collections on dedicated or shared contracts across chains
GET
/
v1
/
apps
/
{appId}
/
contracts
GET Contracts
curl --request GET \
--url https://api.bitski.com/v1/apps/{appId}/contractsimport requests
url = "https://api.bitski.com/v1/apps/{appId}/contracts"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api.bitski.com/v1/apps/{appId}/contracts', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.bitski.com/v1/apps/{appId}/contracts",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.bitski.com/v1/apps/{appId}/contracts"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.bitski.com/v1/apps/{appId}/contracts")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.bitski.com/v1/apps/{appId}/contracts")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body{
"contracts": [
{
"contractType": "NON_FUNGIBLE",
"tokenTemplates": [
{
"animationUrl": null,
"contractId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"defaultMetadata": {},
"delayMinting": true,
"description": "A great token",
"gatedContent": [],
"id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"image": "https://cdn.bitskistatic.com/tokens-raw/54676382-bab5-408d-afe2-fc6f160da4a8/06fd0294-a425-44c7-96e8-9d24757163b4.png",
"isDropLink": true,
"liveAt": "2023-04-19T23:51:57.705Z",
"maxTokens": 100,
"name": "Bird NFT",
"namingTemplate": "DEFAULT",
"payouts": {},
"previewAt": "2023-04-19T23:51:57.705Z",
"prices": [
{
"currency": "USD",
"id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"price": "200.00"
}
],
"published": true,
"salesEndAt": "2023-04-19T23:51:57.705Z",
"totalTokens": 57
}
],
"accessType": "OWNED",
"address": "0x8b53d6e704485ef70bd02e2a91df126935a127c9",
"deploymentState": "DEPLOYED",
"description": "A collection of great NFTs",
"externalLink": "https://www.bitski.com/@Stapleverse",
"fee": "25.00",
"id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"name": "My NFT Collection",
"network": "mainnet"
}
]
}
This API requires the
apps scopePath
string
required
Your Bitski Application ID
Parameters
boolean
Whether to include token templates in the response.
boolean
Filter by deployment status.
boolean
Filter by access type.
Examples

Response
array
required
{
"contracts": [
{
"contractType": "NON_FUNGIBLE",
"tokenTemplates": [
{
"animationUrl": null,
"contractId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"defaultMetadata": {},
"delayMinting": true,
"description": "A great token",
"gatedContent": [],
"id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"image": "https://cdn.bitskistatic.com/tokens-raw/54676382-bab5-408d-afe2-fc6f160da4a8/06fd0294-a425-44c7-96e8-9d24757163b4.png",
"isDropLink": true,
"liveAt": "2023-04-19T23:51:57.705Z",
"maxTokens": 100,
"name": "Bird NFT",
"namingTemplate": "DEFAULT",
"payouts": {},
"previewAt": "2023-04-19T23:51:57.705Z",
"prices": [
{
"currency": "USD",
"id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"price": "200.00"
}
],
"published": true,
"salesEndAt": "2023-04-19T23:51:57.705Z",
"totalTokens": 57
}
],
"accessType": "OWNED",
"address": "0x8b53d6e704485ef70bd02e2a91df126935a127c9",
"deploymentState": "DEPLOYED",
"description": "A collection of great NFTs",
"externalLink": "https://www.bitski.com/@Stapleverse",
"fee": "25.00",
"id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"name": "My NFT Collection",
"network": "mainnet"
}
]
}
⌘I