Runes by Address
curl --request GET \
--url https://xbt-mainnet.gomaestro-api.org/v0/addresses/{address}/runes \
--header 'api-key: <api-key>'import requests
url = "https://xbt-mainnet.gomaestro-api.org/v0/addresses/{address}/runes"
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', 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",
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"
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")
.header("api-key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://xbt-mainnet.gomaestro-api.org/v0/addresses/{address}/runes")
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": {
"840000:1": {
"balance": "1111.00",
"info": {
"divisibility": 2,
"etching_cenotaph": false,
"etching_height": 840000,
"etching_tx": "2bb85f4b004be6da54f766c17c1e855187327112c231ef2ff35ebad0ea67c69e",
"id": "840000:1",
"name": "ZZZZZFEHUZZZZZ",
"premine": "110000000.00",
"spaced_name": "Z•Z•Z•Z•Z•FEHU•Z•Z•Z•Z•Z",
"symbol": "ᚠ",
"terms": {
"amount_per_mint": "1.00",
"end_height": null,
"end_offset": null,
"mint_txs_cap": "1111111",
"start_height": null,
"start_offset": null
}
}
}
},
"last_updated": {
"block_hash": "0000000088bee3b517745636443c8f11aff45209449300a5d8461c336e467925",
"block_height": 2815520
}
}Addresses
Runes by Address
Get all Bitcoin Runes tokens held by a specific address, including balances and token metadata.
GET
/
addresses
/
{address}
/
runes
Runes by Address
curl --request GET \
--url https://xbt-mainnet.gomaestro-api.org/v0/addresses/{address}/runes \
--header 'api-key: <api-key>'import requests
url = "https://xbt-mainnet.gomaestro-api.org/v0/addresses/{address}/runes"
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', 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",
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"
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")
.header("api-key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://xbt-mainnet.gomaestro-api.org/v0/addresses/{address}/runes")
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": {
"840000:1": {
"balance": "1111.00",
"info": {
"divisibility": 2,
"etching_cenotaph": false,
"etching_height": 840000,
"etching_tx": "2bb85f4b004be6da54f766c17c1e855187327112c231ef2ff35ebad0ea67c69e",
"id": "840000:1",
"name": "ZZZZZFEHUZZZZZ",
"premine": "110000000.00",
"spaced_name": "Z•Z•Z•Z•Z•FEHU•Z•Z•Z•Z•Z",
"symbol": "ᚠ",
"terms": {
"amount_per_mint": "1.00",
"end_height": null,
"end_offset": null,
"mint_txs_cap": "1111111",
"start_height": null,
"start_offset": null
}
}
}
},
"last_updated": {
"block_hash": "0000000088bee3b517745636443c8f11aff45209449300a5d8461c336e467925",
"block_height": 2815520
}
}Authorizations
Project API Key
Path Parameters
Bitcoin address or hex encoded script pubkey
Query Parameters
Include full rune information for each rune (default: false)
Was this page helpful?
⌘I

