Inscription Activity by Transaction
curl --request GET \
--url https://xbt-mainnet.gomaestro-api.org/v0/transactions/{tx_hash}/inscriptions/activity \
--header 'api-key: <api-key>'import requests
url = "https://xbt-mainnet.gomaestro-api.org/v0/transactions/{tx_hash}/inscriptions/activity"
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/transactions/{tx_hash}/inscriptions/activity', 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/transactions/{tx_hash}/inscriptions/activity",
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/transactions/{tx_hash}/inscriptions/activity"
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/transactions/{tx_hash}/inscriptions/activity")
.header("api-key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://xbt-mainnet.gomaestro-api.org/v0/transactions/{tx_hash}/inscriptions/activity")
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": [
{
"from": {
"address": "bc1qprdf80adfz7aekh5nejjfrp3jksc8r929svpxk",
"input_index": 0,
"sat_offset": 100409840,
"script_pubkey": "001408da93bfad48bddcdaf49e65248c3195a1838caa"
},
"inscription_id": "56f1eebc4cfc437cffc47caa5c08f2d4f5989ed8a8c5dd6cdec77996b0e055fdi0",
"to": {
"address": "bc1qprdf80adfz7aekh5nejjfrp3jksc8r929svpxk",
"output_vout": 20,
"sat_offset": 84345292,
"script_pubkey": "001408da93bfad48bddcdaf49e65248c3195a1838caa"
}
},
{
"from": {
"address": "bc1qprdf80adfz7aekh5nejjfrp3jksc8r929svpxk",
"input_index": 0,
"sat_offset": 100639840,
"script_pubkey": "001408da93bfad48bddcdaf49e65248c3195a1838caa"
},
"inscription_id": "196378911c21ee6eaac767be609106ad2efce6d36af822d54d9583a2256cb9c2i0",
"to": {
"address": "bc1qprdf80adfz7aekh5nejjfrp3jksc8r929svpxk",
"output_vout": 20,
"sat_offset": 84575292,
"script_pubkey": "001408da93bfad48bddcdaf49e65248c3195a1838caa"
}
}
],
"last_updated": {
"block_hash": "00000000000000000000380fb362a3ad3dc257cc28daadfc83fffd0c10eb3b82",
"block_height": 811063
},
"next_cursor": "AAAAAAAAAAI"
}Transactions
Inscription Activity by Transaction
Get inscription activity and metadata for Bitcoin inscriptions within a specific transaction.
GET
/
transactions
/
{tx_hash}
/
inscriptions
/
activity
Inscription Activity by Transaction
curl --request GET \
--url https://xbt-mainnet.gomaestro-api.org/v0/transactions/{tx_hash}/inscriptions/activity \
--header 'api-key: <api-key>'import requests
url = "https://xbt-mainnet.gomaestro-api.org/v0/transactions/{tx_hash}/inscriptions/activity"
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/transactions/{tx_hash}/inscriptions/activity', 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/transactions/{tx_hash}/inscriptions/activity",
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/transactions/{tx_hash}/inscriptions/activity"
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/transactions/{tx_hash}/inscriptions/activity")
.header("api-key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://xbt-mainnet.gomaestro-api.org/v0/transactions/{tx_hash}/inscriptions/activity")
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": [
{
"from": {
"address": "bc1qprdf80adfz7aekh5nejjfrp3jksc8r929svpxk",
"input_index": 0,
"sat_offset": 100409840,
"script_pubkey": "001408da93bfad48bddcdaf49e65248c3195a1838caa"
},
"inscription_id": "56f1eebc4cfc437cffc47caa5c08f2d4f5989ed8a8c5dd6cdec77996b0e055fdi0",
"to": {
"address": "bc1qprdf80adfz7aekh5nejjfrp3jksc8r929svpxk",
"output_vout": 20,
"sat_offset": 84345292,
"script_pubkey": "001408da93bfad48bddcdaf49e65248c3195a1838caa"
}
},
{
"from": {
"address": "bc1qprdf80adfz7aekh5nejjfrp3jksc8r929svpxk",
"input_index": 0,
"sat_offset": 100639840,
"script_pubkey": "001408da93bfad48bddcdaf49e65248c3195a1838caa"
},
"inscription_id": "196378911c21ee6eaac767be609106ad2efce6d36af822d54d9583a2256cb9c2i0",
"to": {
"address": "bc1qprdf80adfz7aekh5nejjfrp3jksc8r929svpxk",
"output_vout": 20,
"sat_offset": 84575292,
"script_pubkey": "001408da93bfad48bddcdaf49e65248c3195a1838caa"
}
}
],
"last_updated": {
"block_hash": "00000000000000000000380fb362a3ad3dc257cc28daadfc83fffd0c10eb3b82",
"block_height": 811063
},
"next_cursor": "AAAAAAAAAAI"
}Authorizations
Project API Key
Path Parameters
Transaction hash
Query Parameters
The max number of inscriptions 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

