Dune UTxOs by Address and Dune
curl --request GET \
--url https://xdg-mainnet.gomaestro-api.org/v0/addresses/{address}/dunes/{dune} \
--header 'api-key: <api-key>'import requests
url = "https://xdg-mainnet.gomaestro-api.org/v0/addresses/{address}/dunes/{dune}"
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}/dunes/{dune}', 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}/dunes/{dune}",
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}/dunes/{dune}"
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}/dunes/{dune}")
.header("api-key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://xdg-mainnet.gomaestro-api.org/v0/addresses/{address}/dunes/{dune}")
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": 3597,
"dune_amount": "0.00001000",
"height": 5280972,
"satoshis": "100000",
"txid": "cd990aa533ffb733934344fafbc07350ba5945a5a50fca3adb9845573a99e545",
"vout": 1
}
],
"last_updated": {
"block_hash": "e45be2dac59c8b6a2090a6cee4c5c035c6d285b9ca4690fe7d454d9d6ad67a42",
"block_height": 5284569
},
"next_cursor": null
}Addresses
Dune UTxOs by Address and Dune
Get unspent transaction outputs containing a specific Dogecoin Dune token for a particular address.
GET
/
addresses
/
{address}
/
dunes
/
{dune}
Dune UTxOs by Address and Dune
curl --request GET \
--url https://xdg-mainnet.gomaestro-api.org/v0/addresses/{address}/dunes/{dune} \
--header 'api-key: <api-key>'import requests
url = "https://xdg-mainnet.gomaestro-api.org/v0/addresses/{address}/dunes/{dune}"
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}/dunes/{dune}', 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}/dunes/{dune}",
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}/dunes/{dune}"
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}/dunes/{dune}")
.header("api-key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://xdg-mainnet.gomaestro-api.org/v0/addresses/{address}/dunes/{dune}")
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": 3597,
"dune_amount": "0.00001000",
"height": 5280972,
"satoshis": "100000",
"txid": "cd990aa533ffb733934344fafbc07350ba5945a5a50fca3adb9845573a99e545",
"vout": 1
}
],
"last_updated": {
"block_hash": "e45be2dac59c8b6a2090a6cee4c5c035c6d285b9ca4690fe7d454d9d6ad67a42",
"block_height": 5284569
},
"next_cursor": null
}Authorizations
Project API Key
Path Parameters
Dogecoin address or hex encoded script pubkey
Dune, specified either by the Dune 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?

