Compass API Docs home pagelight logodark logo
  • Book a demo
  • Login
  • Get your API key
  • Get your API key
  • Documentation
  • API Reference
  • Pricing
  • Documentation
    • Overview
    • Get Started
    • Tutorials
    • Why Integrate Compass API
    • Wallet Support
    • Partnerships
    • Use Cases
    • Compass AI
    • FAQ
    • Terms & Conditions
    • Privacy Policy
    • Changelog
    Documentation

    FAQ

    Quick answers to common questions

    What is Compass Labs?

    Compass Labs is a non-custodial API for on-chain finance. You can use it to add Earn, Swap, Borrow, Leverage, Monitor, and more, directly into your product with just a few lines of code. No smart contracts or protocol integrations required.
    The benefits: ship in weeks instead of months, skip smart contracts completely, and run multi-step DeFi flows in a single safe transaction with 50–70% lower gas and fewer failures.

    Who is Compass Labs for?

    • **Fintechs, wallets, crypto apps: **add Earn, Trading, Leverage and more in‑app, keep users on your platform, turn on fees day one, and ship in weeks.
    • Funds & asset managers: automate DeFi operations with programmatic execution and real-time and historic data. Across DeFi, and without writing smart contracts.
    • Developers: simple Python/TS SDKs to build your DeFi project quick.
    Check the Python and TypeScript SDK here.

    How does Compass API work?

    Compass provides standardized data endpoints and execution endpoints for DeFi actions (lend, borrow, swap, stake, unwind, and more). For multi‑step strategies, the Transaction Bundler composes actions into one atomic transaction and returns a sign‑ready payload for your wallet/custodian.1) Non-custodial execution endpoints (per protocol).
    Call a protocol action (e.g., POST /v1/aave/borrow) and the API returns a sign-ready transaction (fields like to, data, gas, maxFeePerGas, chainId). You sign with your wallet or custodian and broadcast to the network. 
    Note, for some actions, standard allowances must be set. These can be included in a bundled flow (see #2)2) One-call multi-step flows with the Transaction BundlerUse POST /v1/transaction_bundler/execute to combine multiple actions: approvals, swaps, supplies, and borrows, and bundle them together into a single atomic transaction using EIP-7702. This saves gas costs and ensures all operations succeed or fail together. The response is again a sign-ready transaction. You sign and send. Compass never holds keys.3) Standardized data endpoints.
    Fetch standardized data (e.g., GET /v1/aave/token_price) like tokens, rates, liquidity indices, prices, reserve overviews, positions, and more to drive decisions and monitoring.
    Check the API reference here.

    Is Compass Labs custodial or non-custodial?

    Non‑custodial. You (or your users) sign every transaction. Compass never takes custody of assets or private keys. We deliver sign‑ready payloads compatible with EOAs, smart accounts, and institutional wallets.

    Why use Compass API instead of direct protocol integrations?

    Direct integrations mean Solidity, audits, node ops, and constant upkeep across many protocols. Compass replaces that with one non-custodial API/SDK.It’s not just a wrapper. Wrappers just expose contract methods. We standardize endpoints across protocols. This means you can easily take actions across protocols (lend, swap, stake, repay, etc) and access data normally not easily accessible (30 day APY, volatility of APY, etc). Additionally, Compass Bundler lets you bundle multi-step logic across protocols. Meaning you dont have to deploy and audit a smart contract for cross-protocol automation. Outcomes: lower infra cost, faster time‑to‑market, and less operational risk.

    Which blockchains and protocols does Compass Labs support?

    Chains: Ethereum, Base, and ArbitrumProtocols: Coverage includes lending (Aave, Morpho), DEXs (Uniswap v3, Aerodrome), Yield markets (Pendle, Sky, Ethena), Vaults (ERC-4626 vaults)New integrations are typically added within two weeks upon request.

    Which DeFi yield vaults do you support?

    Compass Labs supports Aave, Morpho, Sky, Ethena, and any ERC-4626 yield vault.ERC-4626 is Ethereum’s Tokenized Vault Standard for yield-bearing vaults. This means, with our 4626 endpoint, you can deposit, withdraw, and fetch data from any compatible vault through the same API.In practice, that covers nearly all of the major vaults you’d want to integrate.

    Is the Compass API free to use?

    Yes. By creating a free API key, you get 1,000 calls per month for testing and early integration. You can upgrade as usage grows. Get started and get your free API key.

    How do I get started with Compass API?

    1. Create a free API key (1,000 calls/month for testing) 
    2. Follow the quick start guide and install the SDK: Python or TypeScript
    3. Make your first call
    4. Check the tutorials to learn more

    What SDKs do you offer?

    Yes. We provide both Python and TypeScript SDKs.

    What is the Compass Transaction Bundler?

    The Compass Transaction Bundler lets you combine multiple DeFi actions, e.g., **deposit → borrow → swap → redeposit, **or **set allowance → deposit, into one atomic transaction. **Instead of 10–15 separate steps, everything settles in one call with a single user signature.Benefits 
    • 50-70% lower gas costs
    • Batch any workflow into a single API call
    • Reduced risk of partial or failed transactions
    All bundles are non-custodial: Compass provides signed-ready payloads that you or your users sign. Check the Quick Start Guide to start using the Transaction Bundler.

    Can I customize on‑chain flows with Compass Transaction Bundler?

    Yes. As long as the actions are supported (allowance, deposit, lend, borrow, swap, stake, repay, etc) you can compose any custom on-chain flow, bundle the actions, and deploy as one atomic transaction.Check the Quick Start Guide to start using the Transaction Bundler.

    Was this page helpful?

    Compass AITerms & Conditions
    Assistant
    Responses are generated using AI and may contain mistakes.
    Compass API Docs home pagelight logodark logo
    xgithublinkedinmediumtelegramdiscord
    Blog
    xgithublinkedinmediumtelegramdiscord
    Powered by Mintlify