Skip to main content
GET
/
addresses
/
{address}
/
runes
/
activity
Rune Activity by Address
curl --request GET \
  --url https://xbt-mainnet.gomaestro-api.org/v0/addresses/{address}/runes/activity \
  --header 'api-key: <api-key>'
import requests

url = "https://xbt-mainnet.gomaestro-api.org/v0/addresses/{address}/runes/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/addresses/{address}/runes/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/addresses/{address}/runes/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/addresses/{address}/runes/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/addresses/{address}/runes/activity")
.header("api-key", "<api-key>")
.asString();
require 'uri'
require 'net/http'

url = URI("https://xbt-mainnet.gomaestro-api.org/v0/addresses/{address}/runes/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": [
    {
      "confirmations": 21684,
      "decreased_balances": [],
      "etched_rune": null,
      "height": 875944,
      "increased_balances": [
        {
          "amount": "1453573",
          "rune_id": "840000:28"
        }
      ],
      "minted": null,
      "self_transfers": [],
      "tx_hash": "6a4237d43719e0766a8333eb8531b3bae9b20e7484e6962a731773b883315da1"
    },
    {
      "confirmations": 21558,
      "decreased_balances": [],
      "etched_rune": null,
      "height": 876070,
      "increased_balances": [],
      "minted": null,
      "self_transfers": [
        {
          "amount": "1453573",
          "rune_id": "840000:28"
        }
      ],
      "tx_hash": "1c2c45980432108fda7b4eb2a390bd1cae7aac62b9309f5ef3911960e50b8501"
    },
    {
      "confirmations": 21525,
      "decreased_balances": [
        {
          "amount": "207654",
          "rune_id": "840000:28"
        }
      ],
      "etched_rune": null,
      "height": 876103,
      "increased_balances": [],
      "minted": null,
      "self_transfers": [],
      "tx_hash": "cbcbac069d142c303b062dda88635e4939d69120f66d89a9da17ebd0ff806a1f"
    }
  ],
  "last_updated": {
    "block_hash": "0000000000000000000119bd8dffd7d8285a69744011aa98f0d9091b0555ca46",
    "block_height": 897627
  },
  "next_cursor": null
}

Authorizations

api-key
string
header
required

Project API Key

Path Parameters

address
string
required

Bitcoin address or hex encoded script pubkey

Query Parameters

order
enum<string> | null
default:asc

The order in which the results are sorted. Supported values: asc, desc

Available options:
asc,
desc
count
integer | null
default:100

The max number of results per page

Required range: x >= 0
from
integer<int64> | null

Return only transactions created on or after a specific height

Required range: x >= 0
to
integer<int64> | null

Return only transactions created on or before a specific height

Required range: x >= 0
cursor
string | null

Pagination cursor string, use the cursor included in a page of results to fetch the next page

rune
string | null

Return only transactions containing a specific rune, specified either by the rune ID (etching block number and transaction index) or name (spaced or un-spaced). In presence of activity_kind, it relates to this specific rune. In presence of exclude_self_transfers, it is this specific rune that the queried address should see increase or decrease in balance in the tx, not just being self-transferred.

activity_kind
enum<string> | null

Filter txs by presence specific activity kind. Supported values: increased, decreased, self_transfer. In presence of rune filter, the activity kind relates to that specific rune. In presence of exclude_self_transfers, this activity kind cannot be self_transfer.

Available options:
self_transfer,
increase,
decrease
exclude_self_transfers
boolean | null

Exclude txs only containing runes self-transfers. In presence of activity_kind, it cannot be self_transfer. In presence of rune filter, that specific rune should be sent or received, not self-transferred.

Response

Requested data

data
object[]
required
last_updated
object
required
next_cursor
string | null