> ## Documentation Index
> Fetch the complete documentation index at: https://docs.compasslabs.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Overview

> The fastest and cheapest way to integrate DeFi into your app. A unified API with Python & TypeScript SDKs to execute, monitor, and automate across DeFi.

## Welcome to Compass API

[Compass](https://www.compasslabs.ai/) is a [**non‑custodial API**](https://docs.compasslabs.ai/v1/api-reference/token/token-price) 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.

<Tip>
  We launched Compass Transaction Bundler: build and execute complete DeFi workflows in **one atomic transaction**, without writing or deploying smart contracts. Read more [here](/v1/transaction-bundler/introduction).
</Tip>

{/* Compass API supports a variety of protocols and chains: */}

{/* | -------------------------------------------------------------------------------------------------- | --- | ------------------------ | */}

{/* | [Morpho](https://docs.compasslabs.ai/v1/api-reference/morpho/)                                        | | Ethereum, Base           | */}

{/* | [Aerodrome](https://docs.compasslabs.ai/v1/api-reference/aerodrome-slipstream/)                       | | Base                     | */}

{/* | [**Pendle**](https://www.pendle.finance/)                                                          | | Ethereum, Arbitrum       | */}

## Key features

* **Unified API:** 90+ actions across DeFi (swap, lend, borrow, LP, leverage, monitor, and more); same interface for data (historic and real-time) and execution across all protocols.
* **Always non‑custodial**: we return **unsigned** payloads; you (or your users) sign. Works with EOAs, custodians, and [**smart accounts**](v1/wallet-support/overview) like [**Safe**](v1/wallet-support/safe) and [**ZeroDev**](v1/wallet-support/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](/v1/transaction-bundler/introduction).
* **Python & TypeScript SDKs:** Fast and easy-to-use [Python](https://pypi.org/project/compass_api_sdk/) and [TypeScript](https://www.npmjs.com/package/@compass-labs/api-sdk) SDKs so you can focus on building incredible products.
* **Agent-ready:** [Compass LangChain toolkit](https://python.langchain.com/docs/integrations/tools/compass/); works with any supported LLM.

## What you can build

Some examples you can ship this week:

* **Earn** — deposit to Aave, Morpho, Sky, and **ERC‑4626** vaults; rotate when yields change.
* **Trade** — swap or LP via integrated DEXs and Pendle.
* **Leverage** — "Long ETH 3x" (supply → borrow → swap → re‑deposit) as **one click**.
* **Managed portfolios** — withdraw → swap → re‑deposit to target weights, atomically.
* **Monitoring** — balances, positions, APR/APY, health, and P\&L in one schema.

> **10× faster** time-to-market · **\$500k+ saved** in blockchain overhead · **New revenue lines** via embedded fees (Earn, Trading, Rebalance)

<Info>
  Read our latest [product report](https://docsend.com/view/b75fnm7ty67twkn3) 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.
</Info>

## Monetize from day one (Embedded Fees)

Add deposit/withdrawal/performance/management fees **inside the same user‑signed transaction**. Pass bps or flat fee + `feeRecipient`; fees settle atomically with the bundle. Configure per flow, product, or user segment.

## Getting started

1. [**Sign up**](https://www.compasslabs.ai/login) for a free API key (1,000 calls/month).
2. [**Run the Quickstart**](/v1/get_started/get-started) to execute your first on‑chain action in minutes.
3. **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**](https://docs.compasslabs.ai/v1/api-reference/aave-v3/aave-supported-tokens) to get started.
* **SDKs** — Use familiar [Python](https://pypi.org/project/compass_api_sdk/) or [TypeScript](https://www.npmjs.com/package/@compass-labs/api-sdk) SDKs
* **Guides** — Start in minutes with our [Quick Start Guide](/v1/get_started/get-started), discover our [tutorials](/v1/examples/morpho_deposit), and [use cases](/v1/transaction-bundler/wallet_integration) 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: [<u>contact@compasslabs.ai</u>](mailto:contact@compasslabs.ai)

<CardGroup cols={2}>
  <Card title="Chat With Us" icon="circle-question" href="https://calendly.com/elisabeth-compasslabs/30min">
    [Schedule a 1:1](https://calendly.com/elisabeth-compasslabs/30min) with our team to get you set up quickly.
  </Card>

  <Card title="Join our Discord " icon="walkie-talkie" href="https://t.co/GdOoMVsbDk">
    Stay up-to-date and join our builder community.
  </Card>
</CardGroup>

## Stay connected

Follow us on [**X**](https://twitter.com/labs_compass) and [**LinkedIn**](https://www.linkedin.com/company/86708553) for product updates, new protocol launches, and developer tips.

We’re excited to see what you’ll build with Compass Labs!
