GET Contract
curl --request GET \
--url https://api.bitski.com/v1/apps/{appId}/contracts/{contractId}import requests
url = "https://api.bitski.com/v1/apps/{appId}/contracts/{contractId}"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api.bitski.com/v1/apps/{appId}/contracts/{contractId}', 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/{contractId}",
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/{contractId}"
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/{contractId}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.bitski.com/v1/apps/{appId}/contracts/{contractId}")
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{
"contract": {
"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 Contract
Get collection or contract details
GET
/
v1
/
apps
/
{appId}
/
contracts
/
{contractId}
GET Contract
curl --request GET \
--url https://api.bitski.com/v1/apps/{appId}/contracts/{contractId}import requests
url = "https://api.bitski.com/v1/apps/{appId}/contracts/{contractId}"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api.bitski.com/v1/apps/{appId}/contracts/{contractId}', 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/{contractId}",
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/{contractId}"
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/{contractId}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.bitski.com/v1/apps/{appId}/contracts/{contractId}")
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{
"contract": {
"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
Your Bitski Application ID
The contract id
Examples

Response
Show properties
Show properties
One of
UNKNOWN, NON_FUNGIBLE_AUCTION, NON_FUNGIBLE, SEMI_FUNGIBLE, ZORA_AUCTIONOne of
OWNED, WATCHED{
"contract": {
"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