searchAssets
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
| Field | Type |
|---|---|
| result | object |
Examples
curl https://triport.io/sol \
-X POST -H 'Content-Type: application/json' \
-H 'Authorization: Bearer <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", Authorization: "Bearer <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={"Authorization": "Bearer <api-key>"},
json={"id":1,"method":"searchAssets","params":[],"jsonrpc":"2.0"},
)
print(resp.json())Usage
- Transport: HTTP (JSON-RPC).
- Networks: mainnet.
- Credit cost: 10 per call.
FAQ
- What does searchAssets do?
- Full-text and filter search across the Solana Digital Asset Standard (DAS) asset index.
- How many credits does searchAssets cost?
- searchAssets costs 10 credit(s) per call on Triport by default.
- Is searchAssets available over WebSocket?
- searchAssets is an HTTP JSON-RPC method.