Skip to main content

TypeScript SDK

For the best developer experience, we recommend using the official TypeScript SDK:
npm install @mobula_labs/sdk
import { MobulaClient } from '@mobula_labs/sdk';

const client = new MobulaClient({ apiKey: 'your-api-key' });
const data = await client.fetchMarketData({ asset: 'bitcoin' });

SDK Documentation

Full type safety, all REST methods, and utility functions included

API Endpoints

Mobula provides two API endpoints:

Demo API

demo-api.mobula.io
  • No signup required
  • Rate limited (for testing only)
  • Increased latency
  • Perfect for exploring the API

Production API

api.mobula.io
  • Requires free API key
  • Higher rate limits
  • Optimized performance
  • Production-ready
Getting Started: You can test all endpoints using demo-api.mobula.io without any signup. For production use, generate a free API key to use api.mobula.io.

Resources

You can find our OpenAPI spec here.