Skip to main content
POST
getAssets
Pass ids as a named parameter. The result is an array in the same order as ids.
  • Accepted method names: getAssets, get_assets, getAssetBatch and get_asset_batch.
  • At most 1,000 ids per call. More returns -32602 with Batch Size Error.
  • An id that is not an asset, or an NFT whose supply is zero, comes back as null in its position. The call itself still succeeds.
  • Display options go in options or displayOptions. Unlike getAsset, showUnverifiedCollections is honored here.
  • The response is a bare array, so it has no last_indexed_slot.
  • Cost: 1 credit per call, whatever the number of ids. Counts against your plan’s DAS RPS limit.
See the DAS API overview for display options and the asset fields. Request setup and error handling: RPC quickstart. Billing: credits and limits.

Authorizations

api_key
string
query
required

Body

application/json
jsonrpc
enum<string>
required

The JSON-RPC protocol version.

Available options:
2.0
Example:

"2.0"

id
string
required

A unique identifier for the request.

Example:

"1"

method
enum<string>
required

The name of the RPC method to invoke.

Available options:
getAssets
Example:

"getAssets"

params
object
required

Named parameters.

Response

Assets in request order.

jsonrpc
enum<string>

The JSON-RPC protocol version.

Available options:
2.0
Example:

"2.0"

id
string

Identifier matching the request.

Example:

"1"

result
(object | null)[]

One entry per requested id, in request order. Null when the id is not an asset or its supply is zero.

A digital asset in the Metaplex DAS shape. Fields marked optional appear only for the asset types that carry them.