> For the complete documentation index, see [llms.txt](https://docs.pangolin.exchange/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.pangolin.exchange/pangoperps/trading-api/assets-withdraw-settle-pnl/get-withdrawal-nonce.md).

# Get Withdrawal Nonce

### Endpoint

`GET /v1/withdraw_nonce`

Mainnet: `https://api.orderly.org/v1/withdraw_nonce`

Testnet: `https://testnet-api.orderly.org/v1/withdraw_nonce`

Rate limit: 10 requests per 1 second.

Returns the one-time nonce that must be included when signing a withdrawal request. Each nonce can only be used once.

### Authentication

Send the signed-request headers.

* `orderly-timestamp` — required; signed-request timestamp in milliseconds.
* `orderly-account-id` — required; authenticated account ID.
* `orderly-key` — required; public API key.
* `orderly-signature` — required; signature generated for the request.

### Response

HTTP 200 — application/json. `success` is a required boolean. The required `data` object contains `withdraw_nonce` (integer), which is used to sign a withdrawal request. The root `timestamp` is the server time in milliseconds (integer).

```
{
  "success": true,
  "data": { "withdraw_nonce": 1 },
  "timestamp": 1702989203989
}
```
