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

# Introduction to Argyros — best-price swaps on Fogo

> Argyros is a swap aggregator on Fogo with multi-hop routing across Vortex, Fluxbeam, Fogo.fun, Moonit, and more. Solana support coming soon.

# Welcome to Argyros

Argyros aggregates liquidity across the **Fogo** ecosystem to find the best swap execution for any token pair. **Solana support is coming soon.**

## Why Argyros?

* **Best-price routing.** Multi-hop routing across Vortex, Fluxbeam, Fogo.fun, and Moonit bonding curves to find optimal execution.
* **Fast execution.** Get a quote and build a ready-to-sign transaction in a single API call.
* **Simple integration.** Three endpoints cover the entire swap lifecycle: quote, build transaction, submit.
* **Multi-chain ready.** Solana support with P-Token benefits (up to 7 hops, lower compute) is coming soon.

## Endpoints

| Endpoint               | Method | Description                                              |
| ---------------------- | ------ | -------------------------------------------------------- |
| `/api/v1/quote`        | GET    | Get the best route and estimated output for a token pair |
| `/api/v1/swap`         | POST   | Build an unsigned swap transaction                       |
| `/api/v1/instructions` | POST   | Get raw instructions for custom transaction composition  |
| `/health`              | GET    | Service health check                                     |

## Quick example

Get a quote for swapping 1 SOL to USDC on Fogo:

<CodeGroup>
  ```bash cURL theme={"theme":"github-dark"}
  curl "https://api.argyros.xyz/api/v1/quote?inputMint=So11111111111111111111111111111111111111112&outputMint=uSd2czE61Evaf76RNbq4KPpXnkiL3irdzgLFUMe3NoG&amount=1000000000&swapMode=ExactIn&slippageBps=50"
  ```

  ```typescript TypeScript theme={"theme":"github-dark"}
  const response = await fetch(
    "https://api.argyros.xyz/api/v1/quote?" +
      new URLSearchParams({
        inputMint: "So11111111111111111111111111111111111111112",
        outputMint: "uSd2czE61Evaf76RNbq4KPpXnkiL3irdzgLFUMe3NoG",
        amount: "1000000000",
        swapMode: "ExactIn",
        slippageBps: "50",
      })
  );
  const { data } = await response.json();
  console.log(`Output: ${data.amountOut}, Hops: ${data.hopCount}`);
  ```

  ```python Python theme={"theme":"github-dark"}
  import requests

  resp = requests.get("https://api.argyros.xyz/api/v1/quote", params={
      "inputMint": "So11111111111111111111111111111111111111112",
      "outputMint": "uSd2czE61Evaf76RNbq4KPpXnkiL3irdzgLFUMe3NoG",
      "amount": "1000000000",
      "swapMode": "ExactIn",
      "slippageBps": "50",
  })
  data = resp.json()["data"]
  print(f"Output: {data['amountOut']}, Hops: {data['hopCount']}")
  ```
</CodeGroup>

## Next steps

<CardGroup cols={2}>
  <Card title="Supported Chains" icon="link" href="/concepts/chains">
    Fogo capabilities and upcoming Solana support with P-Token benefits.
  </Card>

  <Card title="Architecture" icon="sitemap" href="/get-started/architecture">
    High-level overview of how Argyros routes and executes swaps.
  </Card>

  <Card title="API Reference" icon="code" href="/api-reference/introduction">
    Full endpoint documentation with Try It.
  </Card>

  <Card title="Executing Swaps" icon="bolt" href="/guides/executing-swaps">
    End-to-end guide for your first swap.
  </Card>
</CardGroup>
