Skip to main content
Welcome to the Mobula Cookbooks! These guides provide production-ready code extracted from our open-source projects, complete with live demos and full source code.
Open Source Terminal: All cookbook examples are extracted from the Mobula Trader Terminal (MTT) - a fully open-source trading terminal built with Next.js 16.Live Demo: See everything in action at mtt.gg

What Makes Cookbooks Different?

Regular GuidesCookbooks
Conceptual explanationsProduction-ready code
Minimal examplesFull implementations
API-focusedFrontend + Backend
Standalone snippetsWorking applications

Available Cookbooks

Build Axiom Pulse Feature

Build a real-time token discovery feed with WebSocket streaming, Zustand state management, and React components.Features: Real-time updates, filtering, search, three-column layout

Real-Time Holders Tab

Build a live token holders table with instant balance updates, PnL tracking, and LP reserve sync — like Axiom’s holders view.Features: Multi-Events Stream, post-balance tracking, trade dedup, LP sync

TradingView Charts Integration

Integrate TradingView charts with real-time OHLCV data streaming. Supports both token and pair modes.Features: Sub-second candles, WebSocket streaming, theme support

Axiom Data Access

Access Axiom-style data programmatically: trending tokens, pulse feeds, wallet tracking, and DEX analytics.Features: Pulse V2, Multi-Events Stream, holder analytics

Tech Stack

All cookbooks use the same modern stack:
TechnologyPurpose
Next.js 15React framework with App Router
@mobula/sdkMobula API client with WebSocket support
ZustandLightweight state management
TailwindCSSUtility-first styling
TypeScriptType safety

Quick Start

Clone the MTT repository and start exploring:
# Clone the MTT repository
git clone https://github.com/MobulaFi/MTT.git
cd MTT

# Install dependencies
bun install

# Set up environment
echo "NEXT_PUBLIC_MOBULA_API_KEY=your_api_key" > .env.local

# Start development server
bun dev
Then open http://localhost:3000 to see the terminal.

Project Structure

MTT/
├── src/
│   ├── app/                    # Next.js pages
│   │   ├── page.tsx           # Pulse feed (homepage)
│   │   ├── token/[blockchain]/[address]/
│   │   └── pair/[blockchain]/[address]/
│   ├── features/
│   │   ├── pulse/             # Pulse feature (cookbook 1)
│   │   ├── token/             # Token pages
│   │   └── pair/              # Pair pages
│   ├── components/
│   │   └── charts/            # TradingView (cookbook 2)
│   ├── hooks/                 # Reusable hooks
│   ├── store/                 # Zustand stores
│   └── lib/
│       └── mobulaClient.ts    # SDK initialization

Get Your API Key

Create Free API Key

Sign up and get instant access to all Mobula APIs

Need Help?

Telegram

Fast support

Discord

Community

Slack

Enterprise

Email

Contact us