What you’ll build: A real-time portfolio dashboard, a transaction alert system, an AI portfolio agent, and a tax export tool — all powered by the same API.
Why Octav?
Building crypto apps normally means stitching together 10+ APIs, normalizing data across chains, and maintaining a patchwork of indexers. Octav replaces all of that with a single API covering 65+ blockchains.One API, 65+ Chains
Portfolio, transactions, DeFi positions, NFTs, and historical data — all from one endpoint
Multiple Access Methods
REST API, MCP Server, CLI, x402 payments, Agent Skill, and llms.txt — pick the tool that fits your workflow
1-Credit Calls
Most calls cost 1 credit ($0.025). Credits never expire. No subscriptions.
AI-Native
Built for vibecoding — structured JSON output, LLM-friendly docs, and MCP integration
Architecture
Octav sits between the blockchain data layer and your application:Getting Started
Get your API key and make your first request in under 3 minutes.Get an API Key
Sign up at data.octav.fi and generate an API key. Purchase a credit package — the Starter pack (4,000 credits / $100) is plenty for testing.
Explore the Endpoints
The core endpoints you’ll use across all four projects:
| Endpoint | What It Returns | Cost |
|---|---|---|
/v1/portfolio | Full portfolio with DeFi positions | 1 credit |
/v1/nav | Net asset value in any currency | 1 credit |
/v1/wallet | Token balances (no DeFi) | 1 credit |
/v1/transactions | Transaction history with filters | 1 credit |
/v1/token-overview | Token distribution across chains | 1 credit |
/v1/historical | Portfolio snapshot at a past date | 1 credit |
/v1/credits | Your remaining credits | Free |
/v1/status | Sync status for addresses | Free |
Project 1: Real-Time Portfolio Dashboard
Build a React dashboard that shows net worth, DeFi positions, and token distribution — using a prompt-first approach.The Vibecoding Prompt
Give this prompt to Claude, Cursor, or your AI coding assistant of choice:The Dashboard Component
Here’s what the AI generates (and what you’d refine):Project 2: Transaction Alert System
Build a whale-alert style notification system using the Octav CLI and cron. No Node.js runtime, no dependencies — just bash.Install the CLI
The Alert Script
Schedule It
- cron
- launchd (macOS)
Customize with AI
Give Claude Code this prompt to extend the script:Project 3: AI Portfolio Agent
Connect the Octav MCP Server to your AI assistant and build an autonomous monitoring agent.Set Up MCP
- Claude Desktop
- Cursor
- VS Code (Copilot)
- Claude Code
Edit
~/Library/Application Support/Claude/claude_desktop_config.json:Natural Language Queries
Once connected, ask your AI assistant questions like:octav_get_portfolio, octav_get_transactions, octav_get_nav, and more directly from conversation.
Python Monitoring Agent
For autonomous monitoring, build a Python agent:x402 Agent Payments
For autonomous AI agents that don’t have API keys, use the x402 payment protocol. The agent pays per request with USDC — no key management needed.Project 4: Tax & Accounting Export Tool
Export categorized transaction history to CSV for tax reporting.Historical Snapshots
For year-end portfolio valuations, use the historical endpoint with subscribe-snapshot for automatic daily recording:Developer Toolkit Overview
Choose the right tool for your use case:| Tool | Best For | Setup | Auth |
|---|---|---|---|
| REST API | Web apps, backends, integrations | Any HTTP client | API key |
| MCP Server | AI assistants (Claude, Cursor, VS Code) | npx octav-api-mcp | API key |
| CLI | Shell scripts, cron jobs, terminal workflows | curl | sh or cargo install octav | API key or env var |
| x402 Payments | Autonomous AI agents | No setup | Agent wallet (USDC) |
| Agent Skill | Claude Code, Codex, ChatGPT | npx skills add Octav-Labs/octav-api-skill | API key |
| llms.txt | Feed docs to any LLM | Point to URL | N/A |
- REST API
- MCP Server
- CLI
- x402 Payments
- Agent Skill
- llms.txt
Direct HTTP calls to
https://api.octav.fi/v1/. Works with any language or framework. 65+ chains, 1-credit calls, structured JSON responses.Advanced Patterns
Multi-Wallet Aggregation
Query up to 10 addresses in a single API call (still just 1 credit per address):Rate Limit Handling
The API allows 360 requests per minute. Implement exponential backoff for reliability:Dust Filtering
Filter out small token balances that clutter portfolio views:Webhook-Style Polling
Combine the CLI with cron for webhook-like behavior without running a server:What’s Next
API Reference
Complete endpoint documentation with interactive playground
MCP Server
Connect AI assistants to live portfolio data
CLI Automations
Production-ready cron scripts for monitoring and exports
Pricing
Credit packages starting at $100 for 4,000 calls
Ready to start? Get your API key at data.octav.fi and build your first project in minutes. Join the Discord if you need help.