searchAssets

Solana / https://triport.io/sol

Minimum tier: Basic

Solana method guide

Last updated:

searchAssets queries Triport's Digital Asset Standard (DAS) index, returning a paginated list of assets that match a combination of filters — owner, creator, authority, collection grouping, compression state, royalty configuration, interface type, and more. Unlike point lookups such as getAsset (single asset by id) or getAssetsByOwner (assets for one wallet), searchAssets lets you compose several criteria in one request, making it the right tool for building marketplace listings, portfolio views, and collection explorers.

Use it when you need to filter the asset universe by attributes rather than fetch a known id. Results are returned in pages; iterate with the page parameter (or cursor parameters) until fewer than limit items are returned.

Because this method requires the basic tier or higher, free-tier API keys will receive an authorization error. The method shares the sol_das scope with the other Digital Asset Standard methods.

Parameters

This method takes no parameters.

Returns

searchAssets return value
FieldType
resultobject

Examples

curl https://triport.io/sol \
  -X POST -H 'Content-Type: application/json' \
  -H 'x-token: <api-key>' \
  -d '{"id":1,"method":"searchAssets","params":[],"jsonrpc":"2.0"}'
const res = await fetch("https://triport.io/sol", {
  method: "POST",
  headers: { "Content-Type": "application/json", "x-token": "<api-key>" },
  body: JSON.stringify({
  "id": 1,
  "method": "searchAssets",
  "params": [],
  "jsonrpc": "2.0"
}),
});
const data = await res.json();
import requests
resp = requests.post(
    "https://triport.io/sol",
    headers={"x-token": "<api-key>"},
    json={"id":1,"method":"searchAssets","params":[],"jsonrpc":"2.0"},
)
print(resp.json())

Usage

  1. Transport: HTTP (JSON-RPC).
  2. Chain: Solana.
  3. Clusters: mainnet.
  4. Billing: included in the flat monthly plan, no per-call credits.