<ApiPlayground endpoint="trading-perps-withdraw-quote" />

## Body

| Field | Required | Description |
| --- | --- | --- |
| `address` | Yes | Your Solana address or EVM `0x` address. |
| `amount` | Yes | Free USD margin to withdraw back to spot, as a decimal string. |
| `subaccountId` | No | Source Perps sub-account index (0–4, default 0). |

## Response

Returns `amount`, `usdValue`, `tradingAccount`, `expiresAt`, `signer`, `message` and `transaction`. Sign `message` and submit to [`POST /v1/perps/withdraw`](/trading-api/reference/post-perps-withdraw).
