Introduction
Generate API key
To generate an API key, click on the Create API Key button on your Dashboard and assign a name to your key. This will enable you to enjoy enhanced rate limits.
1
First Step
Sign-in to the Dashboard
2
Second Step
Create your API key
3
Third Step
To make your first call add your API key in the header
parameter like this Authorization: YOUR_API_KEY
curl --request GET \
--url 'https://api.mobula.io/api/1/wallet/nfts?wallet=0xCe90a7949bb78892F159F428D0dC23a8E3584d75&force=true' \
--header 'Authorization: YOUR_API_KEY'
4
Fourth Step
You can also use the SDK, learn more.
import { Mobula } from "mobula-sdk";
const mobula = new Mobula("YOUR_API_KEY_HERE");
mobula
.fetchWalletNFTs({
wallet: "0xCe90a7949bb78892F159F428D0dC23a8E3584d75",
})
.then((response) => {
console.log(response);
})
.catch((error) => {
console.error("Error:", error);
});