> For the complete documentation index, see [llms.txt](https://docs.veda.tech/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.veda.tech/api.md).

# API

Programmatic access to Veda vaults.

The Veda API is the programmatic surface for interacting with Veda vaults outside of the [Veda Console](https://console.veda.tech). It exposes the same primitives that power Veda's first-party products — rebalancing, position data, fees, and accounting — to partners building automation, dashboards, custom strategist tooling, and back-office integrations.

**Base URL:** `https://api.veda.tech`

**Authentication:** Bearer token using an API key created in the [Veda Console](https://console.veda.tech).

**OpenAPI / Swagger:** [api.veda.tech/docs](https://api.veda.tech/docs)

## What's here

| Page                                                                                     | Purpose                                                                      |
| ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------- |
| [Quick Start](/api/quick-start.md)                                                       | Create an API key in the console and make your first authenticated call      |
| [Vaults](/api/vaults.md)                                                                 | List your tenant's vaults; inspect roots set on a specific vault             |
| [Policy Manager & Merkle Trees](/api/policy-manager-and-merkle-trees.md)                 | How vault permissioning works; fetch a merkle tree by root hash              |
| [Transaction Builder](/api/transaction-builder.md)                                       | Discover vault actions and build rebalance calldata                          |
| [Solana Transaction Builder](/api/transaction-builder/transaction-builder-solana.md)     | Solana-specific surface: base58 addresses, v0 transactions, RPC simulation   |
| [Transaction Builder Examples](/api/transaction-builder/transaction-builder-examples.md) | End-to-end shell scripts against two real vaults                             |
| [Swap API](/api/swap-api.md)                                                             | Discover swap routes, quote trades, and build market or limit-order calldata |
| [API Reference](/api/api-reference.md)                                                   | Full endpoint reference via the OpenAPI spec                                 |
| [Change Log](/api/change-log.md)                                                         | What's new, what's deprecated, examples, rate limits                         |

## When to use the API

The API is the right choice when you need to:

* **Automate rebalancing** — write a script or scheduled job that builds and submits rebalance transactions for a vault you operate as a strategist
* **Execute swaps** — discover configured token pairs, request market quotes, and build market or limit-order transactions
* **Build a custom dashboard** — surface vault state inside your own product

For everything the hosted API serves, the underlying data is also reconstructible directly from chain. Many partners run both: the API for the fast path, and their own indexer for whatever the API doesn't expose.

## Capabilities

* **Protocol-, asset-, and chain-agnostic** — the same endpoints work across every chain Veda supports
* **Verifiable** — `encoded_tx_data` is calldata you submit yourself from your strategist address; the API never holds keys or signs
* **Simulated by default** — every build is dry-run against Tenderly before returning, so you can catch reverts before broadcasting
* **Composable** — batch multiple actions into a single atomic transaction with `execute-multiple`

## Getting access

API keys are provisioned per partner. If you don't already have a Veda Console account for your team:

1. Reach out to your Veda contact
2. Once your account is provisioned, sign in to [console.veda.tech](https://console.veda.tech)
3. Follow [Quick Start](/api/quick-start.md) to create your first key
