Inscription IDs by Collection Symbol
curl --request GET \
--url https://xbt-mainnet.gomaestro-api.org/v0/assets/collections/{collection_symbol}/inscriptions \
--header 'api-key: <api-key>'import requests
url = "https://xbt-mainnet.gomaestro-api.org/v0/assets/collections/{collection_symbol}/inscriptions"
headers = {"api-key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'api-key': '<api-key>'}};
fetch('https://xbt-mainnet.gomaestro-api.org/v0/assets/collections/{collection_symbol}/inscriptions', 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://xbt-mainnet.gomaestro-api.org/v0/assets/collections/{collection_symbol}/inscriptions",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"api-key: <api-key>"
],
]);
$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://xbt-mainnet.gomaestro-api.org/v0/assets/collections/{collection_symbol}/inscriptions"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("api-key", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://xbt-mainnet.gomaestro-api.org/v0/assets/collections/{collection_symbol}/inscriptions")
.header("api-key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://xbt-mainnet.gomaestro-api.org/v0/assets/collections/{collection_symbol}/inscriptions")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["api-key"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"data": [
"85a4c2531f149cd8c69a34a9139cace0bdce99e906ee5ad5a4620cdef6adfc6ci0",
"7d75fe5bea7f11823050d029d281a8b23e9660c5cc133ad3f8b36fef8c8329c0i0",
"0c80a14912bf35b9303de0758eee6e91532f539104db7f34e760ed1574170d88i0",
"7fc5d6c9ffffe461b31dc96570134b3d658da767b51225d1771ba7ccffcf6201i0",
"3204df2e4908f47939878a0681733852ed3ddffca425f25bf67746fd099c78b8i0",
"491b5144bb2b67a05360e8cbd8ff0beba2a5e3823944796aa7e2680583403184i0",
"23fa74866576bd731b69fdc900d14b4d9ce904a9be16790d7dd76ac9cf652862i0",
"70abb5f531adf694438f3b14167f885336c280277f329d6c5fe720b8f5bb20aai0",
"793a7423c399c87de15f98499656df8bdffabf452879185f452ca33a5943bfb6i0",
"ced74edbbeb7ccac032a8a218a2ee6a7068963a1c4ae9a403969cc621ffe4f2ei0"
],
"last_updated": {
"block_hash": "00000000000000000001998e2059bcbb25f76fd0ef39db8ddfc5c31c5ea95f1f",
"block_height": 876644
},
"next_cursor": null
}Inscriptions
Inscription IDs by Collection Symbol
Get list of all inscription IDs belonging to a specific Bitcoin inscription collection with pagination support.
GET
/
assets
/
collections
/
{collection_symbol}
/
inscriptions
Inscription IDs by Collection Symbol
curl --request GET \
--url https://xbt-mainnet.gomaestro-api.org/v0/assets/collections/{collection_symbol}/inscriptions \
--header 'api-key: <api-key>'import requests
url = "https://xbt-mainnet.gomaestro-api.org/v0/assets/collections/{collection_symbol}/inscriptions"
headers = {"api-key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'api-key': '<api-key>'}};
fetch('https://xbt-mainnet.gomaestro-api.org/v0/assets/collections/{collection_symbol}/inscriptions', 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://xbt-mainnet.gomaestro-api.org/v0/assets/collections/{collection_symbol}/inscriptions",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"api-key: <api-key>"
],
]);
$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://xbt-mainnet.gomaestro-api.org/v0/assets/collections/{collection_symbol}/inscriptions"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("api-key", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://xbt-mainnet.gomaestro-api.org/v0/assets/collections/{collection_symbol}/inscriptions")
.header("api-key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://xbt-mainnet.gomaestro-api.org/v0/assets/collections/{collection_symbol}/inscriptions")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["api-key"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"data": [
"85a4c2531f149cd8c69a34a9139cace0bdce99e906ee5ad5a4620cdef6adfc6ci0",
"7d75fe5bea7f11823050d029d281a8b23e9660c5cc133ad3f8b36fef8c8329c0i0",
"0c80a14912bf35b9303de0758eee6e91532f539104db7f34e760ed1574170d88i0",
"7fc5d6c9ffffe461b31dc96570134b3d658da767b51225d1771ba7ccffcf6201i0",
"3204df2e4908f47939878a0681733852ed3ddffca425f25bf67746fd099c78b8i0",
"491b5144bb2b67a05360e8cbd8ff0beba2a5e3823944796aa7e2680583403184i0",
"23fa74866576bd731b69fdc900d14b4d9ce904a9be16790d7dd76ac9cf652862i0",
"70abb5f531adf694438f3b14167f885336c280277f329d6c5fe720b8f5bb20aai0",
"793a7423c399c87de15f98499656df8bdffabf452879185f452ca33a5943bfb6i0",
"ced74edbbeb7ccac032a8a218a2ee6a7068963a1c4ae9a403969cc621ffe4f2ei0"
],
"last_updated": {
"block_hash": "00000000000000000001998e2059bcbb25f76fd0ef39db8ddfc5c31c5ea95f1f",
"block_height": 876644
},
"next_cursor": null
}Authorizations
Project API Key
Path Parameters
Collection symbol (UTF-8)
Query Parameters
The max number of results per page
Required range:
x >= 0Pagination cursor string, use the cursor included in a page of results to fetch the next page
Was this page helpful?
⌘I

