(deprecated) Rune UTxOs by Address and Rune
curl --request GET \
--url https://xbt-mainnet.gomaestro-api.org/v0/addresses/{address}/runes/{rune} \
--header 'api-key: <api-key>'import requests
url = "https://xbt-mainnet.gomaestro-api.org/v0/addresses/{address}/runes/{rune}"
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/addresses/{address}/runes/{rune}', 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/addresses/{address}/runes/{rune}",
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/addresses/{address}/runes/{rune}"
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/addresses/{address}/runes/{rune}")
.header("api-key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://xbt-mainnet.gomaestro-api.org/v0/addresses/{address}/runes/{rune}")
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": [
{
"confirmations": 13634,
"height": 876954,
"rune_amount": "2500000",
"satoshis": "546",
"txid": "67715c2b42eaa053fc174c68ca4f393446986567ed0509fa78eb3aa9d0b8db0b",
"vout": 3
},
{
"confirmations": 13634,
"height": 876954,
"rune_amount": "2500000",
"satoshis": "546",
"txid": "67715c2b42eaa053fc174c68ca4f393446986567ed0509fa78eb3aa9d0b8db0b",
"vout": 4
},
{
"confirmations": 13634,
"height": 876954,
"rune_amount": "2500000",
"satoshis": "546",
"txid": "67715c2b42eaa053fc174c68ca4f393446986567ed0509fa78eb3aa9d0b8db0b",
"vout": 5
},
{
"confirmations": 13634,
"height": 876954,
"rune_amount": "2500000",
"satoshis": "546",
"txid": "67715c2b42eaa053fc174c68ca4f393446986567ed0509fa78eb3aa9d0b8db0b",
"vout": 6
},
{
"confirmations": 13634,
"height": 876954,
"rune_amount": "2500000",
"satoshis": "546",
"txid": "67715c2b42eaa053fc174c68ca4f393446986567ed0509fa78eb3aa9d0b8db0b",
"vout": 7
},
{
"confirmations": 13634,
"height": 876954,
"rune_amount": "2500000",
"satoshis": "546",
"txid": "67715c2b42eaa053fc174c68ca4f393446986567ed0509fa78eb3aa9d0b8db0b",
"vout": 8
},
{
"confirmations": 13634,
"height": 876954,
"rune_amount": "2500000",
"satoshis": "546",
"txid": "67715c2b42eaa053fc174c68ca4f393446986567ed0509fa78eb3aa9d0b8db0b",
"vout": 9
}
],
"last_updated": {
"block_hash": "0000000000000000000210d44d102ab68eaa052ce03fbe216d313294725bdfaf",
"block_height": 890587
},
"next_cursor": null
}Addresses
(deprecated) Rune UTxOs by Address and Rune
deprecated
Return all UTxOs controlled by the specified address or script pubkey which contain runes, with the option to filter by a specific rune kind.
GET
/
addresses
/
{address}
/
runes
/
{rune}
(deprecated) Rune UTxOs by Address and Rune
curl --request GET \
--url https://xbt-mainnet.gomaestro-api.org/v0/addresses/{address}/runes/{rune} \
--header 'api-key: <api-key>'import requests
url = "https://xbt-mainnet.gomaestro-api.org/v0/addresses/{address}/runes/{rune}"
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/addresses/{address}/runes/{rune}', 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/addresses/{address}/runes/{rune}",
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/addresses/{address}/runes/{rune}"
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/addresses/{address}/runes/{rune}")
.header("api-key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://xbt-mainnet.gomaestro-api.org/v0/addresses/{address}/runes/{rune}")
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": [
{
"confirmations": 13634,
"height": 876954,
"rune_amount": "2500000",
"satoshis": "546",
"txid": "67715c2b42eaa053fc174c68ca4f393446986567ed0509fa78eb3aa9d0b8db0b",
"vout": 3
},
{
"confirmations": 13634,
"height": 876954,
"rune_amount": "2500000",
"satoshis": "546",
"txid": "67715c2b42eaa053fc174c68ca4f393446986567ed0509fa78eb3aa9d0b8db0b",
"vout": 4
},
{
"confirmations": 13634,
"height": 876954,
"rune_amount": "2500000",
"satoshis": "546",
"txid": "67715c2b42eaa053fc174c68ca4f393446986567ed0509fa78eb3aa9d0b8db0b",
"vout": 5
},
{
"confirmations": 13634,
"height": 876954,
"rune_amount": "2500000",
"satoshis": "546",
"txid": "67715c2b42eaa053fc174c68ca4f393446986567ed0509fa78eb3aa9d0b8db0b",
"vout": 6
},
{
"confirmations": 13634,
"height": 876954,
"rune_amount": "2500000",
"satoshis": "546",
"txid": "67715c2b42eaa053fc174c68ca4f393446986567ed0509fa78eb3aa9d0b8db0b",
"vout": 7
},
{
"confirmations": 13634,
"height": 876954,
"rune_amount": "2500000",
"satoshis": "546",
"txid": "67715c2b42eaa053fc174c68ca4f393446986567ed0509fa78eb3aa9d0b8db0b",
"vout": 8
},
{
"confirmations": 13634,
"height": 876954,
"rune_amount": "2500000",
"satoshis": "546",
"txid": "67715c2b42eaa053fc174c68ca4f393446986567ed0509fa78eb3aa9d0b8db0b",
"vout": 9
}
],
"last_updated": {
"block_hash": "0000000000000000000210d44d102ab68eaa052ce03fbe216d313294725bdfaf",
"block_height": 890587
},
"next_cursor": null
}Authorizations
Project API Key
Path Parameters
Bitcoin address or hex encoded script pubkey
Rune, specified either by the Rune ID (etching block number and transaction index) or name (spaced or un-spaced)
Query Parameters
The max number of results per page
Required range:
x >= 0The order in which the results are sorted (by height at which UTxO was produced)
Available options:
asc, desc Return only UTxOs created on or after a specific height
Required range:
x >= 0Return only UTxOs created on or before a specific height
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

