Alchemy DAS APIs for Solana NFTs and Fungible Tokens (Beta)

Alchemy DAS APIs for Solana NFTs and Fungible Tokens (Beta)

ℹ️ This API is in Beta and CU values may change in the future. Any feedback on performance, data coverage, or pricing is welcome!

❓ Questions? Contact us in your dedicated Alchemy channel or shoot us an email at [email protected]

Background

Alchemy is following the Metaplex Digital Asset Standard (DAS) — a consistent interface across RPC providers for interacting with digital assets on Solana.

These endpoints covers all Solana assets that follow the Metaplex spec: both fungible tokens and NFTs (core and compressed).

This API offers Solana-specific alternatives to Alchemy’s EVM endpoints such as getNftsByOwner, getNftMetadata, getTokenBalances, etc.

For more information about DAS, visit the Metaplex documentation: https://developers.metaplex.com/das-api

Methods

MethodFunctionCU costThroughput CUs (how many CUs this will count for towards your CUs per second capacity)
getAssetReturns the information of a compressed/standard asset including metadata and owner.80200
getAssetsReturns the information of multiple compressed/standard assets including their metadata and owners.480200
getAssetProofReturns the merkle tree proof information for a compressed asset.160200
getAssetProofsReturns the merkle tree proof information for multiple compressed assets. This method is used to verify the authenticity of compressed NFTs by retrieving their merkle proofs.480200
getAssetsByAuthorityReturns the list of assets given an authority address.480200
getAssetsByOwnerReturns the list of assets given an owner address.480200
getAssetsByGroupReturns the list of assets given a group (key, value) pair. For example, this can be used to get all assets in a collection.480200
getAssetsByCreatorReturns the list of assets given a creator address.480200
searchAssetsReturns the list of assets given any arbitrary search criteria (owner, token type, etc.). This method is optimal for most custom use cases, such as token gating.480200
getAssetSignaturesReturns the transaction signatures associated with a compressed asset. You can identify the asset either by its ID or by its tree and leaf index.160200
getNftEditionsGet information about all the edition NFTs for a specific master NFT.160200
getTokenAccountsGet information about all token accounts for a specific mint or a specific owner.160200

Docs & Sandbox

💻 Use the following link to view request/response parameters for each method and to test requests: https://playground.open-rpc.org/?url=https://raw.githubusercontent.com/metaplex-foundation/digital-asset-standard-api/main/specification/metaplex-das-api.json

How to view parameters

Explore the dropdowns for each method in the right pane:

How to test requests

  1. Click the Inspector button

  1. Enter a valid Alchemy endpoint in the input box

  1. Input the request body in the left pane

  1. Press the run button to view the request and response on the right pane