curl --request GET \
--url https://xbt-mainnet.gomaestro-api.org/v0/addresses/{address}/runes/utxos \
--header 'api-key: <api-key>'import requests
url = "https://xbt-mainnet.gomaestro-api.org/v0/addresses/{address}/runes/utxos"
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/utxos', 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/utxos",
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/utxos"
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/utxos")
.header("api-key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://xbt-mainnet.gomaestro-api.org/v0/addresses/{address}/runes/utxos")
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": 13636,
"height": 876954,
"runes": [
{
"amount": "2500000",
"rune_id": "876947:7"
}
],
"satoshis": "546",
"txid": "67715c2b42eaa053fc174c68ca4f393446986567ed0509fa78eb3aa9d0b8db0b",
"vout": 3
},
{
"confirmations": 13636,
"height": 876954,
"runes": [
{
"amount": "2500000",
"rune_id": "876947:7"
}
],
"satoshis": "546",
"txid": "67715c2b42eaa053fc174c68ca4f393446986567ed0509fa78eb3aa9d0b8db0b",
"vout": 4
},
{
"confirmations": 13636,
"height": 876954,
"runes": [
{
"amount": "2500000",
"rune_id": "876947:7"
}
],
"satoshis": "546",
"txid": "67715c2b42eaa053fc174c68ca4f393446986567ed0509fa78eb3aa9d0b8db0b",
"vout": 5
},
{
"confirmations": 13636,
"height": 876954,
"runes": [
{
"amount": "2500000",
"rune_id": "876947:7"
}
],
"satoshis": "546",
"txid": "67715c2b42eaa053fc174c68ca4f393446986567ed0509fa78eb3aa9d0b8db0b",
"vout": 6
},
{
"confirmations": 13636,
"height": 876954,
"runes": [
{
"amount": "2500000",
"rune_id": "876947:7"
}
],
"satoshis": "546",
"txid": "67715c2b42eaa053fc174c68ca4f393446986567ed0509fa78eb3aa9d0b8db0b",
"vout": 7
},
{
"confirmations": 13636,
"height": 876954,
"runes": [
{
"amount": "2500000",
"rune_id": "876947:7"
}
],
"satoshis": "546",
"txid": "67715c2b42eaa053fc174c68ca4f393446986567ed0509fa78eb3aa9d0b8db0b",
"vout": 8
},
{
"confirmations": 13636,
"height": 876954,
"runes": [
{
"amount": "2500000",
"rune_id": "876947:7"
}
],
"satoshis": "546",
"txid": "67715c2b42eaa053fc174c68ca4f393446986567ed0509fa78eb3aa9d0b8db0b",
"vout": 9
}
],
"last_updated": {
"block_hash": "00000000000000000000e0b35ac5973cb61e9994c78b83d20f75f4b8f8d54fff",
"block_height": 890589
},
"next_cursor": null
}Rune UTxOs by Address
Get unspent transaction outputs containing Bitcoin Runes tokens for a specific address.
curl --request GET \
--url https://xbt-mainnet.gomaestro-api.org/v0/addresses/{address}/runes/utxos \
--header 'api-key: <api-key>'import requests
url = "https://xbt-mainnet.gomaestro-api.org/v0/addresses/{address}/runes/utxos"
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/utxos', 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/utxos",
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/utxos"
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/utxos")
.header("api-key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://xbt-mainnet.gomaestro-api.org/v0/addresses/{address}/runes/utxos")
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": 13636,
"height": 876954,
"runes": [
{
"amount": "2500000",
"rune_id": "876947:7"
}
],
"satoshis": "546",
"txid": "67715c2b42eaa053fc174c68ca4f393446986567ed0509fa78eb3aa9d0b8db0b",
"vout": 3
},
{
"confirmations": 13636,
"height": 876954,
"runes": [
{
"amount": "2500000",
"rune_id": "876947:7"
}
],
"satoshis": "546",
"txid": "67715c2b42eaa053fc174c68ca4f393446986567ed0509fa78eb3aa9d0b8db0b",
"vout": 4
},
{
"confirmations": 13636,
"height": 876954,
"runes": [
{
"amount": "2500000",
"rune_id": "876947:7"
}
],
"satoshis": "546",
"txid": "67715c2b42eaa053fc174c68ca4f393446986567ed0509fa78eb3aa9d0b8db0b",
"vout": 5
},
{
"confirmations": 13636,
"height": 876954,
"runes": [
{
"amount": "2500000",
"rune_id": "876947:7"
}
],
"satoshis": "546",
"txid": "67715c2b42eaa053fc174c68ca4f393446986567ed0509fa78eb3aa9d0b8db0b",
"vout": 6
},
{
"confirmations": 13636,
"height": 876954,
"runes": [
{
"amount": "2500000",
"rune_id": "876947:7"
}
],
"satoshis": "546",
"txid": "67715c2b42eaa053fc174c68ca4f393446986567ed0509fa78eb3aa9d0b8db0b",
"vout": 7
},
{
"confirmations": 13636,
"height": 876954,
"runes": [
{
"amount": "2500000",
"rune_id": "876947:7"
}
],
"satoshis": "546",
"txid": "67715c2b42eaa053fc174c68ca4f393446986567ed0509fa78eb3aa9d0b8db0b",
"vout": 8
},
{
"confirmations": 13636,
"height": 876954,
"runes": [
{
"amount": "2500000",
"rune_id": "876947:7"
}
],
"satoshis": "546",
"txid": "67715c2b42eaa053fc174c68ca4f393446986567ed0509fa78eb3aa9d0b8db0b",
"vout": 9
}
],
"last_updated": {
"block_hash": "00000000000000000000e0b35ac5973cb61e9994c78b83d20f75f4b8f8d54fff",
"block_height": 890589
},
"next_cursor": null
}Authorizations
Project API Key
Path Parameters
Bitcoin address or hex encoded script pubkey
Query Parameters
Return only UTxOs containing a specific Rune, specified either by the Rune ID (etching block number and transaction index) or name (spaced or un-spaced)
The property by which response items should be sorted. Supported values: height (height of block which produced the UTxO - default), amount (amount of runes in UTxO)
height, amount The order in which the results are sorted. Supported values: asc, desc
asc, desc The max number of results per page
x >= 0Pagination cursor string, use the cursor included in a page of results to fetch the next page.
Return only UTxOs created on or after a specific height
x >= 0Return only UTxOs created on or before a specific height
x >= 0Was this page helpful?

