---
title: "Quote an N:N basket on Solana"
method: POST
path: "/svm/multi-quote"
---

# Quote an N:N basket on Solana

`POST /svm/multi-quote`

## Request

- Base URL: `https://swap.vurto.cc/v1`
- URL: `https://swap.vurto.cc/v1/svm/multi-quote`
- Auth: none required

Same inputLegs/outputLegs shape as POST /multi-quote, with the leg tokens named the Solana way. outputLegs[].outputPercent must sum to 100.

## Request body

- object
  - `chainId` 'solana-mainnet', required: Solana names its network, it does not number it.
  - `wallet` string: base58 address.
  - `slippageBps` integer: Optional.
  - `inputLegs` object[], required
    - `tokenIn` string: Mint address, or the symbol of a VERIFIED token. Symbols resolve only against the verified list on purpose: on Solana anyone can mint a token carrying another one's symbol, name and icon, and the mint is the only real identity. CASE-SENSITIVE.
    - `amount` string: Human decimal.
    - `amountIn` string: Raw integer string.
  - `outputLegs` object[], required
    - `tokenOut` string: Mint address, or the symbol of a VERIFIED token. Symbols resolve only against the verified list on purpose: on Solana anyone can mint a token carrying another one's symbol, name and icon, and the mint is the only real identity. CASE-SENSITIVE.
    - `outputPercent` integer: Integer percent of total basket value. Must sum to 100.
    - `receiver` string: Optional per-leg destination.

## Response `200`

Per-leg quotes for the basket.

## Other responses

- `400`: invalid_basket | invalid_percent — every outputPercent must be > 0 and sum to 100
- `404`: token_not_found
- `502`: no_routes

---

[API](https://skmtc.dev/vurto/apis/vurto-swap-public-api.md) · [All operations](https://skmtc.dev/vurto/apis/vurto-swap-public-api/llms.txt) · [OpenAPI document](https://skmtc.dev/vurto/apis/vurto-swap-public-api/revisions/423be3a193b5?raw)
