โ˜€
Solana API
Moralis Solana API is a very fast and powerful API allowing you to query data from the Solana blockchain. Read more in order to understand how it works.

What is Solana API?

Solana API is a very powerful REST API for developers to fetch various kinds of data from the Solana Blockchain, which includes fetching user token balances, fetching NFT metadata and many more!
Since Solana API is a REST API, it can be called in any programming languages by default. This makes it easy to for developers to fetch Solana data throughout multiple apps and platforms.
For ease of use, the Solana API can be called using the Moralis SDK with just a few lines of code. You can find all of these powerful functions in the Moralis.SolanaAPI namespace in the Moralis SDK.
To access Web3API, make sure to initialise the SDK by following the Connect with SDK guide. Moralis.start() will automatically load the Moralis.SolanaAPI module.
The namespace is divided into two categories, depending on what is the main parameter for obtaining information:
It's also possible to access all of this functionality through REST API from your own backend. Information about how to fetch data using REST API is described in the REST API topic. It has similar functionality as SDK.
Copy link