Welcome to Compass API
Compass is a non‑custodial API for on‑chain finance. Add Earn, Swap, Borrow, Leverage, Monitoring, and more to your product with a few lines of code. No smart contracts and protocol integrations required. Multi‑step strategies run as one safe, atomic transaction with the Transaction Bundler. Our mission: make on‑chain finance products as easy to build as any Web2 product. The Compass API and SDKs let you ship on‑chain features in days while we handle the blockchain plumbing. Whether you’re a wallet, fintech, trading platform, or crypto super app, use Compass to grow users and revenue, without new smart contracts or protocol maintenance.Read our latest product report here to get a clear view of what is supported and how Compass can be used to monitor markets, automate transactions, and manage exposure across venues.
How it works
Compass API creates a Smart Wallet for you in the background. This has several advantages.- Transactions can be bundled together. E.g. No separate token allowances will be required.
- All transaction can be done gasless, if desired.
- No intermingling of funds. E.g. Your
Earnpositions can’t get liquidated because of yourLeveragepositions.
Key features
- Always non‑custodial: we return unsigned payloads; you (or your users) sign. Works with EOAs, custodians, and smart accounts like Safe and ZeroDev.
- Intent bundles: Bundle multiple DeFi actions across protocols in a single request, cutting failures, partial flows, and saving ~50–70% gas. Read more here.
- Python & TypeScript SDKs: Fast and easy-to-use Python and TypeScript SDKs so you can focus on building incredible products.
- Gas sponsorship: Easily sponsor gas for your users if desired.
- Fee embedding: Opt-in to earn on every transaction your users make.
Getting started
- Sign up for a free API key (1,000 calls/month).
- Run the Quickstart to execute your first on‑chain action in minutes.
- Explore examples for common flows and bundles.
Developer experience
- API — Construct transactions and manage market and user data over one REST interface. See the API reference to get started.
- SDKs — Use familiar Python or TypeScript SDKs
- Guides — Start in minutes with our Quick Start Guide, discover our tutorials, and use cases across common user flows.
Need help?
Exploring an integration or shipping a new DeFi feature? Tell us what you’re building and we’ll help you go live fast.- Email: contact@compasslabs.ai
Chat With Us
Schedule a 1:1 with our team to get you set up quickly.
Join our Discord
Stay up-to-date and join our builder community.