Getting Started with Mobula API SDK
Mobula empowers builders with top-tier APIs for market data, wallet data & DeFi quotes. Industry-leading coverage & granularity, SQL queries, and high flexibility.
📑 Table of Contents
🌟 Introduction
With the Mobula API SDK, you can seamlessly integrate real-time crypto metrics into your projects. Whether you're building a new crypto dashboard or just exploring the world of cryptocurrencies, Mobula API SDK has got you covered.
🛠 Prerequisites
Before starting with the Mobula API SDK, ensure you have the following:
- Node.js installed on your machine. Download and install Node.js from here.
🔑 Generate API Key
For an enhanced experience, acquire an API key. Generate your key and select a plan fitting your project here.
📦 Installation
- Initialize a new npm project in your directory
npm init -y
- Install mobula-api-sdk
npm install mobula-api-sdk
- Initiate the SDK as shown below
import { Mobula } from 'mobula-api-sdk';
const mobula = new Mobula('YOUR_API_KEY_HERE');
mobula
.fetchWalletHistoryBalance({
wallet: '0x77A89C51f106D6cD547542a3A83FE73cB4459135',
})
.then((response) => {
console.log(response);
})
.catch((error) => {
console.error('Error:', error);
});
Replace YOUR_API_KEY_HERE
with your API key.
Response
{"data":{"wallet":["0x77a89c51f106d6cd547542a3a83fe73cb4459135"],"balance_usd":186.11174894116627,"balance_history": [...]}}
📚 Documentation
🔄 Upgrade
Upgrade plans:
Plan | Credits/month | Support | Price/month | Link |
---|---|---|---|---|
Free | 300,000 | 24/7 support on Telegram, Discord, and Slack | $0 | Link |
Premium | 1,500,000 | 24/7 support on Telegram, Discord, and Slack | $250 | Upgrade now |
Advanced | 5,000,000 | 24/7 support on Telegram, Discord, and Slack | $750 | Upgrade now |
Enterprise | Unlimited | 24/7 support, custom endpoints, 99.9% SLA | from $750 | Contact us |
📞 Support
Need assistance? Contact our support bot on Telegram: Bot Support
Crafted with 💙 by Mobula for builders like you