---
title: "Get available rune quotes with given parameters for the swap"
method: GET
path: "/v2/ord/btc/runes/quote"
tags: ["Runes Swap"]
---

# Get available rune quotes with given parameters for the swap

`GET /v2/ord/btc/runes/quote`

## Request

- Base URL: `https://api-mainnet.magiceden.dev/v2`
- URL: `https://api-mainnet.magiceden.dev/v2/v2/ord/btc/runes/quote`
- Auth: none declared
- TypeScript: <https://skmtc.dev/magiceden/apis/magic-eden-api/docs/v2/ord/btc/runes/quote/get.ts> (a function with typed inputs; its response is checked against the schema)

Get available rune quotes with given parameters for the swap

## Query parameters

- `runeTicker` string, required
- `amount` string, bigint, required
- `side` 'buy' | 'sell', required
- `priceToleranceBp` integer
- `rbfPreventionListingOnly` boolean

## Response `200`

Successful response

- GetQuoteResponseSchema
  - `amount` string, bigint, required: The total amount for the quote, represented as a string to accommodate large integers.
  - `averageUnitPrice` number, required: The average unit price.
  - `bestUnitPrice` number, required: The best unit price available.
  - `maxUnitPrice` number, required: The maximum unit price.
  - `minUnitPrice` number, required: The minimum unit price.
  - `price` number, required: The total price.
  - `orders` object[], required
    - `amount` string, bigint: The amount for the order, represented as a string to accommodate large integers.
    - `id` string: The unique identifier for the order.

---

[API](https://skmtc.dev/magiceden/apis/magic-eden-api.md) - [All operations](https://skmtc.dev/magiceden/apis/magic-eden-api/llms.txt) - [OpenAPI document](https://skmtc.dev/magiceden/apis/magic-eden-api/revisions/66028b292693?raw)
