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://<your-endpoint>/ \
-X POST -H 'Content-Type: application/json' \
-d '{"jsonrpc":"2.0","id":1,"method":"searchAssets","params":[]}'const res = await fetch("https://<your-endpoint>/", {
method: "POST",
headers: { "Content-Type": "application/json" },
body: JSON.stringify({
"id": 1,
"method": "searchAssets",
"params": [],
"jsonrpc": "2.0"
}),
});
const data = await res.json();import requests
resp = requests.post("https://<your-endpoint>/", 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.