DAS Methods

Get Assets by Group

Return the list of assets given a group (key, value) pair. For example this can be used to get all assets in a collection.

Body Params
stringrequired
Grouping Key
stringrequired
Value of the group. E.g. Public key of the collection
object
Sorting criteria
option
option
number
Number of assets to return
number
The index of the "page" to retrieve.
string
Retrieve assets before the specified ID
string
Retrieve assets after the specified ID
Language
Javascript Request Example
const url = "https://aura-mainnet.metaplex.com";

fetch(url, {
    method: "POST",
    headers: {"Content-Type": "application/json"},
    body: JSON.stringify({
      "jsonrpc": "2.0",
      "id": 1,
      "method": "getAssetsByGroup",
      "params": {}
    })
})
.then(response => response.json())
.then(data => console.log(data))
.catch(error => console.error("Error:", error));
Previous
Get Assets By Creator