---
title: "Unstake Crypto Funds"
method: POST
path: "/v1/staking/unstake"
tags: ["Staking"]
---

# Unstake Crypto Funds

`POST /v1/staking/unstake`

## Request

- Base URL: `https://api.gemini.com`
- URL: `https://api.gemini.com/v1/staking/unstake`
- Auth: API key in header `X-GEMINI-APIKEY` and API key in header `X-GEMINI-SIGNATURE` and API key in header `X-GEMINI-PAYLOAD`

Initiates Staking withdrawals.

### Roles
The API key you use to access this endpoint must have the Trader, Fund Manager or Trader role assigned. See [Roles](/roles#roles) for more information.

## Headers

- `X-GEMINI-APIKEY` string, required
- `X-GEMINI-SIGNATURE` string, required
- `X-GEMINI-PAYLOAD` string, required
- `Content-Type` string
- `Content-Length` string
- `Cache-Control` string

## Request body

- object
  - `request` string, required: The literal string "v1/staking/unstake"
  - `nonce` union, required: The nonce, as described in [Private API Invocation](/authentication/api-key#private-api-invocation)
    - union: timestamp
      - string: Gemini strongly recommends using milliseconds instead of seconds for timestamps. | Timestamp format | Example | Supported request type | |-----------------------|-----------------------|------------------------| | string (seconds) | `1495127793` | `POST` only | | string (milliseconds) | `1495127793000` | `POST` only |
      - integer: Gemini strongly recommends using milliseconds instead of seconds for timestamps. | Timestamp format | Example | Supported request type | |-----------------------------|---------------------------|------------------------| | whole number (seconds) | `1495127793` | `GET`, `POST` | | whole number (milliseconds) | `1495127793000` | `GET`, `POST` |
    - integer
  - `account` string: Required for Master API keys as described in [Private API Invocation](/authentication/api-key#private-api-invocation). The name of the account within the subaccount group.
  - `providerId` string, required: Provider Id, in uuid4 format. providerId is accessible from the [Staking rates](#list-staking-rates) response
  - `currency` string, required: Currency code, see [symbols](/market-data/symbols-and-minimums)
  - `amount` string, decimal, required: The amount of currency to withdraw

## Response `200`

The staking withdrawal transaction

- StakingWithdrawal
  - `transactionId` string: A unique identifier for the staking transaction
  - `amount` number: The amount deposited
  - `amountPaidSoFar` number: The amount redeemed successfully
  - `amountRemaining` number: The amount pending to be redeemed
  - `currency` string: Currency code
  - `requestInitiated` string: In ISO datetime with timezone format

## Other responses

- `400`: Bad request - malformed request or invalid parameters
- `401`: Unauthorized - missing or invalid authentication
- `403`: ApiKey fails IP Filtering Check
- `404`: Resource not found
- `429`: Too many requests - you have exceeded the rate limit
- `500`: Internal server error

---

[API](https://skmtc.dev/gemini/apis/rest-api.md) - [All operations](https://skmtc.dev/gemini/apis/rest-api/llms.txt) - [OpenAPI document](https://skmtc.dev/gemini/apis/rest-api/revisions/24979792d748?raw)
