Overview
Build on‑chain finance fast & pain‑free
Welcome to Compass API
Compass Labs gives you a universal, production‑ready API for swaps, lending, yield, position monitoring, and more—so you can ship revenue‑driving crypto features in days, not months. All without writing a smart contract.
Introduction
Our mission is to make on‑chain finance as easy to build as any Web2 product. Our Compass API and SDKs are designed to facilitate this mission by making it easy to integrate on-chain finance into your applications.
Whether you’re a wallet, fintech, trading platform, or crypto super‑app, Compass Labs lets you grow users and revenue while we handle the blockchain heavy lifting.
We launched Compass Transaction Bundler: build and execute complete DeFi workflows in one atomic transaction, without writing or deploying smart contracts. Read more here.
Compass API supports a variety of protocols and chains:
Protocol | Supported Chains | |
---|---|---|
Aave | Ethereum, Arbitrum, Base | |
Morpho | Ethereum, Base | |
Uniswap | Ethereum, Arbitrum, Base | |
Aerodrome | Base | |
Sky | Ethereum | |
Pendle | Ethereum, Arbitrum | |
4626 vaults | Ethereum, Base |
Key features
Unified API
Unified API
80+ actions across leading protocols (swap, lend, borrow, LP, monitor positions, and more); same interface for data and execution.
Intent bundles
Intent bundles
Bundle multiple actions (collateral, leverage, flashloans, and more) in a single request, slashing latency, points of failure, and gas. Read more here and check out the quick start guide.
Always non‑custodial
Always non‑custodial
Compass executes logic; you or your users sign. Works seamlessly with institutional wallets, custodians, EOAs, and smart accounts (such as Safe and ZeroDev).
Real-time monitoring
Real-time monitoring
Monitor prices, positions, and risk metrics across DeFi.
Python & TypeScript SDKs
Python & TypeScript SDKs
Fast and easy-to-use Python and TypeScript SDKs so you can focus on building incredible products.
AI Agent Compatibility
AI Agent Compatibility
Compass AI is now natively integrated with LangChain. View the Compass Tool in LangChain Docs
Convert natural language inputs into monitoring and execution logic. Enables AI-powered DeFi operations without code - from simple commands like “buy ETH” to complex multi-protocol strategies managed by agents.
Historical Data
Historical Data
Backfill historical data on yields, protocol activity, prices, and positions, available for any block or time period. Support for backtesting, strategy calibration, internal modeling, and integration into existing analytics and trading execution/signals infrastructure.
Getting started
- Sign up for a free API key.
- Head over to our Get started section to execute your first on‑chain action in minutes.
Support
Need help?
Chat With Us
Schedule a 1:1 with our team to discuss your project and request features
Join our Discord
Stay up-to-date and join our builder community
Stay connected
Follow us on X and LinkedIn for product updates, new protocol launches, and developer tips.
We’re excited to see what you’ll build with Compass Labs!