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

url = "https://xdg-mainnet.gomaestro-api.org/v0/addresses/{address}/inscriptions"

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://xdg-mainnet.gomaestro-api.org/v0/addresses/{address}/inscriptions', 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://xdg-mainnet.gomaestro-api.org/v0/addresses/{address}/inscriptions",
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://xdg-mainnet.gomaestro-api.org/v0/addresses/{address}/inscriptions"

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

url = URI("https://xdg-mainnet.gomaestro-api.org/v0/addresses/{address}/inscriptions")

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": [
    {
      "inscription_id": "f02da3d6bebab13d5d604be1ed73d9a9c677dadf6ca71bc5fff7d99cdead11b0i0",
      "satoshis": 546,
      "utxo_block_height": 843010,
      "utxo_confirmations": 23701,
      "utxo_sat_offset": 0,
      "utxo_txid": "e2283e7c915ef074806136e0002cbc69f5fdd2e9f70f14b0eab48cdcbe867cc1",
      "utxo_vout": 0
    },
    {
      "inscription_id": "7d0a2dd897222913d58fc957b0429526117a0a61c964642fe93b077f328ccec1i0",
      "satoshis": 546,
      "utxo_block_height": 850976,
      "utxo_confirmations": 15735,
      "utxo_sat_offset": 0,
      "utxo_txid": "3c7c0f5c6a0d3f0ab5c8bcef0adf3be56f5aeed8b2dd1504b7a950fc4fee1f46",
      "utxo_vout": 1
    },
    {
      "inscription_id": "360550a31c9510ed5052c4351619bf68d5ae3f218bf2e9c1092090dbcf86acb3i0",
      "satoshis": 546,
      "utxo_block_height": 850976,
      "utxo_confirmations": 15735,
      "utxo_sat_offset": 0,
      "utxo_txid": "3c7c0f5c6a0d3f0ab5c8bcef0adf3be56f5aeed8b2dd1504b7a950fc4fee1f46",
      "utxo_vout": 1
    }
  ],
  "last_updated": {
    "block_hash": "00000000000000000000ec10254178fe52253f40c1fad252e892d9aa22ee8fa7",
    "block_height": 866710
  },
  "next_cursor": null
}

Authorizations

api-key
string
header
required

Project API Key

Path Parameters

address
string
required

Dogecoin address or hex encoded script pubkey

Query Parameters

count
integer | null
default:100

The max number of results per page

Required range: x >= 0
cursor
string | null

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

Response

Requested data

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