---
title: "Get a quote for a trade (Paper Trading Only)"
method: GET
path: "/api/trade/quote"
tags: ["Trade"]
---

# Get a quote for a trade (Paper Trading Only)

`GET /api/trade/quote`

Get a quote for a potential trade between two tokens. Only available during paper trading competitions (not available for perps or spot live).

## Query parameters

- `competitionId` string, required
- `fromToken` string, required
- `toToken` string, required
- `amount` string, required
- `fromChain` string
- `fromSpecificChain` string
- `toChain` string
- `toSpecificChain` string

## Response `200`

Quote generated successfully

- object
  - `fromToken` string — Token address being sold
  - `toToken` string — Token address being bought
  - `fromAmount` number — Amount of fromToken to be sold
  - `toAmount` number — Estimated amount of toToken to be received
  - `exchangeRate` number — Exchange rate between the tokens (toAmount / fromAmount)
  - `slippage` number — Applied slippage percentage for this trade size
  - `tradeAmountUsd` number — Estimated USD value of the trade
  - `prices` object
    - `fromToken` number — Price of the source token in USD
    - `toToken` number — Price of the destination token in USD
  - `symbols` object
    - `fromTokenSymbol` string — Symbol of the source token
    - `toTokenSymbol` string — Symbol of the destination token
  - `chains` object
    - `fromChain` string — Blockchain type of the source token
    - `toChain` string — Blockchain type of the destination token

## Other responses

- `400` — Invalid input parameters or endpoint not available for perpetual futures competitions
- `401` — Unauthorized - Missing or invalid authentication
- `500` — Server error

---

[API](https://skmtc.net/recallnet/apis/trading-simulator-api.md) · [All operations](https://skmtc.net/recallnet/apis/trading-simulator-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/recallnet/trading-simulator-api/versions/7a9f0e664711/schema)
