<aside> ℹ️

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]

</aside>

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

| Method | Function | CU cost | Throughput CUs

(how many CUs this will count for towards your CUs per second capacity) | | --- | --- | --- | --- | | getAsset | Returns the information of a compressed/standard asset including metadata and owner. | 80 | 200 | | getAssets | Returns the information of multiple compressed/standard assets including their metadata and owners. | 480 | 200 | | getAssetProof | Returns the merkle tree proof information for a compressed asset. | 160 | 200 | | getAssetProofs | Returns 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. | 480 | 200 | | getAssetsByAuthority | Returns the list of assets given an authority address. | 480 | 200 | | getAssetsByOwner | Return the list of assets given an owner address. | 480 | 200 | | getAssetsByGroup | Return the list of assets given a group (key, value) pair. For example this can be used to get all assets in a collection. | 480 | 200 | | getAssetsByCreator | Return the list of assets given a creator address. | 480 | 200 | | searchAssets | Return 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. | 480 | 200 | | getAssetSignatures | Returns the transaction signatures associated with a compressed asset. You can identify the asset either by its ID or by its tree and leaf index. | 160 | 200 | | getNftEditions | Get information about all the edition NFTs for a specific master NFT. | 160 | 200 | | getTokenAccounts | Get information about all token accounts for a specific mint or a specific owner. | 160 | 200 |

Docs & Sandbox

💻 Use the link below to view request/response parameters for each method and to test requests

OpenRPC Playground

How to view parameters

Explore the dropdowns for each method in the right pane

image.png

image.png

How to test requests

  1. Click the Inspector button

    image.png

  2. Enter a valid Alchemy endpoint in the input box

    image.png

  3. Input the request body in the left pane

    image.png

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

    image.png