Skip to main content
GET
/
assets
/
dunes
List Dunes
curl --request GET \
  --url https://xdg-mainnet.gomaestro-api.org/v0/assets/dunes \
  --header 'api-key: <api-key>'
import requests

url = "https://xdg-mainnet.gomaestro-api.org/v0/assets/dunes"

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/assets/dunes', 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/assets/dunes",
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/assets/dunes"

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/assets/dunes")
.header("api-key", "<api-key>")
.asString();
require 'uri'
require 'net/http'

url = URI("https://xdg-mainnet.gomaestro-api.org/v0/assets/dunes")

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": [
    {
      "id": "5228806:44",
      "spaced_name": "JUST•SEND•ITTTT"
    },
    {
      "id": "5228811:6",
      "spaced_name": "MOMMAWEMADEIT"
    },
    {
      "id": "5228827:57",
      "spaced_name": "BOOK•ON•DUNESSS"
    },
    {
      "id": "5228850:19",
      "spaced_name": "TODAY•TOMORROW"
    },
    {
      "id": "5228851:15",
      "spaced_name": "TOMORROW•TODAY"
    },
    {
      "id": "5229366:35",
      "spaced_name": "PEPE•MEME•KING"
    },
    {
      "id": "5244144:12",
      "spaced_name": "DOGECOIN•FIWB"
    }
  ],
  "last_updated": {
    "block_hash": "85bd0d5594a7cd024ee6b3f345ea2e8ca0725a96fe751f5487202064dbb64b1c",
    "block_height": 5251959
  },
  "next_cursor": null
}

Authorizations

api-key
string
header
required

Project API Key

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