---
title: "Get perp quote"
method: POST
path: "/api/2/perp/quote"
tags: ["V2 - Perps"]
---

# Get perp quote

`POST /api/2/perp/quote`

Get a non-binding quote for opening a perpetual position on a supported DEX (Gains Network, Lighter). Informational only — execution uses /2/perp/payloads/<action> → /2/perp/execute-v2.

## Request body

- object
  - `user` string, required — Wallet address of the trader. Used to scope the quote (e.g., Lighter account lookup).
  - `baseToken` string, required — Base token address, symbol, or Mobula asset id.
  - `quote` string, required — Quote/collateral token (typically USDC).
  - `leverage` number, required
  - `long` union, required
    - boolean
    - string
  - `reduceOnly` boolean, required
  - `collateralAmount` number, required
  - `orderType` 'market' | 'limit' | 'stop_limit'
  - `openPrice` number
  - `tp` number
  - `sl` number
  - `amountRaw` number
  - `maxSlippageP` number
  - `chainIds` string[]
  - `dexes` string[]
  - `marginMode` number
  - `referrer` string

## Response `200`

Perp quote response

- object
  - `success` boolean, required
  - `data` object, required
    - `dex` string, required
    - `marketId` string, required
    - `chainId` string, required
    - `payload` object, required
    - `payloadStr` string, required

---

[API](https://skmtc.net/mobula/apis/mobula-api.md) · [All operations](https://skmtc.net/mobula/apis/mobula-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/mobula/mobula-api/versions/32f95d9e8ff2/schema)
