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

# Introduction

> Welcome to Pods API - Your DeFi Aggregation Platform

Pods API is a comprehensive DeFi aggregation platform that enables seamless cross-chain and same-chain transactions for yield strategies, token swaps, and DeFi protocol integrations.

> [card] [Quickstart](https://docs.pods.finance/getting-started/quickstart.md)
>
> Add yield to your app in 5 minutes

> [card] [Why Pods](https://docs.pods.finance/getting-started/why-pods.md)
>
> The case for using Pods vs building in-house

> [card] [API Reference](https://docs.pods.finance/api-reference/introduction.md)
>
> Explore our comprehensive API documentation

> [card] [Guides](https://docs.pods.finance/guides/yield/check-protocol-info.md)
>
> Step-by-step tutorials for common use cases

> [card] [Code Examples](https://docs.pods.finance/examples/javascript/strategy-deposit.md)
>
> Copy-paste ready code examples with ethers.js and viem

> [card] [Widget Integration](https://docs.pods.finance/widget-integration.md)
>
> Customer-ready EarnWidget and SwapWidget integration guides

> [card] [Webhooks](https://docs.pods.finance/guides/webhooks.md)
>
> Signed ACTION\_UPDATE deliveries for your backend

## Key Features

> [accordion] Cross-Chain Swaps
>
> Execute token swaps across different blockchain networks with automatic bridge routing and transaction monitoring.
>
> * Supported chains: Ethereum, Base, Optimism, Arbitrum, Solana, Polygon, Gnosis, Bitcoin
> * Multiple bridge providers: Relay, LiFi, Mayan, CCTP, TeleSwap
> * Quote status and execution tracking for cross-chain execution
> * [Webhook notifications](https://docs.pods.finance/guides/webhooks.md) for action status updates

> [accordion] Same-Chain Swaps
>
> Optimal routing for swaps within the same blockchain network.
>
> * Best price aggregation across DEXs
> * Gas-optimized routes
> * Sub-5 minute quote validity
> * Support for ERC-20 and native tokens

> [accordion] Yield Strategies
>
> Access to multiple DeFi lending and staking protocols.
>
> * Protocols: Aave, Morpho, Lido, Compound, and more
> * Automated APY tracking
> * Easy deposit and withdrawal
> * Portfolio position monitoring

> [accordion] Wallet Tracking
>
> Monitor DeFi positions and yields across multiple protocols.
>
> * Real-time balance updates
> * Earnings tracking
> * Multi-protocol aggregation
> * Historical transaction data

## What Can You Build?

> [card] DeFi Aggregator
>
> Build a frontend that aggregates multiple DeFi protocols and provides users with the best yield opportunities.

> [card] In-App Yield
>
> Offer top DeFi strategies directly in your wallet or application.

> [card] Cross-Chain Bridge
>
> Integrate cross-chain swaps into your wallet or application.

> [card] Portfolio Dashboard
>
> Track user positions across multiple chains and protocols in one place.

## Supported Networks

> [card] Ethereum
>
> Swaps and yield strategies

> [card] Base
>
> Swaps and yield strategies

> [card] Optimism
>
> Swaps and yield strategies

> [card] Arbitrum
>
> Swaps and yield strategies

> [card] Solana
>
> Swaps and yield strategies

> [card] Polygon
>
> Cross-chain bridge support

> [card] Gnosis
>
> Cross-chain bridge support

> [card] Bitcoin
>
> Cross-chain bridge support

## Quick Example

Here's a simple same-chain swap in just a few lines:

```javascript theme={null}
import axios from 'axios'

const pods = axios.create({
  baseURL: 'https://api.pods.finance',
  headers: { 'x-api-key': 'your-api-key' }
})

// 1. Get quote
const { data: { quote } } = await pods.get('/v2/swap/quote', {
  params: {
    originChain: 'ethereum',
    destinationChain: 'ethereum',
    tokenIn: '0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48', // USDC
    tokenOut: '0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2', // WETH
    amountIn: '1000000000' // 1000 USDC
  }
})

// 2. Generate bytecode
const { data: bytecode } = await pods.post('/v2/swap/bytecode', {
  quoteId: quote.quoteId,
  originAddress: walletAddress,
  destinationAddress: walletAddress
})

// 3. Execute transaction (using your wallet)
await wallet.sendTransaction(bytecode.transactionData[0])
```

## Next Steps

**1. Get API Key**

Sign up and get your API key from the [Pods Dashboard](https://www.pods.finance/plg/select-plan)

**2. Follow Quickstart**

Complete your [first API call](https://docs.pods.finance/getting-started/quickstart.md) in 5 minutes

**3. Explore Guides**

Learn about [swaps](https://docs.pods.finance/guides/swaps/get-quote.md) and [yield strategies](https://docs.pods.finance/guides/yield/check-protocol-info.md)

**4. Integrate**

Use our [code examples](https://docs.pods.finance/examples/javascript/same-chain-swap.md) to integrate into your app

## Support & Community

> [card] [Documentation](https://docs.pods.finance/api-reference/introduction.md)
>
> Comprehensive API documentation

> [!NOTE]
>
> **Need help?** Reach out to our support team at [support@pods.finance](mailto:support@pods.finance)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.