API
- What is API
- Response codes
- Request limits
- Public data functions
- All tickers
- Ticker
- Hourly ticker
- Order book
- Transactions
- Trading pairs info
- Currencies
- OHLC data
- EUR/USD conversion rate
- API authentication
-
Private Functions
- Account balances
- Trading pairs
- Trading fees
- Withdrawal fees
- User transactions
- Crypto transactions
- Withdrawal requests
- Transfer balance from Sub to Main Account
- Transfer balance from Main to Sub Account
- Open bank withdrawal
- Bank withdrawal status
- Cancel withdrawal
- New liquidation address
- Liquidation address info
- Websockets token
What Is API?
Bitstamp application programming interface (API) allows our clients to access and control their accounts, using custom written software.
API v1 authentication, v1 endpoints and deprecated v2 endpoints are no longer documented on this page. For now you can still access API v1 documentation here.
Response codes
Response code is a key that can be appended to an API response as response_code (string). Additionally, also explanation may or may not be included as the response_explanation (string) key, which defines further explanation to what has gone wrong when processing a request.
Below is the list of all available response codes and it's explanations:
response_code | response_explanation (optional) |
400.001 | Unknown validation error. |
400.002 | Request rejected due to exceeded rate limit. |
400.003 | Trading for specified currency pair is disabled. |
400.004 | POST parameter(s) is missing from request. |
400.005 | POST parameter(s) is missing from request: amount. |
400.006 | POST parameter(s) is missing from request: price. |
400.007 | POST parameter(s) is malformed. |
400.008 | POST parameter(s) is malformed: client_order_id. |
400.009 | Insufficient balance for provided user. |
400.010 | POST parameter(s) is malformed: offset. |
400.011 | POST parameter(s) is malformed: limit. |
400.012 | POST parameter(s) is malformed: sort. |
400.013 | POST parameter(s) is malformed: since_timestamp. |
400.014 | POST parameter(s) is missing from request: order_id. |
400.015 | POST parameter(s) is missing from request: client_order_id. |
400.016 | POST parameter(s) is malformed: order_id. |
400.017 | POST parameter(s) is malformed: client_cancel_id. |
400.018 | GET parameters not allowed for this request. |
400.019 | Provided client_order_id already exists. |
400.020 | Provided order size is not in range of minimum order value. |
400.021 | Provided price is out of range. |
400.022 | POST parameter(s) is missing from request: expire_time. |
400.023 | POST parameter(s) is malformed: expire_time. |
400.024 | Only one of optional parameters can be set. |
400.025 | Both limit_price and any optional parameter cannot be set. |
400.026 | POST parameter(s) is malformed: amount. |
400.027 | Sell if executed price must be higher than buy price. |
400.028 | Buy if executed price must be lower than sell price. |
403.001 | User verification failed. |
403.002 | Trading is not allowed on lending account. |
403.003 | Trading is not allowed on collateral account. |
403.004 | Trading is blocked for user. |
404.001 | Unknown not found error. |
404.002 | Order not found for corresponding request. |
404.003 | Currency pair not found for corresponding request. |
404.004 | Trade account not found for provided API key. |
404.005 | Order book not found. |
404.006 | Currency not found for corresponding request. |
405.001 | GET method not allowed. |
410.001 | Requested endpoint is deprecated. |
500.001 | Unknown server error. |
500.002 | One of Bitstamp internal services failed to process request. |
500.003 | Unknown error while processing order. |
500.004 | No sell orders for provided currency pair. |
500.005 | No buy orders for provided currency pair. |
500.006 | Cash sell order types are currently disabled. |
500.007 | Error while serializing data. |
500.008 | Margin option for currency pair is disabled. |
500.009 | Order book is currently unavailable. |
500.010 | Instant trading for specified currency pair is disabled. |
500.011 | Market trading for specified currency pair is disabled. |
Request limits
Do not make more than 8000 requests per 10 minutes or we will ban your IP address. For real time data please refer to the websocket API.
Public Data Functions
Commercial Use of Bitstamp’s Exchange Data
Bitstamp allows the incorporation and redistribution of our exchange data for commercial purposes. This includes the right to create ratios, calculations, new original works, statistics, and similar, based on the exchange data.
Companies seeking to utilize Bitstamp’s exchange data for their own commercial purposes are directed to contact partners@bitstamp.net to receive and sign a commercial use Data License Agreement.
All tickers
Passing any GET parameters, will result in your request being rejected.
Request | |
GET | https://www.bitstamp.net/api/v2/ticker/ |
Response (List): success | |
Returned Ticker details for all supported currency pairs. |
Ticker
Passing any GET parameters, will result in your request being rejected.
Request | |
GET | https://www.bitstamp.net/api/v2/ticker/{currency_pair}/ |
Supported values for currency_pair: btcusd, btceur, btcgbp, btcpax, gbpusd, gbpeur, eurusd, xrpusd, xrpeur, xrpbtc, xrpgbp, ltcbtc, ltcusd, ltceur, ltcgbp, ethbtc, ethusd, etheur, ethgbp, ethpax, bchusd, bcheur, bchbtc, paxusd, xlmbtc, xlmusd, xlmeur, xlmgbp, linkusd, linkeur, linkgbp, linkbtc, usdcusd, usdceur, btcusdc, ethusdc, eth2eth, aaveusd, aaveeur, aavebtc, batusd, bateur, umausd, umaeur, daiusd, kncusd, knceur, mkrusd, mkreur, zrxusd, zrxeur, gusdusd, algousd, algoeur, algobtc, audiousd, audioeur, audiobtc, crvusd, crveur, snxusd, snxeur, uniusd, unieur, unibtc, yfiusd, yfieur, compusd, compeur, grtusd, grteur, lrcusd, lrceur, usdtusd, usdteur, usdcusdt, btcusdt, ethusdt, xrpusdt, eurteur, eurtusd, flrusd, flreur, manausd, manaeur, maticusd, maticeur, sushiusd, sushieur, chzusd, chzeur, enjusd, enjeur, hbarusd, hbareur, alphausd, alphaeur, axsusd, axseur, sandusd, sandeur, storjusd, storjeur, adausd, adaeur, adabtc, fetusd, feteur, sklusd, skleur, slpusd, slpeur, sxpusd, sxpeur, sgbusd, sgbeur, avaxusd, avaxeur, dydxusd, dydxeur, ftmusd, ftmeur, shibusd, shibeur, ampusd, ampeur, ensusd, enseur, galausd, galaeur, perpusd, perpeur, wbtcbtc, ctsiusd, ctsieur, cvxusd, cvxeur, imxusd, imxeur, nexousd, nexoeur, antusd, anteur, godsusd, godseur, radusd, radeur, bandusd, bandeur, injusd, injeur, rlyusd, rlyeur, rndrusd, rndreur, vegausd, vegaeur, 1inchusd, 1incheur, solusd, soleur, apeusd, apeeur, mplusd, mpleur, eurocusdc, euroceur, dotusd, doteur, nearusd, neareur, dogeusd, dogeeur, suiusd, suieur |
Response (JSON) | |
last | Last price in counter currency. |
high | Last 24 hours price high. |
low | Last 24 hours price low. |
vwap | Last 24 hours volume weighted average price. |
volume | Last 24 hours volume. |
bid | Highest buy order. |
ask | Lowest sell order. |
timestamp | Unix timestamp date and time. |
open | First price of the day. |
open_24 | 24 hours time delta transaction's price for the given currency pair. |
percent_change_24 | Price change percent from open_24 and last price. |
Hourly ticker
Passing any GET parameters, will result in your request being rejected.
Request | |
GET | https://www.bitstamp.net/api/v2/ticker_hour/{currency_pair}/ |
Supported values for currency_pair: btcusd, btceur, btcgbp, btcpax, gbpusd, gbpeur, eurusd, xrpusd, xrpeur, xrpbtc, xrpgbp, ltcbtc, ltcusd, ltceur, ltcgbp, ethbtc, ethusd, etheur, ethgbp, ethpax, bchusd, bcheur, bchbtc, paxusd, xlmbtc, xlmusd, xlmeur, xlmgbp, linkusd, linkeur, linkgbp, linkbtc, usdcusd, usdceur, btcusdc, ethusdc, eth2eth, aaveusd, aaveeur, aavebtc, batusd, bateur, umausd, umaeur, daiusd, kncusd, knceur, mkrusd, mkreur, zrxusd, zrxeur, gusdusd, algousd, algoeur, algobtc, audiousd, audioeur, audiobtc, crvusd, crveur, snxusd, snxeur, uniusd, unieur, unibtc, yfiusd, yfieur, compusd, compeur, grtusd, grteur, lrcusd, lrceur, usdtusd, usdteur, usdcusdt, btcusdt, ethusdt, xrpusdt, eurteur, eurtusd, flrusd, flreur, manausd, manaeur, maticusd, maticeur, sushiusd, sushieur, chzusd, chzeur, enjusd, enjeur, hbarusd, hbareur, alphausd, alphaeur, axsusd, axseur, sandusd, sandeur, storjusd, storjeur, adausd, adaeur, adabtc, fetusd, feteur, sklusd, skleur, slpusd, slpeur, sxpusd, sxpeur, sgbusd, sgbeur, avaxusd, avaxeur, dydxusd, dydxeur, ftmusd, ftmeur, shibusd, shibeur, ampusd, ampeur, ensusd, enseur, galausd, galaeur, perpusd, perpeur, wbtcbtc, ctsiusd, ctsieur, cvxusd, cvxeur, imxusd, imxeur, nexousd, nexoeur, antusd, anteur, godsusd, godseur, radusd, radeur, bandusd, bandeur, injusd, injeur, rlyusd, rlyeur, rndrusd, rndreur, vegausd, vegaeur, 1inchusd, 1incheur, solusd, soleur, apeusd, apeeur, mplusd, mpleur, eurocusdc, euroceur, dotusd, doteur, nearusd, neareur, dogeusd, dogeeur, suiusd, suieur |
Response (JSON) | |
Returns a JSON dictionary like the ticker call, with the calculated values being from within an hour. |
Order book
Request | |
GET | https://www.bitstamp.net/api/v2/order_book/{currency_pair}/ |
Supported values for currency_pair: btcusd, btceur, btcgbp, btcpax, gbpusd, gbpeur, eurusd, xrpusd, xrpeur, xrpbtc, xrpgbp, ltcbtc, ltcusd, ltceur, ltcgbp, ethbtc, ethusd, etheur, ethgbp, ethpax, bchusd, bcheur, bchbtc, paxusd, xlmbtc, xlmusd, xlmeur, xlmgbp, linkusd, linkeur, linkgbp, linkbtc, usdcusd, usdceur, btcusdc, ethusdc, eth2eth, aaveusd, aaveeur, aavebtc, batusd, bateur, umausd, umaeur, daiusd, kncusd, knceur, mkrusd, mkreur, zrxusd, zrxeur, gusdusd, algousd, algoeur, algobtc, audiousd, audioeur, audiobtc, crvusd, crveur, snxusd, snxeur, uniusd, unieur, unibtc, yfiusd, yfieur, compusd, compeur, grtusd, grteur, lrcusd, lrceur, usdtusd, usdteur, usdcusdt, btcusdt, ethusdt, xrpusdt, eurteur, eurtusd, flrusd, flreur, manausd, manaeur, maticusd, maticeur, sushiusd, sushieur, chzusd, chzeur, enjusd, enjeur, hbarusd, hbareur, alphausd, alphaeur, axsusd, axseur, sandusd, sandeur, storjusd, storjeur, adausd, adaeur, adabtc, fetusd, feteur, sklusd, skleur, slpusd, slpeur, sxpusd, sxpeur, sgbusd, sgbeur, avaxusd, avaxeur, dydxusd, dydxeur, ftmusd, ftmeur, shibusd, shibeur, ampusd, ampeur, ensusd, enseur, galausd, galaeur, perpusd, perpeur, wbtcbtc, ctsiusd, ctsieur, cvxusd, cvxeur, imxusd, imxeur, nexousd, nexoeur, antusd, anteur, godsusd, godseur, radusd, radeur, bandusd, bandeur, injusd, injeur, rlyusd, rlyeur, rndrusd, rndreur, vegausd, vegaeur, 1inchusd, 1incheur, solusd, soleur, apeusd, apeeur, mplusd, mpleur, eurocusdc, euroceur, dotusd, doteur, nearusd, neareur, dogeusd, dogeeur, suiusd, suieur | |
Request parameters | |
group (Optional) | The group parameter is used for accessing different data from order book. Possible values are 0 (orders are not grouped at same price), 1 (orders are grouped at same price - default) or 2 (orders with their order ids are not grouped at same price). |
Response (JSON): success | |
Using optional group parameter with value 2 response will also have "microtimestamp" - when order book was generated and "bids" and "asks" list of orders will show price, amount and order id for each order. |
Response (JSON): failure | |
status | "error" |
reason | The reason for the error. |
POST method not allowed for this request. | HTTP method other than GET used |
Invalid GET parameter. | Missing group parameter |
Internal error. | Order book unavailable |
Transactions
Request | |
GET | https://www.bitstamp.net/api/v2/transactions/{currency_pair}/ |
Supported values for currency_pair: btcusd, btceur, btcgbp, btcpax, gbpusd, gbpeur, eurusd, xrpusd, xrpeur, xrpbtc, xrpgbp, ltcbtc, ltcusd, ltceur, ltcgbp, ethbtc, ethusd, etheur, ethgbp, ethpax, bchusd, bcheur, bchbtc, paxusd, xlmbtc, xlmusd, xlmeur, xlmgbp, linkusd, linkeur, linkgbp, linkbtc, usdcusd, usdceur, btcusdc, ethusdc, eth2eth, aaveusd, aaveeur, aavebtc, batusd, bateur, umausd, umaeur, daiusd, kncusd, knceur, mkrusd, mkreur, zrxusd, zrxeur, gusdusd, algousd, algoeur, algobtc, audiousd, audioeur, audiobtc, crvusd, crveur, snxusd, snxeur, uniusd, unieur, unibtc, yfiusd, yfieur, compusd, compeur, grtusd, grteur, lrcusd, lrceur, usdtusd, usdteur, usdcusdt, btcusdt, ethusdt, xrpusdt, eurteur, eurtusd, flrusd, flreur, manausd, manaeur, maticusd, maticeur, sushiusd, sushieur, chzusd, chzeur, enjusd, enjeur, hbarusd, hbareur, alphausd, alphaeur, axsusd, axseur, sandusd, sandeur, storjusd, storjeur, adausd, adaeur, adabtc, fetusd, feteur, sklusd, skleur, slpusd, slpeur, sxpusd, sxpeur, sgbusd, sgbeur, avaxusd, avaxeur, dydxusd, dydxeur, ftmusd, ftmeur, shibusd, shibeur, ampusd, ampeur, ensusd, enseur, galausd, galaeur, perpusd, perpeur, wbtcbtc, ctsiusd, ctsieur, cvxusd, cvxeur, imxusd, imxeur, nexousd, nexoeur, antusd, anteur, godsusd, godseur, radusd, radeur, bandusd, bandeur, injusd, injeur, rlyusd, rlyeur, rndrusd, rndreur, vegausd, vegaeur, 1inchusd, 1incheur, solusd, soleur, apeusd, apeeur, mplusd, mpleur, eurocusdc, euroceur, dotusd, doteur, nearusd, neareur, dogeusd, dogeeur, suiusd, suieur | |
Request parameters | |
time (Optional) | The time interval from which we want the transactions to be returned. Possible values are minute, hour (default) or day. |
Response (JSON) - descending list of transactions. Every transaction dictionary contains: | |
date | Unix timestamp date and time. |
tid | Transaction ID. |
price | Price in counter currency. |
amount | Amount in base currency. |
type | 0 (buy) or 1 (sell). |
Trading pairs info
Request | |
GET | https://www.bitstamp.net/api/v2/trading-pairs-info/ |
Response (JSON) - list of trading pairs. Every trading pair dictionary contains: | |
name | Trading pair. |
url_symbol | URL symbol of trading pair. |
base_decimals | Decimal precision for base currency (BTC/USD - base: BTC). |
counter_decimals | Decimal precision for counter currency (BTC/USD - counter: USD). |
instant_order_counter_decimals | Decimal precision for counter currency for instant buy and cash sell orders. |
minimum_order | Minimum order size. |
trading | Trading engine status (Enabled/Disabled). |
instant_and_market_orders | Instant and market orders status (Enabled/Disabled). |
description | Trading pair description. |
Currencies
Request | |
GET | https://www.bitstamp.net/api/v2/currencies/ |
Response (JSON) - list of currencies. Every currency contains: | |
currency | Currency ticker. |
name | Currency name. |
symbol | Currency symbol. |
type | Currency type (crypto or fiat). |
decimals | Decimal precision for currency. |
logo | Currency logo url. |
available_supply | Available supply. |
OHLC data
Request | |
GET | https://www.bitstamp.net/api/v2/ohlc/{currency_pair}/ |
Supported values for currency_pair: btcusd, btceur, btcgbp, btcpax, gbpusd, gbpeur, eurusd, xrpusd, xrpeur, xrpbtc, xrpgbp, ltcbtc, ltcusd, ltceur, ltcgbp, ethbtc, ethusd, etheur, ethgbp, ethpax, bchusd, bcheur, bchbtc, paxusd, xlmbtc, xlmusd, xlmeur, xlmgbp, linkusd, linkeur, linkgbp, linkbtc, usdcusd, usdceur, btcusdc, ethusdc, eth2eth, aaveusd, aaveeur, aavebtc, batusd, bateur, umausd, umaeur, daiusd, kncusd, knceur, mkrusd, mkreur, zrxusd, zrxeur, gusdusd, algousd, algoeur, algobtc, audiousd, audioeur, audiobtc, crvusd, crveur, snxusd, snxeur, uniusd, unieur, unibtc, yfiusd, yfieur, compusd, compeur, grtusd, grteur, lrcusd, lrceur, usdtusd, usdteur, usdcusdt, btcusdt, ethusdt, xrpusdt, eurteur, eurtusd, flrusd, flreur, manausd, manaeur, maticusd, maticeur, sushiusd, sushieur, chzusd, chzeur, enjusd, enjeur, hbarusd, hbareur, alphausd, alphaeur, axsusd, axseur, sandusd, sandeur, storjusd, storjeur, adausd, adaeur, adabtc, fetusd, feteur, sklusd, skleur, slpusd, slpeur, sxpusd, sxpeur, sgbusd, sgbeur, avaxusd, avaxeur, dydxusd, dydxeur, ftmusd, ftmeur, shibusd, shibeur, ampusd, ampeur, ensusd, enseur, galausd, galaeur, perpusd, perpeur, wbtcbtc, ctsiusd, ctsieur, cvxusd, cvxeur, imxusd, imxeur, nexousd, nexoeur, antusd, anteur, godsusd, godseur, radusd, radeur, bandusd, bandeur, injusd, injeur, rlyusd, rlyeur, rndrusd, rndreur, vegausd, vegaeur, 1inchusd, 1incheur, solusd, soleur, apeusd, apeeur, mplusd, mpleur, eurocusdc, euroceur, dotusd, doteur, nearusd, neareur, dogeusd, dogeeur, suiusd, suieur | |
Request parameters | |
start (Optional) | Unix timestamp from when OHLC data will be started. |
end (Optional) | Unix timestamp to when OHLC data will be shown. |
If none from start or end timestamps are posted then endpoint returns OHLC data to current unixtime. If both start and end timestamps are posted, end timestamp will be used. | |
step | Timeframe in seconds. Possible options are 60, 180, 300, 900, 1800, 3600, 7200, 14400, 21600, 43200, 86400, 259200 |
limit | Limit OHLC results (minimum: 1; maximum: 1000) |
exclude_current_candle (Optional) | If set, results won't include current (open) candle. Possible value: True |
Response (JSON): success - Returns a dictionary of tick data for selected trading pair. Each tick in the dictionary is represented as a list of OHLC data. | |
pair | Trading pair |
high | Price high |
timestamp | Unix timestamp date and time |
volume | Volume |
low | Price low |
close | Closing price |
open | Opening price |
Response (JSON): failure | |
code | "Error code" |
errors | List with 'field', 'message' and 'code' fields. |
Missing data for required field. | Step and limit parameters are missing. |
Not a valid choice. | Value entered in parameter is invalid. |
Must be between 1 and 1000. | Limit value must be between 1 and 1000. |
EUR/USD conversion rate
Request | |
GET | https://www.bitstamp.net/api/v2/eur_usd/ |
Response (JSON) | |
buy | Buy conversion rate. |
sell | Sell conversion rate. |
API authentication
All private API calls require authentication. For a successful authentication you need to provide the following authorization headers in your request:
Request headers | |
X-Auth | "BITSTAMP" + " " + api_key |
X-Auth-Signature | sha256.hmac(string_to_sign, api_secret) |
X-Auth-Nonce | Client generated random nonce: - lowercase, - 36 char string, - each nonce can be used only once within a timeframe of 150 seconds. Example: "f93c979d-b00d-43a9-9b9c-fd4cd9547fa6" |
X-Auth-Timestamp | Request departure timestamp UTC in milliseconds. If timestamp is more than 150 seconds from current server time, it will not allow to make the request. Example: "1567755304968" |
X-Auth-Version | "v2" |
Content-Type | "Please note that you do not need to set Content-Type header if there is no body." |
string_to_sign is your signature message. Content-Type should not be added to the string if request.body is empty.
The following have to be combined into a single string:
"BITSTAMP" + " " + api_key + \
HTTP Verb + \
url.host + \
url.path + \
url.query + \
Content-Type + \
X-Auth-Nonce + \
X-Auth-Timestamp + \
X-Auth-Version + \
request.body
Below are the details describing each part of the signature message.
string_to_sign | |
"BITSTAMP" + " " + "$apiKey" | Same as authorization header. |
HTTP Verb | The HTTP (uppercase) verb. Example: "GET", "POST" |
url.host | The hostname (lowercase), matching the HTTP "Host" request header field (including any port number).Example: "www.bitstamp.net" |
url.path | The HTTP request path with leading slash.Example: "/api/v2/balance/" |
url.query | Any query parameters or empty string. This should be the exact string sent by the client, including urlencoding.Example: "?limit=100&sort=asc" |
Content-Type | Same as authorization header. |
X-Auth-Nonce | Same as authorization header. |
X-Auth-Timestamp | Same as authorization header. |
X-Auth-Version | Same as authorization header. |
request.body | As is. |
Code | Reason | Action |
API0001 | API key not found | Check your API key value |
API0002 | IP address not allowed | This IP address has no permission to use this API key |
API0003 | No permission found | API key doesn't have permission for calling this api endpoint |
API0004 | Invalid nonce | Check your nonce value. It must be different than last nonce used in the last 150 seconds. |
API0005 | Invalid signature | Posted signature doesn't match with ours |
API0006 | Your account is frozen | Contact support to unfreeze your account |
API0008 | Authentication failed | Can't find customer with selected API key |
API0009 | Please update your profile with your FATCA information, before using API. | Check that you filled out the FATCA information form on your account. |
API0010 | Invalid version | Check that you send "v2" in the version authorization header. |
API0011 | Wrong API key format | Check that your API key string is correct. |
API0012 | X-Auth header is required | X-Auth header is probably missing in your request |
API0013 | X-Auth-Signature header is required | X-Auth-Signature header is probably missing in your request |
API0014 | X-Auth-Nonce header is required | X-Auth-Nonce header is probably missing in your request |
API0015 | X-Auth-Timestamp header is required | X-Auth-Timestamp header is probably missing in your request |
API0016 | X-Auth-Version header is required | X-Auth-Version header is probably missing in your request |
API0017 | X-Auth-Timestamp header is out of boundaries | Timestamp you added in the header is either too old or too new. Check that timestamp is within 150 second timeframe. |
API0018 | X-Auth-Timestamp header is invalid | Check the format of X-Auth-Timestamp header. |
API0019 | Content-Type header is not accepted | Please specify the correct content type. |
API0020 | Content-Type header should not be present | Please make sure you're not sending any body in the request. |
API0021 | Please make sure url query string is not too long | Please make sure the total length of the url does not exceed 2000 characters. |
Authentication examples:
import hashlib
import hmac
import time
import requests
import uuid
import sys
api_key = 'api_key'
API_SECRET = b'api_key_secret'
timestamp = str(int(round(time.time() * 1000)))
nonce = str(uuid.uuid4())
content_type = 'application/x-www-form-urlencoded'
payload = {'offset': '1'}
if sys.version_info.major >= 3:
from urllib.parse import urlencode
else:
from urllib import urlencode
payload_string = urlencode(payload)
# '' (empty string) in message represents any query parameters or an empty string in case there are none
message = 'BITSTAMP ' + api_key + \
'POST' + \
'www.bitstamp.net' + \
'/api/v2/user_transactions/' + \
'' + \
content_type + \
nonce + \
timestamp + \
'v2' + \
payload_string
message = message.encode('utf-8')
signature = hmac.new(API_SECRET, msg=message, digestmod=hashlib.sha256).hexdigest()
headers = {
'X-Auth': 'BITSTAMP ' + api_key,
'X-Auth-Signature': signature,
'X-Auth-Nonce': nonce,
'X-Auth-Timestamp': timestamp,
'X-Auth-Version': 'v2',
'Content-Type': content_type
}
r = requests.post(
'https://www.bitstamp.net/api/v2/user_transactions/',
headers=headers,
data=payload_string
)
if not r.status_code == 200:
raise Exception('Status code not 200')
string_to_sign = (nonce + timestamp + r.headers.get('Content-Type')).encode('utf-8') + r.content
signature_check = hmac.new(API_SECRET, msg=string_to_sign, digestmod=hashlib.sha256).hexdigest()
if not r.headers.get('X-Server-Auth-Signature') == signature_check:
raise Exception('Signatures do not match')
print(r.content)
package com.example.AuthenticationExample;
import org.apache.commons.codec.binary.Hex;
import javax.crypto.Mac;
import javax.crypto.spec.SecretKeySpec;
import java.net.URI;
import java.net.http.HttpClient;
import java.net.http.HttpRequest;
import java.net.http.HttpResponse;
import java.util.UUID;
public class Authentication {
public static void main(String[] args) {
String apiKey = String.format("%s %s", "BITSTAMP", "api_key");
String apiKeySecret = "api_key_secret";
String httpVerb = "POST";
String urlHost = "www.bitstamp.net";
String urlPath = "/api/v2/user_transactions/";
String urlQuery = "";
String timestamp = String.valueOf(System.currentTimeMillis());
String nonce = UUID.randomUUID().toString();
String contentType = "application/x-www-form-urlencoded";
String version = "v2";
String payloadString = "offset=1";
String signature = apiKey +
httpVerb +
urlHost +
urlPath +
urlQuery +
contentType +
nonce +
timestamp +
version +
payloadString;
try {
SecretKeySpec secretKey = new SecretKeySpec(apiKeySecret.getBytes(), "HmacSHA256");
Mac mac = Mac.getInstance("HmacSHA256");
mac.init(secretKey);
byte[] rawHmac = mac.doFinal(signature.getBytes());
signature = new String(Hex.encodeHex(rawHmac)).toUpperCase();
HttpClient client = HttpClient.newHttpClient();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("https://www.bitstamp.net/api/v2/user_transactions/"))
.POST(HttpRequest.BodyPublishers.ofString(payloadString))
.setHeader("X-Auth", apiKey)
.setHeader("X-Auth-Signature", signature)
.setHeader("X-Auth-Nonce", nonce)
.setHeader("X-Auth-Timestamp", timestamp)
.setHeader("X-Auth-Version", version)
.setHeader("Content-Type", contentType)
.build();
HttpResponse<String> response = client.send(request, HttpResponse.BodyHandlers.ofString());
if (response.statusCode() != 200) {
throw new RuntimeException("Status code not 200");
}
String serverSignature = response.headers().map().get("x-server-auth-signature").get(0);
String responseContentType = response.headers().map().get("Content-Type").get(0);
String stringToSign = nonce + timestamp + responseContentType + response.body();
mac.init(secretKey);
byte[] rawHmacServerCheck = mac.doFinal(stringToSign.getBytes());
String newSignature = new String(Hex.encodeHex(rawHmacServerCheck));
if (!newSignature.equals(serverSignature)) {
throw new RuntimeException("Signatures do not match");
}
System.out.println(response.body());
} catch (Exception e) {
throw new RuntimeException(e);
}
}
}
#include <curl/curl.h>
#include <openssl/hmac.h>
#include <uuid/uuid.h>
#include <iostream>
#include <string>
#include <chrono>
#include <iomanip>
static size_t write_call_back(void *contents, size_t size, size_t nmemb, void *userp)
{
((std::string*)userp)->append((char*)contents, size * nmemb);
return size * nmemb;
}
std::string b2a_hex(char *byte_arr, int n)
{
const static std::string hex_codes = "0123456789abcdef";
std::string hex_string;
for ( int i = 0; i < n ; ++i ) {
unsigned char bin_value = byte_arr[i];
hex_string += hex_codes[( bin_value >> 4 ) & 0x0F];
hex_string += hex_codes[bin_value & 0x0F];
}
return hex_string;
}
std::string url_encode(std::string data)
{
std::string res = data;
CURL *curl = curl_easy_init();
if(curl) {
char *output = curl_easy_escape(curl, data.c_str(), data.length());
if(output) {
res = output;
curl_free(output);
}
}
return res;
}
int main() {
const std::string api_key = "api_key";
const std::string api_secret = "api_key_secret";
std::chrono::milliseconds timestamp = std::chrono::duration_cast< std::chrono::milliseconds >(
std::chrono::system_clock::now().time_since_epoch()
);
uuid_t uuid;
uuid_string_t nonce;
uuid_generate(uuid);
uuid_unparse_lower(uuid, nonce);
std::string x_auth = "BITSTAMP " + api_key;
std::string x_auth_nonce = nonce;
std::string x_auth_timestamp = std::to_string(timestamp.count());
std::string x_auth_version = "v2";
std::string content_type = "application/x-www-form-urlencoded";
std::string payload = url_encode("{offset:1}");
std::string http_method = "POST";
std::string url_host = "www.bitstamp.net";
std::string url_path = "/api/v2/user_transactions/";
std::string url_query = "";
std::string data_to_sign = "";
data_to_sign.append(x_auth);
data_to_sign.append(http_method);
data_to_sign.append(url_host);
data_to_sign.append(url_path);
data_to_sign.append(url_query);
data_to_sign.append(content_type);
data_to_sign.append(x_auth_nonce);
data_to_sign.append(x_auth_timestamp);
data_to_sign.append(x_auth_version);
data_to_sign.append(payload);
// calculate hmac signature
unsigned char* result;
unsigned int len = 20;
result = (unsigned char*)malloc(sizeof(char) * len);
HMAC_CTX ctx;
HMAC_CTX_init(&ctx);
HMAC_Init_ex(&ctx, api_secret.c_str(), api_secret.length(), EVP_sha256(), NULL);
HMAC_Update(&ctx, (unsigned char*)data_to_sign.c_str(), data_to_sign.length());
HMAC_Final(&ctx, result, &len);
HMAC_CTX_cleanup(&ctx);
std::string x_auth_signature = b2a_hex( (char *)result, 32 );
free(result);
// send request
CURL *curl;
CURLcode res;
std::string read_buffer;
curl = curl_easy_init();
if(curl) {
struct curl_slist *headers = NULL;
headers = curl_slist_append(headers, ("X-Auth: " + x_auth).c_str());
headers = curl_slist_append(headers, ("X-Auth-Signature: " + x_auth_signature).c_str());
headers = curl_slist_append(headers, ("X-Auth-Nonce: " + x_auth_nonce).c_str());
headers = curl_slist_append(headers, ("X-Auth-Timestamp: " + x_auth_timestamp).c_str());
headers = curl_slist_append(headers, ("X-Auth-Version: " + x_auth_version).c_str());
headers = curl_slist_append(headers, ("Content-Type: " + content_type).c_str());
std::string url = "https://" + url_host + url_path + url_query;
curl_easy_setopt(curl, CURLOPT_URL, url.c_str());
curl_easy_setopt(curl, CURLOPT_POSTFIELDS, payload.c_str());
curl_easy_setopt(curl, CURLOPT_HTTPHEADER, headers);
curl_easy_setopt(curl, CURLOPT_WRITEFUNCTION, write_call_back);
curl_easy_setopt(curl, CURLOPT_WRITEDATA, &read_buffer);
res = curl_easy_perform(curl);
if(res != CURLE_OK) {
std::cout << "curl_easy_perform() failed: " << curl_easy_strerror(res) << std::endl;
}
std::cout << "curl_easy_perform() response: " << read_buffer << std::endl;
curl_easy_cleanup(curl);
}
return 0;
}
Private Functions
Account balances
This call will be executed on the account (Sub or Main), to which the used API key is bound to.
Request | |
POST | https://www.bitstamp.net/api/v2/account_balances/ |
Returns all the balances. |
Response (JSON) - Ordered list of non-zero balances. Every balance dictionary contains: | |
currency | Currency name. |
total | Total balance on exchange. |
available | Available balance for trading. |
reserved | Reserved balance for trading. |
Request | |
POST | https://www.bitstamp.net/api/v2/account_balances/{currency}/ |
Returns balances relevant to the specified currency parameter. Supported values for currency: usd, eur, gbp, bch, btc, eth, ltc, pax, xlm, xrp, eth2, eth2r, link, omg, usdc, aave, bat, uma, dai, knc, mkr, zrx, gusd, algo, audio, crv, snx, uni, yfi, comp, grt, lrc, usdt, eurt, flr, mana, matic, sushi, chz, enj, hbar, alpha, axs, ftt, sand, storj, ada, fet, rgt, skl, cel, slp, sxp, sgb, avax, dydx, ftm, shib, amp, ens, gala, perp, wbtc, ctsi, cvx, imx, nexo, ust, ant, gods, rad, band, inj, rly, rndr, vega, 1inch, sol, boba, ape, mpl, euroc, dot, near, doge, sui. |
Response (JSON) | |
currency | Currency name. |
total | Total balance on exchange. |
available | Available balance for trading. |
reserved | Reserved balance for trading. |
Authentication errors |
Trading pairs
This call will be executed on the account (Sub or Main), to which the used API key is bound to.
Request | |
POST | https://www.bitstamp.net/api/v2/my_trading_pairs/ |
Returns all trading pairs that can be traded on selected account. |
Response (JSON) - List of trading enabled pairs. | |
name | Trading pair. |
url_symbol | URL symbol of trading pair. |
Authentication errors |
Trading fees
This API call is cached for 10 seconds. This call will be executed on the account (Sub or Main), to which the used API key is bound to.
Request | |
POST | https://www.bitstamp.net/api/v2/fees/trading/ |
Returns all the trading fees in percentages. | |
Response (JSON) - Ordered list of trading fees where each is represented as a dictionary of: | |
currency_pair | Currency pair name. |
fees | Dictionary of maker and taker fees. |
maker | Fee for maker of the market. |
taker | Fee for taker of the market. |
Authentication errors |
Request | |
POST | https://www.bitstamp.net/api/v2/fees/trading/{currency_pair}/ |
Returns the trading fee in percentages for specified currency_pair parameter. Supported values for currency_pair: btcusd, btceur, btcgbp, btcpax, gbpusd, gbpeur, eurusd, xrpusd, xrpeur, xrpbtc, xrpgbp, ltcbtc, ltcusd, ltceur, ltcgbp, ethbtc, ethusd, etheur, ethgbp, ethpax, bchusd, bcheur, bchbtc, paxusd, xlmbtc, xlmusd, xlmeur, xlmgbp, linkusd, linkeur, linkgbp, linkbtc, usdcusd, usdceur, btcusdc, ethusdc, eth2eth, aaveusd, aaveeur, aavebtc, batusd, bateur, umausd, umaeur, daiusd, kncusd, knceur, mkrusd, mkreur, zrxusd, zrxeur, gusdusd, algousd, algoeur, algobtc, audiousd, audioeur, audiobtc, crvusd, crveur, snxusd, snxeur, uniusd, unieur, unibtc, yfiusd, yfieur, compusd, compeur, grtusd, grteur, lrcusd, lrceur, usdtusd, usdteur, usdcusdt, btcusdt, ethusdt, xrpusdt, eurteur, eurtusd, flrusd, flreur, manausd, manaeur, maticusd, maticeur, sushiusd, sushieur, chzusd, chzeur, enjusd, enjeur, hbarusd, hbareur, alphausd, alphaeur, axsusd, axseur, sandusd, sandeur, storjusd, storjeur, adausd, adaeur, adabtc, fetusd, feteur, sklusd, skleur, slpusd, slpeur, sxpusd, sxpeur, sgbusd, sgbeur, avaxusd, avaxeur, dydxusd, dydxeur, ftmusd, ftmeur, shibusd, shibeur, ampusd, ampeur, ensusd, enseur, galausd, galaeur, perpusd, perpeur, wbtcbtc, ctsiusd, ctsieur, cvxusd, cvxeur, imxusd, imxeur, nexousd, nexoeur, antusd, anteur, godsusd, godseur, radusd, radeur, bandusd, bandeur, injusd, injeur, rlyusd, rlyeur, rndrusd, rndreur, vegausd, vegaeur, 1inchusd, 1incheur, solusd, soleur, apeusd, apeeur, mplusd, mpleur, eurocusdc, euroceur, dotusd, doteur, nearusd, neareur, dogeusd, dogeeur, suiusd, suieur | |
Response (JSON) - Dictionary of trading fee, consisting of: | |
currency_pair | Currency pair name. |
fees | Dictionary of maker and taker fees. |
maker | Fee for maker of the market. |
taker | Fee for taker of the market. |
Authentication errors |
Withdrawal fees
This call will be executed on the account (Sub or Main), to which the used API key is bound to.
Request | |
POST | https://www.bitstamp.net/api/v2/fees/withdrawal/ |
Returns all the withdrawal fees in percentages. |
Response (JSON) - Ordered list of withdrawal fees, where each fee is represented as a dictionary of: | |
currency | Currency name. |
fee | Customer withdrawal fee. |
Authentication errors |
Request | |
POST | https://www.bitstamp.net/api/v2/fees/withdrawal/{currency}/ |
Returns the fee in percentages for specified currency parameter. Supported values for currency: bch, btc, eth, ltc, pax, xlm, xrp, link, omg, usdc, aave, bat, uma, dai, knc, mkr, zrx, gusd, algo, audio, crv, snx, uni, yfi, comp, grt, lrc, usdt, eurt, flr, mana, matic, sushi, chz, enj, hbar, alpha, axs, ftt, sand, storj, ada, fet, rgt, skl, cel, slp, sxp, sgb, avax, dydx, ftm, shib, amp, ens, gala, perp, wbtc, ctsi, cvx, imx, nexo, ust, ant, gods, rad, band, inj, rly, rndr, vega, 1inch, sol, boba, ape, mpl, euroc, dot, near, doge, sui |
Response (JSON) - Dictionary of withdrawal fee, consisting of: | |
currency | Currency name. |
fee | Customer withdrawal fee. |
Authentication errors |
User transactions
This call will be executed on the account (Sub or Main), to which the used API key is bound to.
Request | |
POST | https://www.bitstamp.net/api/v2/user_transactions/ |
Returns transactions for all currency pairs. | |
POST | https://www.bitstamp.net/api/v2/user_transactions/{currency_pair}/ |
Supported values for currency_pair: btcusd, btceur, btcgbp, btcpax, gbpusd, gbpeur, eurusd, xrpusd, xrpeur, xrpbtc, xrpgbp, ltcbtc, ltcusd, ltceur, ltcgbp, ethbtc, ethusd, etheur, ethgbp, ethpax, bchusd, bcheur, bchbtc, paxusd, xlmbtc, xlmusd, xlmeur, xlmgbp, linkusd, linkeur, linkgbp, linkbtc, usdcusd, usdceur, btcusdc, ethusdc, eth2eth, aaveusd, aaveeur, aavebtc, batusd, bateur, umausd, umaeur, daiusd, kncusd, knceur, mkrusd, mkreur, zrxusd, zrxeur, gusdusd, algousd, algoeur, algobtc, audiousd, audioeur, audiobtc, crvusd, crveur, snxusd, snxeur, uniusd, unieur, unibtc, yfiusd, yfieur, compusd, compeur, grtusd, grteur, lrcusd, lrceur, usdtusd, usdteur, usdcusdt, btcusdt, ethusdt, xrpusdt, eurteur, eurtusd, flrusd, flreur, manausd, manaeur, maticusd, maticeur, sushiusd, sushieur, chzusd, chzeur, enjusd, enjeur, hbarusd, hbareur, alphausd, alphaeur, axsusd, axseur, sandusd, sandeur, storjusd, storjeur, adausd, adaeur, adabtc, fetusd, feteur, sklusd, skleur, slpusd, slpeur, sxpusd, sxpeur, sgbusd, sgbeur, avaxusd, avaxeur, dydxusd, dydxeur, ftmusd, ftmeur, shibusd, shibeur, ampusd, ampeur, ensusd, enseur, galausd, galaeur, perpusd, perpeur, wbtcbtc, ctsiusd, ctsieur, cvxusd, cvxeur, imxusd, imxeur, nexousd, nexoeur, antusd, anteur, godsusd, godseur, radusd, radeur, bandusd, bandeur, injusd, injeur, rlyusd, rlyeur, rndrusd, rndreur, vegausd, vegaeur, 1inchusd, 1incheur, solusd, soleur, apeusd, apeeur, mplusd, mpleur, eurocusdc, euroceur, dotusd, doteur, nearusd, neareur, dogeusd, dogeeur, suiusd, suieur | |
Request parameters | |
offset |
Skip that many transactions before returning results (default: 0,
maximum: 200000). If you need to export older history contact support OR use combination of limit and since_id parameters |
limit | Limit result to that many transactions (default: 100; maximum: 1000). |
sort | Sorting by date and time: asc - ascending; desc - descending (default: desc). |
since_timestamp (Optional) | Show only transactions from unix timestamp (for max 30 days old). |
since_id (Optional) |
Show only transactions from specified transaction id. If since_id parameter is used, limit parameter is set to 1000. |
Response (JSON): success - Returns a descending list of transactions, represented as dictionaries. | |
datetime | Date and time. |
id | Transaction ID. |
type | Transaction type: 0 - deposit; 1 - withdrawal; 2 - market trade; 14 - sub account transfer; 25 - credited with staked assets; 26 - sent assets to staking; 27 - staking reward; 32 - referral reward; 35 - inter account transfer; 37 - lending reward; 46 - converted asset; |
usd | USD amount. |
eur | EUR amount. |
btc | BTC amount. |
xrp | XRP amount. |
gbp | GBP amount. |
bch | BCH amount. |
eth | ETH amount. |
ltc | LTC amount. |
pax | PAX amount. |
xlm | XLM amount. |
eth2 | ETH2 amount. |
eth2r | ETH2R amount. |
link | LINK amount. |
omg | OMG amount. |
usdc | USDC amount. |
aave | AAVE amount. |
bat | BAT amount. |
uma | UMA amount. |
dai | DAI amount. |
knc | KNC amount. |
mkr | MKR amount. |
zrx | ZRX amount. |
gusd | GUSD amount. |
algo | ALGO amount. |
audio | AUDIO amount. |
crv | CRV amount. |
snx | SNX amount. |
uni | UNI amount. |
yfi | YFI amount. |
comp | COMP amount. |
grt | GRT amount. |
lrc | LRC amount. |
usdt | USDT amount. |
eurt | EURT amount. |
flr | FLR amount. |
mana | MANA amount. |
matic | MATIC amount. |
sushi | SUSHI amount. |
chz | CHZ amount. |
enj | ENJ amount. |
hbar | HBAR amount. |
alpha | ALPHA amount. |
axs | AXS amount. |
ftt | FTT amount. |
sand | SAND amount. |
storj | STORJ amount. |
ada | ADA amount. |
fet | FET amount. |
rgt | RGT amount. |
skl | SKL amount. |
cel | CEL amount. |
slp | SLP amount. |
sxp | SXP amount. |
sgb | SGB amount. |
avax | AVAX amount. |
dydx | DYDX amount. |
ftm | FTM amount. |
shib | SHIB amount. |
amp | AMP amount. |
ens | ENS amount. |
gala | GALA amount. |
perp | PERP amount. |
wbtc | WBTC amount. |
ctsi | CTSI amount. |
cvx | CVX amount. |
imx | IMX amount. |
nexo | NEXO amount. |
ust | UST amount. |
ant | ANT amount. |
gods | GODS amount. |
rad | RAD amount. |
band | BAND amount. |
inj | INJ amount. |
rly | RLY amount. |
rndr | RNDR amount. |
vega | VEGA amount. |
1inch | 1INCH amount. |
sol | SOL amount. |
boba | BOBA amount. |
ape | APE amount. |
mpl | MPL amount. |
euroc | EUROC amount. |
dot | DOT amount. |
near | NEAR amount. |
doge | DOGE amount. |
sui | SUI amount. |
btc_usd (or other trading pair used, eg btc_eur) | Exchange rate. |
fee | Transaction fee. |
order_id | Executed order ID. |
Response (JSON): failure | |
status | "error" |
reason | The reason for the error. |
Authentication errors | |
Invalid offset | Offset parameter should be number from 0 to 200000 |
Limit too large | Max value of limit parameter is 1000 |
Invalid limit | Limit parameter should be number from 1 to 1000 |
Invalid sort parameter | Sort parameter can only be 'asc' or 'desc' |
Invalid since_timestamp parameter | since_timestamp must be an integer |
since_timestamp parameter must be higher than <timestamp>. | Make sure that since_timestamp is less than 30 days in the past |
Failed to convert since_timestamp parameter | Check the value of since_timestamp parameter |
Crypto transactions
This call will be executed on the account, to which the used API key is bound to. This call is for your main account only.
Request | |
POST | https://www.bitstamp.net/api/v2/crypto-transactions/ |
Returns data for all cryptocurrency deposits and withdrawals. | |
Request parameters | |
limit | Limit result to that many transactions (default: 100; minimum: 1; maximum: 1000). |
offset | Skip that many transactions before returning results (default: 0, maximum: 200000). |
include_ious (Optional) | True - shows also ripple IOU transactions. |
Response (JSON): success - Returns list of cryptocurrency deposits and withdrawals, where each transaction is represented as a dictionary. | |
currency | Currency |
destinationAddress | Destination Address |
txid | Transaction Hash |
amount | Amount |
datetime | Date and Time |
Response (JSON): failure | |
status | "error" |
reason | The reason for the error. |
Authentication errors | |
Limit too large | Max value of limit parameter is 1000 |
Invalid limit | Limit parameter should be number from 1 to 1000 |
Offset too large | Offset parameter cannot be larger than 200000 |
Invalid offset | Offset parameter needs to be a number from 0 to 200000 |
Open orders
This API call is cached for 10 seconds. This call will be executed on the account (Sub or Main), to which the used API key is bound to.
Request | |
POST | https://www.bitstamp.net/api/v2/open_orders/all/ |
Returns data for all currency pairs. | |
POST | https://www.bitstamp.net/api/v2/open_orders/{currency_pair}/ |
Supported values for currency_pair: btcusd, btceur, btcgbp, btcpax, gbpusd, gbpeur, eurusd, xrpusd, xrpeur, xrpbtc, xrpgbp, ltcbtc, ltcusd, ltceur, ltcgbp, ethbtc, ethusd, etheur, ethgbp, ethpax, bchusd, bcheur, bchbtc, paxusd, xlmbtc, xlmusd, xlmeur, xlmgbp, linkusd, linkeur, linkgbp, linkbtc, usdcusd, usdceur, btcusdc, ethusdc, eth2eth, aaveusd, aaveeur, aavebtc, batusd, bateur, umausd, umaeur, daiusd, kncusd, knceur, mkrusd, mkreur, zrxusd, zrxeur, gusdusd, algousd, algoeur, algobtc, audiousd, audioeur, audiobtc, crvusd, crveur, snxusd, snxeur, uniusd, unieur, unibtc, yfiusd, yfieur, compusd, compeur, grtusd, grteur, lrcusd, lrceur, usdtusd, usdteur, usdcusdt, btcusdt, ethusdt, xrpusdt, eurteur, eurtusd, flrusd, flreur, manausd, manaeur, maticusd, maticeur, sushiusd, sushieur, chzusd, chzeur, enjusd, enjeur, hbarusd, hbareur, alphausd, alphaeur, axsusd, axseur, sandusd, sandeur, storjusd, storjeur, adausd, adaeur, adabtc, fetusd, feteur, sklusd, skleur, slpusd, slpeur, sxpusd, sxpeur, sgbusd, sgbeur, avaxusd, avaxeur, dydxusd, dydxeur, ftmusd, ftmeur, shibusd, shibeur, ampusd, ampeur, ensusd, enseur, galausd, galaeur, perpusd, perpeur, wbtcbtc, ctsiusd, ctsieur, cvxusd, cvxeur, imxusd, imxeur, nexousd, nexoeur, antusd, anteur, godsusd, godseur, radusd, radeur, bandusd, bandeur, injusd, injeur, rlyusd, rlyeur, rndrusd, rndreur, vegausd, vegaeur, 1inchusd, 1incheur, solusd, soleur, apeusd, apeeur, mplusd, mpleur, eurocusdc, euroceur, dotusd, doteur, nearusd, neareur, dogeusd, dogeeur, suiusd, suieur |
Response (JSON): success - Returns a list of open orders, where each order is represented as a dictionary. | |
id | Order ID. |
datetime | Date and time. |
type | Type: 0 - buy; 1 - sell. |
price | Price. |
amount | Remaining amount. |
amount_at_create | Initial amount. |
currency_pair (if all currency pairs) | Currency Pair. |
client_order_id | Client order id. (Only returned if order was placed with client order id parameter.) |
Response (JSON): failure | |
status | "error" |
reason | The reason for the error. |
Authentication errors |
Order status
This call will be executed on the account (Sub or Main), to which the used API key is bound to.
Order can be fetched by using either id or client_order_id parameter.
For closed orders, this call only returns information for the last 30 days. 'Order not found' error will be returned for orders outside this time range.
Request | |
POST | https://www.bitstamp.net/api/v2/order_status/ |
Request parameters | |
id | Order ID. |
client_order_id | Client order id. (Can only be used if order was placed with client order id parameter.) |
omit_transactions (Optional) | Omits list of transactions for order ID. Possible values: True |
Response (JSON) | |
status | Open, Finished, Expired or Canceled. |
id | Order ID. |
transactions | Each transaction in list is represented as a dictionary of tid, usd, price, fee, btc, datetime and type (0 - deposit; 1 - withdrawal; 2 - market trade). |
amount_remaining | Amount remaining. |
client_order_id | Client order id. (Only returned if order was placed with client order id parameter.) |
Authentication errors | |
Missing id POST param | Id parameter missing |
Invalid order id | Order id parameter can only be number |
Order not found. | Order with that id was not found in our system |
Cancel order
This call will be executed on the account (Sub or Main), to which the used API key is bound to.
Request | |
POST | https://www.bitstamp.net/api/v2/cancel_order/ |
Request parameters | |
id | Order ID. |
Response (JSON): success | |
If https://www.bitstamp.net/api/v2/cancel_order/ | |
id | Order id. |
amount | Order amount. |
price | Order price. |
type | Order type. |
Response (JSON): failure | |
error | The reason for the error. |
Authentication errors | |
Missing id POST param | Id parameter missing |
Invalid order id | Order id parameter can only be number |
Order not found | Order with that id was not found in our system |
Internal error | Order could not be canceled (perhaps due to internal error or trade halt). Please retry cancelling order. |
Cancel all orders
This call will be executed on the account (Sub or Main), to which the used API key is bound to.
Request | |
POST | https://www.bitstamp.net/api/v2/cancel_all_orders/ |
Cancels all orders on an account. | |
POST | https://www.bitstamp.net/api/v2/cancel_all_orders/{currency_pair}/ |
Cancels all orders for specified currency_pair on an account. Supported values for currency_pair: btcusd, btceur, btcgbp, btcpax, gbpusd, gbpeur, eurusd, xrpusd, xrpeur, xrpbtc, xrpgbp, ltcbtc, ltcusd, ltceur, ltcgbp, ethbtc, ethusd, etheur, ethgbp, ethpax, bchusd, bcheur, bchbtc, paxusd, xlmbtc, xlmusd, xlmeur, xlmgbp, linkusd, linkeur, linkgbp, linkbtc, usdcusd, usdceur, btcusdc, ethusdc, eth2eth, aaveusd, aaveeur, aavebtc, batusd, bateur, umausd, umaeur, daiusd, kncusd, knceur, mkrusd, mkreur, zrxusd, zrxeur, gusdusd, algousd, algoeur, algobtc, audiousd, audioeur, audiobtc, crvusd, crveur, snxusd, snxeur, uniusd, unieur, unibtc, yfiusd, yfieur, compusd, compeur, grtusd, grteur, lrcusd, lrceur, usdtusd, usdteur, usdcusdt, btcusdt, ethusdt, xrpusdt, eurteur, eurtusd, flrusd, flreur, manausd, manaeur, maticusd, maticeur, sushiusd, sushieur, chzusd, chzeur, enjusd, enjeur, hbarusd, hbareur, alphausd, alphaeur, axsusd, axseur, sandusd, sandeur, storjusd, storjeur, adausd, adaeur, adabtc, fetusd, feteur, sklusd, skleur, slpusd, slpeur, sxpusd, sxpeur, sgbusd, sgbeur, avaxusd, avaxeur, dydxusd, dydxeur, ftmusd, ftmeur, shibusd, shibeur, ampusd, ampeur, ensusd, enseur, galausd, galaeur, perpusd, perpeur, wbtcbtc, ctsiusd, ctsieur, cvxusd, cvxeur, imxusd, imxeur, nexousd, nexoeur, antusd, anteur, godsusd, godseur, radusd, radeur, bandusd, bandeur, injusd, injeur, rlyusd, rlyeur, rndrusd, rndreur, vegausd, vegaeur, 1inchusd, 1incheur, solusd, soleur, apeusd, apeeur, mplusd, mpleur, eurocusdc, euroceur, dotusd, doteur, nearusd, neareur, dogeusd, dogeeur, suiusd, suieur |
Response (JSON) | |
This call will cancel all open orders. Optionally limited to one currency pair. | |
https://www.bitstamp.net/api/v2/cancel_all_orders/ or https://www.bitstamp.net/api/v2/cancel_all_orders/{currency_pair}/ returns a dictionary with two keys |
|
canceled | A list of canceled orders. Where each order is represented as a dictionary. |
An order | |
id | Order id. |
amount | Order amount. |
price | Order price. |
type | Order type. |
currency_pair | Currency pair formatted as "BTC/USD". |
success | "true" if all orders were successfully canceled and "false" otherwise. |
Authentication errors |
Buy limit order
This call will be executed on the account (Sub or Main), to which the used API key is bound to.
Request | |
POST | https://www.bitstamp.net/api/v2/buy/{currency_pair}/ |
Supported values for currency_pair: btcusd, btceur, btcgbp, btcpax, gbpusd, gbpeur, eurusd, xrpusd, xrpeur, xrpbtc, xrpgbp, ltcbtc, ltcusd, ltceur, ltcgbp, ethbtc, ethusd, etheur, ethgbp, ethpax, bchusd, bcheur, bchbtc, paxusd, xlmbtc, xlmusd, xlmeur, xlmgbp, linkusd, linkeur, linkgbp, linkbtc, usdcusd, usdceur, btcusdc, ethusdc, eth2eth, aaveusd, aaveeur, aavebtc, batusd, bateur, umausd, umaeur, daiusd, kncusd, knceur, mkrusd, mkreur, zrxusd, zrxeur, gusdusd, algousd, algoeur, algobtc, audiousd, audioeur, audiobtc, crvusd, crveur, snxusd, snxeur, uniusd, unieur, unibtc, yfiusd, yfieur, compusd, compeur, grtusd, grteur, lrcusd, lrceur, usdtusd, usdteur, usdcusdt, btcusdt, ethusdt, xrpusdt, eurteur, eurtusd, flrusd, flreur, manausd, manaeur, maticusd, maticeur, sushiusd, sushieur, chzusd, chzeur, enjusd, enjeur, hbarusd, hbareur, alphausd, alphaeur, axsusd, axseur, sandusd, sandeur, storjusd, storjeur, adausd, adaeur, adabtc, fetusd, feteur, sklusd, skleur, slpusd, slpeur, sxpusd, sxpeur, sgbusd, sgbeur, avaxusd, avaxeur, dydxusd, dydxeur, ftmusd, ftmeur, shibusd, shibeur, ampusd, ampeur, ensusd, enseur, galausd, galaeur, perpusd, perpeur, wbtcbtc, ctsiusd, ctsieur, cvxusd, cvxeur, imxusd, imxeur, nexousd, nexoeur, antusd, anteur, godsusd, godseur, radusd, radeur, bandusd, bandeur, injusd, injeur, rlyusd, rlyeur, rndrusd, rndreur, vegausd, vegaeur, 1inchusd, 1incheur, solusd, soleur, apeusd, apeeur, mplusd, mpleur, eurocusdc, euroceur, dotusd, doteur, nearusd, neareur, dogeusd, dogeeur, suiusd, suieur | |
Request parameters | |
amount | Amount. |
price | Price. |
limit_price (Optional) | If the order gets executed, a new sell order will be placed, with "limit_price" as its price. |
daily_order (Optional) | Opens buy limit order which will be canceled at 0:00 UTC unless it already has been executed. Possible value: True |
ioc_order (Optional) | An Immediate-Or-Cancel (IOC) order is an order that must be executed immediately. Any portion of an IOC order that cannot be filled immediately will be cancelled. Possible value: True |
fok_order (Optional) | A Fill-Or-Kill (FOK) order is an order that must be executed immediately in its entirety. If the order cannot be immediately executed in its entirety, it will be cancelled. Possible value: True |
moc_order (Optional) | A Maker-Or-Cancel (MOC) order is an order that ensures it is not fully or partially filled when placed. In case it would be, the order is cancelled. Possible value: True |
gtd_order (Optional) | A Good-Till-Date (GTD) lets you select an expiration date and time up until which the order will be open. Possible value: True |
expire_time (Optional) | Unix timestamp in milliseconds. Required in case of GTD order. |
client_order_id (Optional) | Client order id set by client. Client order id needs to be a string. |
Response (JSON): success | |
id | Order ID. |
datetime | Date and time. |
type | 0 (buy) or 1 (sell). |
price | Price. |
amount | Amount. |
client_order_id | Client order ID sent with request. Only returned if parameter was used in request. |
Response (JSON): failure | |
status | "error" |
reason | The reason for the error. |
Authentication errors | |
Missing amount and/or price POST parameters | Missing one or both parameters |
'parameter': Enter a number. Use "." as a decimal point. | 'parameter' can only be number |
Minimum order size is 10 USD / 10 EUR / 10 GBP / 10 USDT / 10 USDC / 10 PAX / 10 GUSD / 0.0002 BTC / 0.002 ETH | Order value must be at least 10 USD / 10 EUR / 10 GBP / 10 USDT / 10 USDC / 10 PAX / 10 GUSD / 0.0002 BTC / 0.002 ETH |
Price is more than 20% above market price. | Order price must not exceed 20% of current price |
You need 'order_value' USD to open that order. You have only 'available_fiat' USD available. Check your account balance for details. | Account has less 'available_fiat' than is required to make this order |
Sell if executed price must be higher than buy price. | 'limit_price' must be larger than 'price' parameter |
Both limit_price and daily_order cannot be set. | Only one of those parameters can be set |
Order could not be placed. | Order could not be placed (perhaps due to internal error or trade halt). Please retry placing order. |
Buy market order
By placing a market order you acknowledge that the execution of your order depends on the market conditions and that these conditions may be subject to sudden changes that cannot be foreseen.
This call will be executed on the account (Sub or Main), to which the used API key is bound to.
Request | |
POST | https://www.bitstamp.net/api/v2/buy/market/{currency_pair}/ |
Supported values for currency_pair: btcusd, btceur, btcgbp, btcpax, gbpusd, gbpeur, eurusd, xrpusd, xrpeur, xrpbtc, xrpgbp, ltcbtc, ltcusd, ltceur, ltcgbp, ethbtc, ethusd, etheur, ethgbp, ethpax, bchusd, bcheur, bchbtc, paxusd, xlmbtc, xlmusd, xlmeur, xlmgbp, linkusd, linkeur, linkgbp, linkbtc, usdcusd, usdceur, btcusdc, ethusdc, eth2eth, aaveusd, aaveeur, aavebtc, batusd, bateur, umausd, umaeur, daiusd, kncusd, knceur, mkrusd, mkreur, zrxusd, zrxeur, gusdusd, algousd, algoeur, algobtc, audiousd, audioeur, audiobtc, crvusd, crveur, snxusd, snxeur, uniusd, unieur, unibtc, yfiusd, yfieur, compusd, compeur, grtusd, grteur, lrcusd, lrceur, usdtusd, usdteur, usdcusdt, btcusdt, ethusdt, xrpusdt, eurteur, eurtusd, flrusd, flreur, manausd, manaeur, maticusd, maticeur, sushiusd, sushieur, chzusd, chzeur, enjusd, enjeur, hbarusd, hbareur, alphausd, alphaeur, axsusd, axseur, sandusd, sandeur, storjusd, storjeur, adausd, adaeur, adabtc, fetusd, feteur, sklusd, skleur, slpusd, slpeur, sxpusd, sxpeur, sgbusd, sgbeur, avaxusd, avaxeur, dydxusd, dydxeur, ftmusd, ftmeur, shibusd, shibeur, ampusd, ampeur, ensusd, enseur, galausd, galaeur, perpusd, perpeur, wbtcbtc, ctsiusd, ctsieur, cvxusd, cvxeur, imxusd, imxeur, nexousd, nexoeur, antusd, anteur, godsusd, godseur, radusd, radeur, bandusd, bandeur, injusd, injeur, rlyusd, rlyeur, rndrusd, rndreur, vegausd, vegaeur, 1inchusd, 1incheur, solusd, soleur, apeusd, apeeur, mplusd, mpleur, eurocusdc, euroceur, dotusd, doteur, nearusd, neareur, dogeusd, dogeeur, suiusd, suieur | |
Request parameters | |
amount | Amount in base currency (Example: For BTC/USD pair, amount is quoted in BTC) |
client_order_id (Optional) | Client order id set by client. |
Response (JSON): success | |
id | Order ID. |
datetime | Date and time. |
type | 0 (buy) or 1 (sell). |
price | Price. |
amount | Amount. |
client_order_id | Client order id set by client. |
Response (JSON): failure | |
status | "error" |
reason | The reason for the error. |
Authentication errors | |
Missing amount and/or price POST parameters | Missing one or both parameters |
'parameter': Enter a number. Use "." as a decimal point. | 'parameter' can only be number |
Minimum order size is 10 USD / 10 EUR / 10 GBP / 10 USDT / 10 USDC / 10 PAX / 10 GUSD / 0.0002 BTC / 0.002 ETH | Order value must be at least 10 USD / 10 EUR / 10 GBP / 10 USDT / 10 USDC / 10 PAX / 10 GUSD / 0.0002 BTC / 0.002 ETH |
You can only buy 'amount' 'currency'. Check your account balance for details. | Account has less 'available_currency' than is required to make this order |
Maximum market buy amount at the moment is 'amount' 'currency'. Please use limit order instead. | Order amount exceeds the limit amount set for market buy orders |
Order could not be placed. | Order could not be placed (perhaps due to internal error or trade halt). Please retry placing order. |
Buy instant order
By placing an instant order you acknowledge that the execution of your order depends on the market conditions and that these conditions may be subject to sudden changes that cannot be foreseen.
This call will be executed on the account (Sub or Main), to which the used API key is bound to.
Request | |
POST | https://www.bitstamp.net/api/v2/buy/instant/{currency_pair}/ |
Supported values for currency_pair: btcusd, btceur, btcgbp, btcpax, gbpusd, gbpeur, eurusd, xrpusd, xrpeur, xrpbtc, xrpgbp, ltcbtc, ltcusd, ltceur, ltcgbp, ethbtc, ethusd, etheur, ethgbp, ethpax, bchusd, bcheur, bchbtc, paxusd, xlmbtc, xlmusd, xlmeur, xlmgbp, linkusd, linkeur, linkgbp, linkbtc, usdcusd, usdceur, btcusdc, ethusdc, eth2eth, aaveusd, aaveeur, aavebtc, batusd, bateur, umausd, umaeur, daiusd, kncusd, knceur, mkrusd, mkreur, zrxusd, zrxeur, gusdusd, algousd, algoeur, algobtc, audiousd, audioeur, audiobtc, crvusd, crveur, snxusd, snxeur, uniusd, unieur, unibtc, yfiusd, yfieur, compusd, compeur, grtusd, grteur, lrcusd, lrceur, usdtusd, usdteur, usdcusdt, btcusdt, ethusdt, xrpusdt, eurteur, eurtusd, flrusd, flreur, manausd, manaeur, maticusd, maticeur, sushiusd, sushieur, chzusd, chzeur, enjusd, enjeur, hbarusd, hbareur, alphausd, alphaeur, axsusd, axseur, sandusd, sandeur, storjusd, storjeur, adausd, adaeur, adabtc, fetusd, feteur, sklusd, skleur, slpusd, slpeur, sxpusd, sxpeur, sgbusd, sgbeur, avaxusd, avaxeur, dydxusd, dydxeur, ftmusd, ftmeur, shibusd, shibeur, ampusd, ampeur, ensusd, enseur, galausd, galaeur, perpusd, perpeur, wbtcbtc, ctsiusd, ctsieur, cvxusd, cvxeur, imxusd, imxeur, nexousd, nexoeur, antusd, anteur, godsusd, godseur, radusd, radeur, bandusd, bandeur, injusd, injeur, rlyusd, rlyeur, rndrusd, rndreur, vegausd, vegaeur, 1inchusd, 1incheur, solusd, soleur, apeusd, apeeur, mplusd, mpleur, eurocusdc, euroceur, dotusd, doteur, nearusd, neareur, dogeusd, dogeeur, suiusd, suieur | |
Request parameters | |
amount | Amount in counter currency (Example: For BTC/USD pair, amount is quoted in USD) |
client_order_id (Optional) | Client order id set by client. |
Response (JSON): success | |
id | Order ID. |
datetime | Date and time. |
type | 0 (buy) or 1 (sell). |
price | Price. |
amount | Amount. |
client_order_id | Client order id set by client. |
Response (JSON): failure | |
status | "error" |
reason | The reason for the error. |
Authentication errors | |
Missing amount and/or price POST parameters | Missing one or both parameters |
'parameter': Enter a number. Use "." as a decimal point. | 'parameter' can only be number |
Minimum order size is 10 USD / 10 EUR / 10 GBP / 10 USDT / 10 USDC / 10 PAX / 10 GUSD / 0.0002 BTC / 0.002 ETH | Order value must be at least 10 USD / 10 EUR / 10 GBP / 10 USDT / 10 USDC / 10 PAX / 10 GUSD / 0.0002 BTC / 0.002 ETH |
You can only buy 'amount' 'currency'. Check your account balance for details. | Account has less 'available_currency' than is required to make this order |
Order could not be placed. | Order could not be placed (perhaps due to internal error or trade halt). Please retry cancelling order. |
Sell limit order
This call will be executed on the account (Sub or Main), to which the used API key is bound to.
Request | |
POST | https://www.bitstamp.net/api/v2/sell/{currency_pair}/ |
Supported values for currency_pair: btcusd, btceur, btcgbp, btcpax, gbpusd, gbpeur, eurusd, xrpusd, xrpeur, xrpbtc, xrpgbp, ltcbtc, ltcusd, ltceur, ltcgbp, ethbtc, ethusd, etheur, ethgbp, ethpax, bchusd, bcheur, bchbtc, paxusd, xlmbtc, xlmusd, xlmeur, xlmgbp, linkusd, linkeur, linkgbp, linkbtc, usdcusd, usdceur, btcusdc, ethusdc, eth2eth, aaveusd, aaveeur, aavebtc, batusd, bateur, umausd, umaeur, daiusd, kncusd, knceur, mkrusd, mkreur, zrxusd, zrxeur, gusdusd, algousd, algoeur, algobtc, audiousd, audioeur, audiobtc, crvusd, crveur, snxusd, snxeur, uniusd, unieur, unibtc, yfiusd, yfieur, compusd, compeur, grtusd, grteur, lrcusd, lrceur, usdtusd, usdteur, usdcusdt, btcusdt, ethusdt, xrpusdt, eurteur, eurtusd, flrusd, flreur, manausd, manaeur, maticusd, maticeur, sushiusd, sushieur, chzusd, chzeur, enjusd, enjeur, hbarusd, hbareur, alphausd, alphaeur, axsusd, axseur, sandusd, sandeur, storjusd, storjeur, adausd, adaeur, adabtc, fetusd, feteur, sklusd, skleur, slpusd, slpeur, sxpusd, sxpeur, sgbusd, sgbeur, avaxusd, avaxeur, dydxusd, dydxeur, ftmusd, ftmeur, shibusd, shibeur, ampusd, ampeur, ensusd, enseur, galausd, galaeur, perpusd, perpeur, wbtcbtc, ctsiusd, ctsieur, cvxusd, cvxeur, imxusd, imxeur, nexousd, nexoeur, antusd, anteur, godsusd, godseur, radusd, radeur, bandusd, bandeur, injusd, injeur, rlyusd, rlyeur, rndrusd, rndreur, vegausd, vegaeur, 1inchusd, 1incheur, solusd, soleur, apeusd, apeeur, mplusd, mpleur, eurocusdc, euroceur, dotusd, doteur, nearusd, neareur, dogeusd, dogeeur, suiusd, suieur | |
Request parameters | |
amount | Amount. |
price | Price. |
limit_price (Optional) | If the order gets executed, a new buy order will be placed, with "limit_price" as its price. |
daily_order (Optional) | Opens sell limit order which will be canceled at 0:00 UTC unless it already has been executed. Possible value: True |
ioc_order (Optional) | An Immediate-Or-Cancel (IOC) order is an order that must be executed immediately. Any portion of an IOC order that cannot be filled immediately will be cancelled. Possible value: True |
fok_order (Optional) | A Fill-Or-Kill (FOK) order is an order that must be executed immediately in its entirety. If the order cannot be immediately executed in its entirety, it will be cancelled. Possible value: True |
moc_order (Optional) | A Maker-Or-Cancel (MOC) order is an order that ensures it is not fully or partially filled when placed. In case it would be, the order is cancelled. Possible value: True |
gtd_order (Optional) | A Good-Till-Date (GTD) lets you select an expiration date and time up until which the order will be open. Possible value: True |
expire_time (Optional) | Unix timestamp in milliseconds. Required in case of GTD order. |
client_order_id (Optional) | Client order id set by client. |
Response (JSON): success | |
id | Order ID. |
datetime | Date and time. |
type | 0 (buy) or 1 (sell). |
price | Price. |
amount | Amount. |
client_order_id | Client order ID sent with request. Only returned if parameter was used in request. |
Response (JSON): failure | |
status | "error" |
reason | The reason for the error. |
Authentication errors | |
Missing amount and/or price POST parameters | Missing one or both parameters |
'parameter': Enter a number. Use "." as a decimal point. | 'parameter' can only be number |
Minimum order size is 10 USD / 10 EUR / 10 GBP / 10 USDT / 10 USDC / 10 PAX / 10 GUSD / 0.0002 BTC / 0.002 ETH | Order value must be at least 10 USD / 10 EUR / 10 GBP / 10 USDT / 10 USDC / 10 PAX / 10 GUSD / 0.0002 BTC / 0.002 ETH |
Price is more than 20% below market price. | Order price must not exceed 20% of current price |
You have only 'available_btc' BTC available. Check your account balance for details. | Account has less 'available_btc' than is required to make this order |
Buy if executed price must be lower than sell price. | 'limit_price' must be lower than 'price' parameter |
Both limit_price and daily_order cannot be set. | Only one of those parameters can be set |
Order could not be placed. | Order could not be placed (perhaps due to internal error or trade halt). Please retry placing order. |
Sell market order
By placing a market order you acknowledge that the execution of your order depends on the market conditions and that these conditions may be subject to sudden changes that cannot be foreseen.
This call will be executed on the account (Sub or Main), to which the used API key is bound to.
Request | |
POST | https://www.bitstamp.net/api/v2/sell/market/{currency_pair}/ |
Supported values for currency_pair: btcusd, btceur, btcgbp, btcpax, gbpusd, gbpeur, eurusd, xrpusd, xrpeur, xrpbtc, xrpgbp, ltcbtc, ltcusd, ltceur, ltcgbp, ethbtc, ethusd, etheur, ethgbp, ethpax, bchusd, bcheur, bchbtc, paxusd, xlmbtc, xlmusd, xlmeur, xlmgbp, linkusd, linkeur, linkgbp, linkbtc, usdcusd, usdceur, btcusdc, ethusdc, eth2eth, aaveusd, aaveeur, aavebtc, batusd, bateur, umausd, umaeur, daiusd, kncusd, knceur, mkrusd, mkreur, zrxusd, zrxeur, gusdusd, algousd, algoeur, algobtc, audiousd, audioeur, audiobtc, crvusd, crveur, snxusd, snxeur, uniusd, unieur, unibtc, yfiusd, yfieur, compusd, compeur, grtusd, grteur, lrcusd, lrceur, usdtusd, usdteur, usdcusdt, btcusdt, ethusdt, xrpusdt, eurteur, eurtusd, flrusd, flreur, manausd, manaeur, maticusd, maticeur, sushiusd, sushieur, chzusd, chzeur, enjusd, enjeur, hbarusd, hbareur, alphausd, alphaeur, axsusd, axseur, sandusd, sandeur, storjusd, storjeur, adausd, adaeur, adabtc, fetusd, feteur, sklusd, skleur, slpusd, slpeur, sxpusd, sxpeur, sgbusd, sgbeur, avaxusd, avaxeur, dydxusd, dydxeur, ftmusd, ftmeur, shibusd, shibeur, ampusd, ampeur, ensusd, enseur, galausd, galaeur, perpusd, perpeur, wbtcbtc, ctsiusd, ctsieur, cvxusd, cvxeur, imxusd, imxeur, nexousd, nexoeur, antusd, anteur, godsusd, godseur, radusd, radeur, bandusd, bandeur, injusd, injeur, rlyusd, rlyeur, rndrusd, rndreur, vegausd, vegaeur, 1inchusd, 1incheur, solusd, soleur, apeusd, apeeur, mplusd, mpleur, eurocusdc, euroceur, dotusd, doteur, nearusd, neareur, dogeusd, dogeeur, suiusd, suieur | |
Request parameters | |
amount | Amount in base currency (Example: For BTC/USD pair, amount is quoted in BTC) |
client_order_id (Optional) | Client order id set by client. |
Response (JSON): success | |
id | Order ID. |
datetime | Date and time. |
type | 0 (buy) or 1 (sell). |
price | Price. |
amount | Amount. |
client_order_id | Client order id set by client. |
Response (JSON): failure | |
status | "error" |
reason | The reason for the error. |
Authentication errors | |
Missing amount and/or price POST parameters | Missing one or both parameters |
'parameter': Enter a number. Use "." as a decimal point. | 'parameter' can only be number |
Minimum order size is 10 USD / 10 EUR / 10 GBP / 10 USDT / 10 USDC / 10 PAX / 10 GUSD / 0.0002 BTC / 0.002 ETH | Order value must be at least 10 USD / 10 EUR / 10 GBP / 10 USDT / 10 USDC / 10 PAX / 10 GUSD / 0.0002 BTC / 0.002 ETH |
You can only sell 'amount' 'currency'. Check your account balance for details. | Account has less 'available_currency' than is required to make this order |
No buy orders for currency pair 'currency_pair' | The buy side of the orderbook for 'currency_pair' is empty, therefore a market sell order cannot be placed |
Maximum market sell amount at the moment is 'amount' 'currency'. Please use limit order instead. | Order amount exceeds the limit amount set for market sell orders |
Order could not be placed. | Order could not be placed (perhaps due to internal error or trade halt). Please retry placing order. |
Sell instant order
By placing an instant order you acknowledge that the execution of your order depends on the market conditions and that these conditions may be subject to sudden changes that cannot be foreseen.
This call will be executed on the account (Sub or Main), to which the used API key is bound to.
Request | |
POST | https://www.bitstamp.net/api/v2/sell/instant/{currency_pair}/ |
Supported values for currency_pair: btcusd, btceur, btcgbp, btcpax, gbpusd, gbpeur, eurusd, xrpusd, xrpeur, xrpbtc, xrpgbp, ltcbtc, ltcusd, ltceur, ltcgbp, ethbtc, ethusd, etheur, ethgbp, ethpax, bchusd, bcheur, bchbtc, paxusd, xlmbtc, xlmusd, xlmeur, xlmgbp, linkusd, linkeur, linkgbp, linkbtc, usdcusd, usdceur, btcusdc, ethusdc, eth2eth, aaveusd, aaveeur, aavebtc, batusd, bateur, umausd, umaeur, daiusd, kncusd, knceur, mkrusd, mkreur, zrxusd, zrxeur, gusdusd, algousd, algoeur, algobtc, audiousd, audioeur, audiobtc, crvusd, crveur, snxusd, snxeur, uniusd, unieur, unibtc, yfiusd, yfieur, compusd, compeur, grtusd, grteur, lrcusd, lrceur, usdtusd, usdteur, usdcusdt, btcusdt, ethusdt, xrpusdt, eurteur, eurtusd, flrusd, flreur, manausd, manaeur, maticusd, maticeur, sushiusd, sushieur, chzusd, chzeur, enjusd, enjeur, hbarusd, hbareur, alphausd, alphaeur, axsusd, axseur, sandusd, sandeur, storjusd, storjeur, adausd, adaeur, adabtc, fetusd, feteur, sklusd, skleur, slpusd, slpeur, sxpusd, sxpeur, sgbusd, sgbeur, avaxusd, avaxeur, dydxusd, dydxeur, ftmusd, ftmeur, shibusd, shibeur, ampusd, ampeur, ensusd, enseur, galausd, galaeur, perpusd, perpeur, wbtcbtc, ctsiusd, ctsieur, cvxusd, cvxeur, imxusd, imxeur, nexousd, nexoeur, antusd, anteur, godsusd, godseur, radusd, radeur, bandusd, bandeur, injusd, injeur, rlyusd, rlyeur, rndrusd, rndreur, vegausd, vegaeur, 1inchusd, 1incheur, solusd, soleur, apeusd, apeeur, mplusd, mpleur, eurocusdc, euroceur, dotusd, doteur, nearusd, neareur, dogeusd, dogeeur, suiusd, suieur | |
Request parameters | |
amount | Amount in base currency (Example: For BTC/USD pair, amount is quoted in BTC) |
amount_in_counter (Optional) | Instant sell orders allow you to sell an amount of the base currency determined by the value of it in the counter-currency. Amount_in_counter sets the amount parameter to refer to the counter currency instead of the base currency of the selected trading pair. Possible value: True |
client_order_id (Optional) | Client order id set by client. |
Response (JSON): success | |
id | Order ID. |
datetime | Date and time. |
type | 0 (buy) or 1 (sell). |
price | Price. |
amount | Amount. |
client_order_id | Client order ID sent with request. Only returned if parameter was used in request. |
Response (JSON): failure | |
status | "error" |
reason | The reason for the error. |
Authentication errors | |
Missing amount and/or price POST parameters | Missing one or both parameters |
'parameter': Enter a number. Use "." as a decimal point. | 'parameter' can only be number |
Minimum order size is 10 USD / 10 EUR / 10 GBP / 10 USDT / 10 USDC / 10 PAX / 10 GUSD / 0.0002 BTC / 0.002 ETH | Order value must be at least 10 USD / 10 EUR / 10 GBP / 10 USDT / 10 USDC / 10 PAX / 10 GUSD / 0.0002 BTC / 0.002 ETH |
You can only sell 'amount' 'currency'. Check your account balance for details. | Account has less 'available_currency' than is required to make this order |
Order could not be placed. | Order could not be placed (perhaps due to internal error or trade halt). Please retry placing order. |
'Order could not be placed' error response
Should you receive the error response 'Order could not be placed' when trying to place an order, please retry order placement.
Withdrawal requests
This call will be executed on the account (Sub or Main), to which the used API key is bound to.
Request | |
POST | https://www.bitstamp.net/api/v2/withdrawal-requests/ |
Request parameters | |
id (Optional) | Withdrawal request id. |
timedelta (Optional, default 86400) | Withdrawal requests from number of seconds ago to now (max. 50000000). |
limit (Optional) | Limit result to that many withdrawal requests (minimum: 1; maximum: 1000). |
offset (Optional) | Skip that many withdrawal requests before returning results (minimum: 0; maximum: 200000). |
Response (JSON) | |
id | Withdrawal ID. |
datetime | Date and time. |
type | 0 (SEPA), 2 (WIRE transfer), 17 (BCH), 1 (BTC), 16 (ETH), 15 (LTC), 18 (PAX), 19 (XLM), 14 (XRP), 20 (LINK), 21 (OMG), 22 (USDC), 24 (AAVE), 25 (BAT), 26 (UMA), 27 (DAI), 28 (KNC), 29 (MKR), 30 (ZRX), 31 (GUSD), 32 (ALGO), 33 (AUDIO), 34 (CRV), 35 (SNX), 36 (UNI), 38 (YFI), 39 (COMP), 40 (GRT), 41 (LRC), 42 (USDT), 43 (EURT), 44 (FLR), 45 (MANA), 46 (MATIC), 47 (SUSHI), 48 (CHZ), 49 (ENJ), 50 (HBAR), 51 (ALPHA), 52 (AXS), 53 (FTT), 54 (SAND), 55 (STORJ), 56 (ADA), 57 (FET), 58 (RGT), 59 (SKL), 60 (CEL), 61 (SLP), 62 (SXP), 63 (SGB), 64 (AVAX), 65 (DYDX), 66 (FTM), 67 (SHIB), 69 (AMP), 70 (ENS), 71 (GALA), 72 (PERP), 73 (WBTC), 74 (CTSI), 75 (CVX), 76 (IMX), 77 (NEXO), 78 (UST), 79 (ANT), 80 (GODS), 81 (RAD), 82 (BAND), 83 (INJ), 84 (RLY), 85 (RNDR), 86 (VEGA), 87 (1INCH), 88 (SOL), 97 (BOBA), 89 (APE), 90 (MPL), 91 (EUROC), 92 (DOT), 93 (NEAR), 98 (DOGE), 99 (SUI) |
currency | Currency. |
amount | Amount. |
status | 0 (open), 1 (in process), 2 (finished), 3 (canceled) or 4 (failed). |
txid | Bitstamp's transaction id. |
address (crypto withdrawals only) | Withdrawal address. |
transaction_id (crypto withdrawals only) | Transaction id. |
Authentication errors | |
Invalid timedelta | Timedelta needs to have only numeric characters. |
Timedelta too large | Timedelta too large. |
Invalid offset | Offset needs to be numeric characters between 0 and 200000. |
Invalid limit | Limit needs to be numeric characters between 1 and 1000. |
Invalid id | Id needs to have only numeric characters. |
Both limit and offset must be present | Both limit and offset must be present. |
Too many parameters | Pick one or combination of parameters and run again. |
Bitcoin Cash withdrawal
This call will be executed on the account, to which the used API key is bound to. This call is for your main account only.
Request | |
POST | https://www.bitstamp.net/api/v2/bch_withdrawal/ |
Request parameters | |
amount | Bitcoin Cash amount. |
address | Bitcoin Cash address. |
Response (JSON) | |
id | Withdrawal ID. |
Authentication errors | |
Missing amount and/or address POST parameters | One or both parameters missing. |
User not verified | Your account needs to be verified before you can use this endpoint. |
Bitcoin Cash withdrawals are currently unavailable for your account | Contact support for additional information. |
Not allowed to withdraw to specified Bitcoin Cash address | API key is set for withdrawing to another Bitcoin Cash address. |
Enter a number. Use "." as a decimal point | Amount parameter can only be number. |
You have only 'available' BCH available. Check your account balance for details | Account has less 'available' BCH that are required to make this withdrawal. |
Your withdrawals are currently disabled | No new withdrawals can be opened at this time. If a URL is provided you can follow it to resolve any issues which might be causing this. |
Ensure this value is greater than or equal to 0.001 | Minimum withdrawal amount is 0.001. |
Ensure this value has at least 25 characters (it has x) Ensure this value has at most 34 characters (it has x) |
Address parameter must be between 25 and 34 characters long. |
Bitcoin withdrawal
This call will be executed on the account, to which the used API key is bound to. This call is for your main account only.
Request | |
POST | https://www.bitstamp.net/api/v2/btc_withdrawal/ |
Request parameters | |
amount | Bitcoin amount. |
address | Bitcoin address. |
Response (JSON) | |
id | Withdrawal ID. |
Authentication errors | |
Missing amount and/or address POST parameters | One or both parameters missing. |
User not verified | Your account needs to be verified before you can use this endpoint. |
Bitcoin withdrawals are currently unavailable for your account | Contact support for additional information. |
Not allowed to withdraw to specified Bitcoin address | API key is set for withdrawing to another Bitcoin address. |
Enter a number. Use "." as a decimal point | Amount parameter can only be number. |
You have only 'available' BTC available. Check your account balance for details | Account has less 'available' BTC that are required to make this withdrawal. |
Your withdrawals are currently disabled | No new withdrawals can be opened at this time. If a URL is provided you can follow it to resolve any issues which might be causing this. |
Ensure this value is greater than or equal to 0.00006 | Minimum withdrawal amount is 0.00006. |
Ensure this value has at least 25 characters (it has x) Ensure this value has at most 90 characters (it has x) |
Address parameter must be between 25 and 90 characters long. |
Ether withdrawal
This call will be executed on the account, to which the used API key is bound to. This call is for your main account only.
Request | |
POST | https://www.bitstamp.net/api/v2/eth_withdrawal/ |
Request parameters | |
amount | Ether amount. |
address | Ether address. |
Response (JSON) | |
id | Withdrawal ID. |
Authentication errors | |
Missing amount and/or address POST parameters | One or both parameters missing. |
User not verified | Your account needs to be verified before you can use this endpoint. |
Ether withdrawals are currently unavailable for your account | Contact support for additional information. |
Not allowed to withdraw to specified Ether address | API key is set for withdrawing to another Ether address. |
Enter a number. Use "." as a decimal point | Amount parameter can only be number. |
You have only 'available' ETH available. Check your account balance for details | Account has less 'available' ETH that are required to make this withdrawal. |
Your withdrawals are currently disabled | No new withdrawals can be opened at this time. If a URL is provided you can follow it to resolve any issues which might be causing this. |
Ensure this value is greater than or equal to 0.001 | Minimum withdrawal amount is 0.001. |
Ensure this value has at least 40 characters (it has x) Ensure this value has at most 42 characters (it has x) |
Address parameter must be between 40 and 42 characters long. |
Litecoin withdrawal
This call will be executed on the account, to which the used API key is bound to. This call is for your main account only.
Request | |
POST | https://www.bitstamp.net/api/v2/ltc_withdrawal/ |
Request parameters | |
amount | Litecoin amount. |
address | Litecoin address. |
Response (JSON) | |
id | Withdrawal ID. |
Authentication errors | |
Missing amount and/or address POST parameters | One or both parameters missing. |
User not verified | Your account needs to be verified before you can use this endpoint. |
Litecoin withdrawals are currently unavailable for your account | Contact support for additional information. |
Not allowed to withdraw to specified Litecoin address | API key is set for withdrawing to another Litecoin address. |
Enter a number. Use "." as a decimal point | Amount parameter can only be number. |
You have only 'available' LTC available. Check your account balance for details | Account has less 'available' LTC that are required to make this withdrawal. |
Your withdrawals are currently disabled | No new withdrawals can be opened at this time. If a URL is provided you can follow it to resolve any issues which might be causing this. |
Ensure this value is greater than or equal to 0.001 | Minimum withdrawal amount is 0.001. |
Ensure this value has at least 25 characters (it has x) Ensure this value has at most 34 characters (it has x) |
Address parameter must be between 25 and 34 characters long. |
Paxos Standard withdrawal
This call will be executed on the account, to which the used API key is bound to. This call is for your main account only.
Request | |
POST | https://www.bitstamp.net/api/v2/pax_withdrawal/ |
Request parameters | |
amount | Paxos Standard amount. |
address | Paxos Standard address. |
Response (JSON) | |
id | Withdrawal ID. |
Authentication errors | |
Missing amount and/or address POST parameters | One or both parameters missing. |
User not verified | Your account needs to be verified before you can use this endpoint. |
Paxos Standard withdrawals are currently unavailable for your account | Contact support for additional information. |
Not allowed to withdraw to specified Paxos Standard address | API key is set for withdrawing to another Paxos Standard address. |
Enter a number. Use "." as a decimal point | Amount parameter can only be number. |
You have only 'available' PAX available. Check your account balance for details | Account has less 'available' PAX that are required to make this withdrawal. |
Your withdrawals are currently disabled | No new withdrawals can be opened at this time. If a URL is provided you can follow it to resolve any issues which might be causing this. |
Stellar Lumens withdrawal
This call will be executed on the account, to which the used API key is bound to. This call is for your main account only.
Request | |
POST | https://www.bitstamp.net/api/v2/xlm_withdrawal/ |
Request parameters | |
amount | Stellar Lumens amount. |
address | Stellar Lumens address. |
memo_id (Optional) | Address memo id. |
Response (JSON) | |
id | Withdrawal ID. |
Authentication errors | |
Missing amount and/or address POST parameters | One or both parameters missing. |
User not verified | Your account needs to be verified before you can use this endpoint. |
Stellar Lumens withdrawals are currently unavailable for your account | Contact support for additional information. |
Not allowed to withdraw to specified Stellar Lumens address | API key is set for withdrawing to another Stellar Lumens address. |
Enter a number. Use "." as a decimal point | Amount parameter can only be number. |
You have only 'available' XLM available. Check your account balance for details | Account has less 'available' XLM that are required to make this withdrawal. |
Your withdrawals are currently disabled | No new withdrawals can be opened at this time. If a URL is provided you can follow it to resolve any issues which might be causing this. |
XRP withdrawal
This call will be executed on the account (Sub or Main), to which the used API key is bound to. This endpoint supports withdrawals of XRP on the Ripple network.
Request | |
POST | https://www.bitstamp.net/api/v2/xrp_withdrawal/ |
Request parameters | |
amount | XRP amount. |
address | XRP address. |
destination_tag (Optional) | Address destination tag. |
Response (JSON) | |
id | Withdrawal ID. |
Authentication errors | |
Missing amount and/or address POST parameters | One or both parameters missing. |
User not verified | Your account needs to be verified before you can use this endpoint. |
XRP withdrawals are currently unavailable for your account | Contact support for additional information. |
Not allowed to withdraw to specified XRP address | API key is set for withdrawing to another XRP address. |
Enter a number. Use "." as a decimal point | Amount parameter can only be number. |
You have only 'available' XRP available. Check your account balance for details | Account has less 'available' XRP that are required to make this withdrawal. |
Your withdrawals are currently disabled | No new withdrawals can be opened at this time. If a URL is provided you can follow it to resolve any issues which might be causing this. |
Ensure this value is greater than or equal to 20 | Minimum withdrawal amount is 20. |
Ensure this value has at least 25 characters (it has x) Ensure this value has at most 34 characters (it has x) |
Address parameter must be between 25 and 34 characters long. |
Failed to access the Ripple network. Please try again later | The Ripple network is down. |
Chainlink withdrawal
This call will be executed on the account, to which the used API key is bound to. This call is for your main account only.
Request | |
POST | https://www.bitstamp.net/api/v2/link_withdrawal/ |
Request parameters | |
amount | Chainlink amount. |
address | Chainlink address. |
Response (JSON) | |
id | Withdrawal ID. |
Authentication errors | |
Missing amount and/or address POST parameters | One or both parameters missing. |
User not verified | Your account needs to be verified before you can use this endpoint. |
Chainlink withdrawals are currently unavailable for your account | Contact support for additional information. |
Not allowed to withdraw to specified Chainlink address | API key is set for withdrawing to another Chainlink address. |
Enter a number. Use "." as a decimal point | Amount parameter can only be number. |
You have only 'available' LINK available. Check your account balance for details | Account has less 'available' LINK that are required to make this withdrawal. |
Your withdrawals are currently disabled | No new withdrawals can be opened at this time. If a URL is provided you can follow it to resolve any issues which might be causing this. |
OMG Network withdrawal
This call will be executed on the account, to which the used API key is bound to. This call is for your main account only.
Request | |
POST | https://www.bitstamp.net/api/v2/omg_withdrawal/ |
Request parameters | |
amount | OMG Network amount. |
address | OMG Network address. |
Response (JSON) | |
id | Withdrawal ID. |
Authentication errors | |
Missing amount and/or address POST parameters | One or both parameters missing. |
User not verified | Your account needs to be verified before you can use this endpoint. |
OMG Network withdrawals are currently unavailable for your account | Contact support for additional information. |
Not allowed to withdraw to specified OMG Network address | API key is set for withdrawing to another OMG Network address. |
Enter a number. Use "." as a decimal point | Amount parameter can only be number. |
You have only 'available' OMG available. Check your account balance for details | Account has less 'available' OMG that are required to make this withdrawal. |
Your withdrawals are currently disabled | No new withdrawals can be opened at this time. If a URL is provided you can follow it to resolve any issues which might be causing this. |
USD Coin withdrawal
This call will be executed on the account, to which the used API key is bound to. This call is for your main account only.
Request | |
POST | https://www.bitstamp.net/api/v2/usdc_withdrawal/ |
Request parameters | |
amount | USD Coin amount. |
address | USD Coin address. |
Response (JSON) | |
id | Withdrawal ID. |
Authentication errors | |
Missing amount and/or address POST parameters | One or both parameters missing. |
User not verified | Your account needs to be verified before you can use this endpoint. |
USD Coin withdrawals are currently unavailable for your account | Contact support for additional information. |
Not allowed to withdraw to specified USD Coin address | API key is set for withdrawing to another USD Coin address. |
Enter a number. Use "." as a decimal point | Amount parameter can only be number. |
You have only 'available' USDC available. Check your account balance for details | Account has less 'available' USDC that are required to make this withdrawal. |
Your withdrawals are currently disabled | No new withdrawals can be opened at this time. If a URL is provided you can follow it to resolve any issues which might be causing this. |
AAVE withdrawal
This call will be executed on the account, to which the used API key is bound to. This call is for your main account only.
Request | |
POST | https://www.bitstamp.net/api/v2/aave_withdrawal/ |
Request parameters | |
amount | AAVE amount. |
address | AAVE address. |
Response (JSON) | |
id | Withdrawal ID. |
Authentication errors | |
Missing amount and/or address POST parameters | One or both parameters missing. |
User not verified | Your account needs to be verified before you can use this endpoint. |
AAVE withdrawals are currently unavailable for your account | Contact support for additional information. |
Not allowed to withdraw to specified AAVE address | API key is set for withdrawing to another AAVE address. |
Enter a number. Use "." as a decimal point | Amount parameter can only be number. |
You have only 'available' AAVE available. Check your account balance for details | Account has less 'available' AAVE that are required to make this withdrawal. |
Your withdrawals are currently disabled | No new withdrawals can be opened at this time. If a URL is provided you can follow it to resolve any issues which might be causing this. |
Basic Attention Token withdrawal
This call will be executed on the account, to which the used API key is bound to. This call is for your main account only.
Request | |
POST | https://www.bitstamp.net/api/v2/bat_withdrawal/ |
Request parameters | |
amount | Basic Attention Token amount. |
address | Basic Attention Token address. |
Response (JSON) | |
id | Withdrawal ID. |
Authentication errors | |
Missing amount and/or address POST parameters | One or both parameters missing. |
User not verified | Your account needs to be verified before you can use this endpoint. |
Basic Attention Token withdrawals are currently unavailable for your account | Contact support for additional information. |
Not allowed to withdraw to specified Basic Attention Token address | API key is set for withdrawing to another Basic Attention Token address. |
Enter a number. Use "." as a decimal point | Amount parameter can only be number. |
You have only 'available' BAT available. Check your account balance for details | Account has less 'available' BAT that are required to make this withdrawal. |
Your withdrawals are currently disabled | No new withdrawals can be opened at this time. If a URL is provided you can follow it to resolve any issues which might be causing this. |
UMA withdrawal
This call will be executed on the account, to which the used API key is bound to. This call is for your main account only.
Request | |
POST | https://www.bitstamp.net/api/v2/uma_withdrawal/ |
Request parameters | |
amount | UMA amount. |
address | UMA address. |
Response (JSON) | |
id | Withdrawal ID. |
Authentication errors | |
Missing amount and/or address POST parameters | One or both parameters missing. |
User not verified | Your account needs to be verified before you can use this endpoint. |
UMA withdrawals are currently unavailable for your account | Contact support for additional information. |
Not allowed to withdraw to specified UMA address | API key is set for withdrawing to another UMA address. |
Enter a number. Use "." as a decimal point | Amount parameter can only be number. |
You have only 'available' UMA available. Check your account balance for details | Account has less 'available' UMA that are required to make this withdrawal. |
Your withdrawals are currently disabled | No new withdrawals can be opened at this time. If a URL is provided you can follow it to resolve any issues which might be causing this. |
DAI withdrawal
This call will be executed on the account, to which the used API key is bound to. This call is for your main account only.
Request | |
POST | https://www.bitstamp.net/api/v2/dai_withdrawal/ |
Request parameters | |
amount | DAI amount. |
address | DAI address. |
Response (JSON) | |
id | Withdrawal ID. |
Authentication errors | |
Missing amount and/or address POST parameters | One or both parameters missing. |
User not verified | Your account needs to be verified before you can use this endpoint. |
DAI withdrawals are currently unavailable for your account | Contact support for additional information. |
Not allowed to withdraw to specified DAI address | API key is set for withdrawing to another DAI address. |
Enter a number. Use "." as a decimal point | Amount parameter can only be number. |
You have only 'available' DAI available. Check your account balance for details | Account has less 'available' DAI that are required to make this withdrawal. |
Your withdrawals are currently disabled | No new withdrawals can be opened at this time. If a URL is provided you can follow it to resolve any issues which might be causing this. |
Kyber Network withdrawal
This call will be executed on the account, to which the used API key is bound to. This call is for your main account only.
Request | |
POST | https://www.bitstamp.net/api/v2/knc_withdrawal/ |
Request parameters | |
amount | Kyber Network amount. |
address | Kyber Network address. |
Response (JSON) | |
id | Withdrawal ID. |
Authentication errors | |
Missing amount and/or address POST parameters | One or both parameters missing. |
User not verified | Your account needs to be verified before you can use this endpoint. |
Kyber Network withdrawals are currently unavailable for your account | Contact support for additional information. |
Not allowed to withdraw to specified Kyber Network address | API key is set for withdrawing to another Kyber Network address. |
Enter a number. Use "." as a decimal point | Amount parameter can only be number. |
You have only 'available' KNC available. Check your account balance for details | Account has less 'available' KNC that are required to make this withdrawal. |
Your withdrawals are currently disabled | No new withdrawals can be opened at this time. If a URL is provided you can follow it to resolve any issues which might be causing this. |
Maker withdrawal
This call will be executed on the account, to which the used API key is bound to. This call is for your main account only.
Request | |
POST | https://www.bitstamp.net/api/v2/mkr_withdrawal/ |
Request parameters | |
amount | Maker amount. |
address | Maker address. |
Response (JSON) | |
id | Withdrawal ID. |
Authentication errors | |
Missing amount and/or address POST parameters | One or both parameters missing. |
User not verified | Your account needs to be verified before you can use this endpoint. |
Maker withdrawals are currently unavailable for your account | Contact support for additional information. |
Not allowed to withdraw to specified Maker address | API key is set for withdrawing to another Maker address. |
Enter a number. Use "." as a decimal point | Amount parameter can only be number. |
You have only 'available' MKR available. Check your account balance for details | Account has less 'available' MKR that are required to make this withdrawal. |
Your withdrawals are currently disabled | No new withdrawals can be opened at this time. If a URL is provided you can follow it to resolve any issues which might be causing this. |
0x withdrawal
This call will be executed on the account, to which the used API key is bound to. This call is for your main account only.
Request | |
POST | https://www.bitstamp.net/api/v2/zrx_withdrawal/ |
Request parameters | |
amount | 0x amount. |
address | 0x address. |
Response (JSON) | |
id | Withdrawal ID. |
Authentication errors | |
Missing amount and/or address POST parameters | One or both parameters missing. |
User not verified | Your account needs to be verified before you can use this endpoint. |
0x withdrawals are currently unavailable for your account | Contact support for additional information. |
Not allowed to withdraw to specified 0x address | API key is set for withdrawing to another 0x address. |
Enter a number. Use "." as a decimal point | Amount parameter can only be number. |
You have only 'available' ZRX available. Check your account balance for details | Account has less 'available' ZRX that are required to make this withdrawal. |
Your withdrawals are currently disabled | No new withdrawals can be opened at this time. If a URL is provided you can follow it to resolve any issues which might be causing this. |
Gemini Dollar withdrawal
This call will be executed on the account, to which the used API key is bound to. This call is for your main account only.
Request | |
POST | https://www.bitstamp.net/api/v2/gusd_withdrawal/ |
Request parameters | |
amount | Gemini Dollar amount. |
address | Gemini Dollar address. |
Response (JSON) | |
id | Withdrawal ID. |
Authentication errors | |
Missing amount and/or address POST parameters | One or both parameters missing. |
User not verified | Your account needs to be verified before you can use this endpoint. |
Gemini Dollar withdrawals are currently unavailable for your account | Contact support for additional information. |
Not allowed to withdraw to specified Gemini Dollar address | API key is set for withdrawing to another Gemini Dollar address. |
Enter a number. Use "." as a decimal point | Amount parameter can only be number. |
You have only 'available' GUSD available. Check your account balance for details | Account has less 'available' GUSD that are required to make this withdrawal. |
Your withdrawals are currently disabled | No new withdrawals can be opened at this time. If a URL is provided you can follow it to resolve any issues which might be causing this. |
Algorand withdrawal
This call will be executed on the account, to which the used API key is bound to. This call is for your main account only.
Request | |
POST | https://www.bitstamp.net/api/v2/algo_withdrawal/ |
Request parameters | |
amount | Algorand amount. |
address | Algorand address. |
Response (JSON) | |
id | Withdrawal ID. |
Authentication errors | |
Missing amount and/or address POST parameters | One or both parameters missing. |
User not verified | Your account needs to be verified before you can use this endpoint. |
Algorand withdrawals are currently unavailable for your account | Contact support for additional information. |
Not allowed to withdraw to specified Algorand address | API key is set for withdrawing to another Algorand address. |
Enter a number. Use "." as a decimal point | Amount parameter can only be number. |
You have only 'available' ALGO available. Check your account balance for details | Account has less 'available' ALGO that are required to make this withdrawal. |
Your withdrawals are currently disabled | No new withdrawals can be opened at this time. If a URL is provided you can follow it to resolve any issues which might be causing this. |
Audius withdrawal
This call will be executed on the account, to which the used API key is bound to. This call is for your main account only.
Request | |
POST | https://www.bitstamp.net/api/v2/audio_withdrawal/ |
Request parameters | |
amount | Audius amount. |
address | Audius address. |
Response (JSON) | |
id | Withdrawal ID. |
Authentication errors | |
Missing amount and/or address POST parameters | One or both parameters missing. |
User not verified | Your account needs to be verified before you can use this endpoint. |
Audius withdrawals are currently unavailable for your account | Contact support for additional information. |
Not allowed to withdraw to specified Audius address | API key is set for withdrawing to another Audius address. |
Enter a number. Use "." as a decimal point | Amount parameter can only be number. |
You have only 'available' AUDIO available. Check your account balance for details | Account has less 'available' AUDIO that are required to make this withdrawal. |
Your withdrawals are currently disabled | No new withdrawals can be opened at this time. If a URL is provided you can follow it to resolve any issues which might be causing this. |
Curve withdrawal
This call will be executed on the account, to which the used API key is bound to. This call is for your main account only.
Request | |
POST | https://www.bitstamp.net/api/v2/crv_withdrawal/ |
Request parameters | |
amount | Curve amount. |
address | Curve address. |
Response (JSON) | |
id | Withdrawal ID. |
Authentication errors | |
Missing amount and/or address POST parameters | One or both parameters missing. |
User not verified | Your account needs to be verified before you can use this endpoint. |
Curve withdrawals are currently unavailable for your account | Contact support for additional information. |
Not allowed to withdraw to specified Curve address | API key is set for withdrawing to another Curve address. |
Enter a number. Use "." as a decimal point | Amount parameter can only be number. |
You have only 'available' CRV available. Check your account balance for details | Account has less 'available' CRV that are required to make this withdrawal. |
Your withdrawals are currently disabled | No new withdrawals can be opened at this time. If a URL is provided you can follow it to resolve any issues which might be causing this. |
Synthetix withdrawal
This call will be executed on the account, to which the used API key is bound to. This call is for your main account only.
Request | |
POST | https://www.bitstamp.net/api/v2/snx_withdrawal/ |
Request parameters | |
amount | Synthetix amount. |
address | Synthetix address. |
Response (JSON) | |
id | Withdrawal ID. |
Authentication errors | |
Missing amount and/or address POST parameters | One or both parameters missing. |
User not verified | Your account needs to be verified before you can use this endpoint. |
Synthetix withdrawals are currently unavailable for your account | Contact support for additional information. |
Not allowed to withdraw to specified Synthetix address | API key is set for withdrawing to another Synthetix address. |
Enter a number. Use "." as a decimal point | Amount parameter can only be number. |
You have only 'available' SNX available. Check your account balance for details | Account has less 'available' SNX that are required to make this withdrawal. |
Your withdrawals are currently disabled | No new withdrawals can be opened at this time. If a URL is provided you can follow it to resolve any issues which might be causing this. |
Uniswap withdrawal
This call will be executed on the account, to which the used API key is bound to. This call is for your main account only.
Request | |
POST | https://www.bitstamp.net/api/v2/uni_withdrawal/ |
Request parameters | |
amount | Uniswap amount. |
address | Uniswap address. |
Response (JSON) | |
id | Withdrawal ID. |
Authentication errors | |
Missing amount and/or address POST parameters | One or both parameters missing. |
User not verified | Your account needs to be verified before you can use this endpoint. |
Uniswap withdrawals are currently unavailable for your account | Contact support for additional information. |
Not allowed to withdraw to specified Uniswap address | API key is set for withdrawing to another Uniswap address. |
Enter a number. Use "." as a decimal point | Amount parameter can only be number. |
You have only 'available' UNI available. Check your account balance for details | Account has less 'available' UNI that are required to make this withdrawal. |
Your withdrawals are currently disabled | No new withdrawals can be opened at this time. If a URL is provided you can follow it to resolve any issues which might be causing this. |
yearn.finance withdrawal
This call will be executed on the account, to which the used API key is bound to. This call is for your main account only.
Request | |
POST | https://www.bitstamp.net/api/v2/yfi_withdrawal/ |
Request parameters | |
amount | yearn.finance amount. |
address | yearn.finance address. |
Response (JSON) | |
id | Withdrawal ID. |
Authentication errors | |
Missing amount and/or address POST parameters | One or both parameters missing. |
User not verified | Your account needs to be verified before you can use this endpoint. |
yearn.finance withdrawals are currently unavailable for your account | Contact support for additional information. |
Not allowed to withdraw to specified yearn.finance address | API key is set for withdrawing to another yearn.finance address. |
Enter a number. Use "." as a decimal point | Amount parameter can only be number. |
You have only 'available' YFI available. Check your account balance for details | Account has less 'available' YFI that are required to make this withdrawal. |
Your withdrawals are currently disabled | No new withdrawals can be opened at this time. If a URL is provided you can follow it to resolve any issues which might be causing this. |
Compound withdrawal
This call will be executed on the account, to which the used API key is bound to. This call is for your main account only.
Request | |
POST | https://www.bitstamp.net/api/v2/comp_withdrawal/ |
Request parameters | |
amount | Compound amount. |
address | Compound address. |
Response (JSON) | |
id | Withdrawal ID. |
Authentication errors | |
Missing amount and/or address POST parameters | One or both parameters missing. |
User not verified | Your account needs to be verified before you can use this endpoint. |
Compound withdrawals are currently unavailable for your account | Contact support for additional information. |
Not allowed to withdraw to specified Compound address | API key is set for withdrawing to another Compound address. |
Enter a number. Use "." as a decimal point | Amount parameter can only be number. |
You have only 'available' COMP available. Check your account balance for details | Account has less 'available' COMP that are required to make this withdrawal. |
Your withdrawals are currently disabled | No new withdrawals can be opened at this time. If a URL is provided you can follow it to resolve any issues which might be causing this. |
The Graph withdrawal
This call will be executed on the account, to which the used API key is bound to. This call is for your main account only.
Request | |
POST | https://www.bitstamp.net/api/v2/grt_withdrawal/ |
Request parameters | |
amount | The Graph amount. |
address | The Graph address. |
Response (JSON) | |
id | Withdrawal ID. |
Authentication errors | |
Missing amount and/or address POST parameters | One or both parameters missing. |
User not verified | Your account needs to be verified before you can use this endpoint. |
The Graph withdrawals are currently unavailable for your account | Contact support for additional information. |
Not allowed to withdraw to specified The Graph address | API key is set for withdrawing to another The Graph address. |
Enter a number. Use "." as a decimal point | Amount parameter can only be number. |
You have only 'available' GRT available. Check your account balance for details | Account has less 'available' GRT that are required to make this withdrawal. |
Your withdrawals are currently disabled | No new withdrawals can be opened at this time. If a URL is provided you can follow it to resolve any issues which might be causing this. |
Loopring withdrawal
This call will be executed on the account, to which the used API key is bound to. This call is for your main account only.
Request | |
POST | https://www.bitstamp.net/api/v2/lrc_withdrawal/ |
Request parameters | |
amount | Loopring amount. |
address | Loopring address. |
Response (JSON) | |
id | Withdrawal ID. |
Authentication errors | |
Missing amount and/or address POST parameters | One or both parameters missing. |
User not verified | Your account needs to be verified before you can use this endpoint. |
Loopring withdrawals are currently unavailable for your account | Contact support for additional information. |
Not allowed to withdraw to specified Loopring address | API key is set for withdrawing to another Loopring address. |
Enter a number. Use "." as a decimal point | Amount parameter can only be number. |
You have only 'available' LRC available. Check your account balance for details | Account has less 'available' LRC that are required to make this withdrawal. |
Your withdrawals are currently disabled | No new withdrawals can be opened at this time. If a URL is provided you can follow it to resolve any issues which might be causing this. |
Tether withdrawal
This call will be executed on the account, to which the used API key is bound to. This call is for your main account only.
Request | |
POST | https://www.bitstamp.net/api/v2/usdt_withdrawal/ |
Request parameters | |
amount | Tether amount. |
address | Tether address. |
Response (JSON) | |
id | Withdrawal ID. |
Authentication errors | |
Missing amount and/or address POST parameters | One or both parameters missing. |
User not verified | Your account needs to be verified before you can use this endpoint. |
Tether withdrawals are currently unavailable for your account | Contact support for additional information. |
Not allowed to withdraw to specified Tether address | API key is set for withdrawing to another Tether address. |
Enter a number. Use "." as a decimal point | Amount parameter can only be number. |
You have only 'available' USDT available. Check your account balance for details | Account has less 'available' USDT that are required to make this withdrawal. |
Your withdrawals are currently disabled | No new withdrawals can be opened at this time. If a URL is provided you can follow it to resolve any issues which might be causing this. |
Euro Tether withdrawal
This call will be executed on the account, to which the used API key is bound to. This call is for your main account only.
Request | |
POST | https://www.bitstamp.net/api/v2/eurt_withdrawal/ |
Request parameters | |
amount | Euro Tether amount. |
address | Euro Tether address. |
Response (JSON) | |
id | Withdrawal ID. |
Authentication errors | |
Missing amount and/or address POST parameters | One or both parameters missing. |
User not verified | Your account needs to be verified before you can use this endpoint. |
Euro Tether withdrawals are currently unavailable for your account | Contact support for additional information. |
Not allowed to withdraw to specified Euro Tether address | API key is set for withdrawing to another Euro Tether address. |
Enter a number. Use "." as a decimal point | Amount parameter can only be number. |
You have only 'available' EURT available. Check your account balance for details | Account has less 'available' EURT that are required to make this withdrawal. |
Your withdrawals are currently disabled | No new withdrawals can be opened at this time. If a URL is provided you can follow it to resolve any issues which might be causing this. |
Flare withdrawal
This call will be executed on the account, to which the used API key is bound to. This call is for your main account only.
Request | |
POST | https://www.bitstamp.net/api/v2/flr_withdrawal/ |
Request parameters | |
amount | Flare amount. |
address | Flare address. |
Response (JSON) | |
id | Withdrawal ID. |
Authentication errors | |
Missing amount and/or address POST parameters | One or both parameters missing. |
User not verified | Your account needs to be verified before you can use this endpoint. |
Flare withdrawals are currently unavailable for your account | Contact support for additional information. |
Not allowed to withdraw to specified Flare address | API key is set for withdrawing to another Flare address. |
Enter a number. Use "." as a decimal point | Amount parameter can only be number. |
You have only 'available' FLR available. Check your account balance for details | Account has less 'available' FLR that are required to make this withdrawal. |
Your withdrawals are currently disabled | No new withdrawals can be opened at this time. If a URL is provided you can follow it to resolve any issues which might be causing this. |
Decentraland withdrawal
This call will be executed on the account, to which the used API key is bound to. This call is for your main account only.
Request | |
POST | https://www.bitstamp.net/api/v2/mana_withdrawal/ |
Request parameters | |
amount | Decentraland amount. |
address | Decentraland address. |
Response (JSON) | |
id | Withdrawal ID. |
Authentication errors | |
Missing amount and/or address POST parameters | One or both parameters missing. |
User not verified | Your account needs to be verified before you can use this endpoint. |
Decentraland withdrawals are currently unavailable for your account | Contact support for additional information. |
Not allowed to withdraw to specified Decentraland address | API key is set for withdrawing to another Decentraland address. |
Enter a number. Use "." as a decimal point | Amount parameter can only be number. |
You have only 'available' MANA available. Check your account balance for details | Account has less 'available' MANA that are required to make this withdrawal. |
Your withdrawals are currently disabled | No new withdrawals can be opened at this time. If a URL is provided you can follow it to resolve any issues which might be causing this. |
Polygon withdrawal
This call will be executed on the account, to which the used API key is bound to. This call is for your main account only.
Request | |
POST | https://www.bitstamp.net/api/v2/matic_withdrawal/ |
Request parameters | |
amount | Polygon amount. |
address | Polygon address. |
Response (JSON) | |
id | Withdrawal ID. |
Authentication errors | |
Missing amount and/or address POST parameters | One or both parameters missing. |
User not verified | Your account needs to be verified before you can use this endpoint. |
Polygon withdrawals are currently unavailable for your account | Contact support for additional information. |
Not allowed to withdraw to specified Polygon address | API key is set for withdrawing to another Polygon address. |
Enter a number. Use "." as a decimal point | Amount parameter can only be number. |
You have only 'available' MATIC available. Check your account balance for details | Account has less 'available' MATIC that are required to make this withdrawal. |
Your withdrawals are currently disabled | No new withdrawals can be opened at this time. If a URL is provided you can follow it to resolve any issues which might be causing this. |
SushiSwap withdrawal
This call will be executed on the account, to which the used API key is bound to. This call is for your main account only.
Request | |
POST | https://www.bitstamp.net/api/v2/sushi_withdrawal/ |
Request parameters | |
amount | SushiSwap amount. |
address | SushiSwap address. |
Response (JSON) | |
id | Withdrawal ID. |
Authentication errors | |
Missing amount and/or address POST parameters | One or both parameters missing. |
User not verified | Your account needs to be verified before you can use this endpoint. |
SushiSwap withdrawals are currently unavailable for your account | Contact support for additional information. |
Not allowed to withdraw to specified SushiSwap address | API key is set for withdrawing to another SushiSwap address. |
Enter a number. Use "." as a decimal point | Amount parameter can only be number. |
You have only 'available' SUSHI available. Check your account balance for details | Account has less 'available' SUSHI that are required to make this withdrawal. |
Your withdrawals are currently disabled | No new withdrawals can be opened at this time. If a URL is provided you can follow it to resolve any issues which might be causing this. |
Chiliz withdrawal
This call will be executed on the account, to which the used API key is bound to. This call is for your main account only.
Request | |
POST | https://www.bitstamp.net/api/v2/chz_withdrawal/ |
Request parameters | |
amount | Chiliz amount. |
address | Chiliz address. |
Response (JSON) | |
id | Withdrawal ID. |
Authentication errors | |
Missing amount and/or address POST parameters | One or both parameters missing. |
User not verified | Your account needs to be verified before you can use this endpoint. |
Chiliz withdrawals are currently unavailable for your account | Contact support for additional information. |
Not allowed to withdraw to specified Chiliz address | API key is set for withdrawing to another Chiliz address. |
Enter a number. Use "." as a decimal point | Amount parameter can only be number. |
You have only 'available' CHZ available. Check your account balance for details | Account has less 'available' CHZ that are required to make this withdrawal. |
Your withdrawals are currently disabled | No new withdrawals can be opened at this time. If a URL is provided you can follow it to resolve any issues which might be causing this. |
Enjin Coin withdrawal
This call will be executed on the account, to which the used API key is bound to. This call is for your main account only.
Request | |
POST | https://www.bitstamp.net/api/v2/enj_withdrawal/ |
Request parameters | |
amount | Enjin Coin amount. |
address | Enjin Coin address. |
Response (JSON) | |
id | Withdrawal ID. |
Authentication errors | |
Missing amount and/or address POST parameters | One or both parameters missing. |
User not verified | Your account needs to be verified before you can use this endpoint. |
Enjin Coin withdrawals are currently unavailable for your account | Contact support for additional information. |
Not allowed to withdraw to specified Enjin Coin address | API key is set for withdrawing to another Enjin Coin address. |
Enter a number. Use "." as a decimal point | Amount parameter can only be number. |
You have only 'available' ENJ available. Check your account balance for details | Account has less 'available' ENJ that are required to make this withdrawal. |
Your withdrawals are currently disabled | No new withdrawals can be opened at this time. If a URL is provided you can follow it to resolve any issues which might be causing this. |
Hedera Hashgraph withdrawal
This call will be executed on the account, to which the used API key is bound to. This call is for your main account only.
Request | |
POST | https://www.bitstamp.net/api/v2/hbar_withdrawal/ |
Request parameters | |
amount | Hedera Hashgraph amount. |
address | Hedera Hashgraph address. |
memo_id (Optional) | Address memo id. |
Response (JSON) | |
id | Withdrawal ID. |
Authentication errors | |
Missing amount and/or address POST parameters | One or both parameters missing. |
User not verified | Your account needs to be verified before you can use this endpoint. |
Hedera Hashgraph withdrawals are currently unavailable for your account | Contact support for additional information. |
Not allowed to withdraw to specified Hedera Hashgraph address | API key is set for withdrawing to another Hedera Hashgraph address. |
Enter a number. Use "." as a decimal point | Amount parameter can only be number. |
You have only 'available' HBAR available. Check your account balance for details | Account has less 'available' HBAR that are required to make this withdrawal. |
Your withdrawals are currently disabled | No new withdrawals can be opened at this time. If a URL is provided you can follow it to resolve any issues which might be causing this. |
Alpha Finance withdrawal
This call will be executed on the account, to which the used API key is bound to. This call is for your main account only.
Request | |
POST | https://www.bitstamp.net/api/v2/alpha_withdrawal/ |
Request parameters | |
amount | Alpha Finance amount. |
address | Alpha Finance address. |
Response (JSON) | |
id | Withdrawal ID. |
Authentication errors | |
Missing amount and/or address POST parameters | One or both parameters missing. |
User not verified | Your account needs to be verified before you can use this endpoint. |
Alpha Finance withdrawals are currently unavailable for your account | Contact support for additional information. |
Not allowed to withdraw to specified Alpha Finance address | API key is set for withdrawing to another Alpha Finance address. |
Enter a number. Use "." as a decimal point | Amount parameter can only be number. |
You have only 'available' ALPHA available. Check your account balance for details | Account has less 'available' ALPHA that are required to make this withdrawal. |
Your withdrawals are currently disabled | No new withdrawals can be opened at this time. If a URL is provided you can follow it to resolve any issues which might be causing this. |
Axie Infinity withdrawal
This call will be executed on the account, to which the used API key is bound to. This call is for your main account only.
Request | |
POST | https://www.bitstamp.net/api/v2/axs_withdrawal/ |
Request parameters | |
amount | Axie Infinity amount. |
address | Axie Infinity address. |
Response (JSON) | |
id | Withdrawal ID. |
Authentication errors | |
Missing amount and/or address POST parameters | One or both parameters missing. |
User not verified | Your account needs to be verified before you can use this endpoint. |
Axie Infinity withdrawals are currently unavailable for your account | Contact support for additional information. |
Not allowed to withdraw to specified Axie Infinity address | API key is set for withdrawing to another Axie Infinity address. |
Enter a number. Use "." as a decimal point | Amount parameter can only be number. |
You have only 'available' AXS available. Check your account balance for details | Account has less 'available' AXS that are required to make this withdrawal. |
Your withdrawals are currently disabled | No new withdrawals can be opened at this time. If a URL is provided you can follow it to resolve any issues which might be causing this. |
FTX Token withdrawal
This call will be executed on the account, to which the used API key is bound to. This call is for your main account only.
Request | |
POST | https://www.bitstamp.net/api/v2/ftt_withdrawal/ |
Request parameters | |
amount | FTX Token amount. |
address | FTX Token address. |
Response (JSON) | |
id | Withdrawal ID. |
Authentication errors | |
Missing amount and/or address POST parameters | One or both parameters missing. |
User not verified | Your account needs to be verified before you can use this endpoint. |
FTX Token withdrawals are currently unavailable for your account | Contact support for additional information. |
Not allowed to withdraw to specified FTX Token address | API key is set for withdrawing to another FTX Token address. |
Enter a number. Use "." as a decimal point | Amount parameter can only be number. |
You have only 'available' FTT available. Check your account balance for details | Account has less 'available' FTT that are required to make this withdrawal. |
Your withdrawals are currently disabled | No new withdrawals can be opened at this time. If a URL is provided you can follow it to resolve any issues which might be causing this. |
The Sandbox withdrawal
This call will be executed on the account, to which the used API key is bound to. This call is for your main account only.
Request | |
POST | https://www.bitstamp.net/api/v2/sand_withdrawal/ |
Request parameters | |
amount | The Sandbox amount. |
address | The Sandbox address. |
Response (JSON) | |
id | Withdrawal ID. |
Authentication errors | |
Missing amount and/or address POST parameters | One or both parameters missing. |
User not verified | Your account needs to be verified before you can use this endpoint. |
The Sandbox withdrawals are currently unavailable for your account | Contact support for additional information. |
Not allowed to withdraw to specified The Sandbox address | API key is set for withdrawing to another The Sandbox address. |
Enter a number. Use "." as a decimal point | Amount parameter can only be number. |
You have only 'available' SAND available. Check your account balance for details | Account has less 'available' SAND that are required to make this withdrawal. |
Your withdrawals are currently disabled | No new withdrawals can be opened at this time. If a URL is provided you can follow it to resolve any issues which might be causing this. |
Storj withdrawal
This call will be executed on the account, to which the used API key is bound to. This call is for your main account only.
Request | |
POST | https://www.bitstamp.net/api/v2/storj_withdrawal/ |
Request parameters | |
amount | Storj amount. |
address | Storj address. |
Response (JSON) | |
id | Withdrawal ID. |
Authentication errors | |
Missing amount and/or address POST parameters | One or both parameters missing. |
User not verified | Your account needs to be verified before you can use this endpoint. |
Storj withdrawals are currently unavailable for your account | Contact support for additional information. |
Not allowed to withdraw to specified Storj address | API key is set for withdrawing to another Storj address. |
Enter a number. Use "." as a decimal point | Amount parameter can only be number. |
You have only 'available' STORJ available. Check your account balance for details | Account has less 'available' STORJ that are required to make this withdrawal. |
Your withdrawals are currently disabled | No new withdrawals can be opened at this time. If a URL is provided you can follow it to resolve any issues which might be causing this. |
Cardano withdrawal
This call will be executed on the account, to which the used API key is bound to. This call is for your main account only.
Request | |
POST | https://www.bitstamp.net/api/v2/ada_withdrawal/ |
Request parameters | |
amount | Cardano amount. |
address | Cardano address. |
Response (JSON) | |
id | Withdrawal ID. |
Authentication errors | |
Missing amount and/or address POST parameters | One or both parameters missing. |
User not verified | Your account needs to be verified before you can use this endpoint. |
Cardano withdrawals are currently unavailable for your account | Contact support for additional information. |
Not allowed to withdraw to specified Cardano address | API key is set for withdrawing to another Cardano address. |
Enter a number. Use "." as a decimal point | Amount parameter can only be number. |
You have only 'available' ADA available. Check your account balance for details | Account has less 'available' ADA that are required to make this withdrawal. |
Your withdrawals are currently disabled | No new withdrawals can be opened at this time. If a URL is provided you can follow it to resolve any issues which might be causing this. |
Fetch.ai withdrawal
This call will be executed on the account, to which the used API key is bound to. This call is for your main account only.
Request | |
POST | https://www.bitstamp.net/api/v2/fet_withdrawal/ |
Request parameters | |
amount | Fetch.ai amount. |
address | Fetch.ai address. |
Response (JSON) | |
id | Withdrawal ID. |
Authentication errors | |
Missing amount and/or address POST parameters | One or both parameters missing. |
User not verified | Your account needs to be verified before you can use this endpoint. |
Fetch.ai withdrawals are currently unavailable for your account | Contact support for additional information. |
Not allowed to withdraw to specified Fetch.ai address | API key is set for withdrawing to another Fetch.ai address. |
Enter a number. Use "." as a decimal point | Amount parameter can only be number. |
You have only 'available' FET available. Check your account balance for details | Account has less 'available' FET that are required to make this withdrawal. |
Your withdrawals are currently disabled | No new withdrawals can be opened at this time. If a URL is provided you can follow it to resolve any issues which might be causing this. |
Rari Governance Token withdrawal
This call will be executed on the account, to which the used API key is bound to. This call is for your main account only.
Request | |
POST | https://www.bitstamp.net/api/v2/rgt_withdrawal/ |
Request parameters | |
amount | Rari Governance Token amount. |
address | Rari Governance Token address. |
Response (JSON) | |
id | Withdrawal ID. |
Authentication errors | |
Missing amount and/or address POST parameters | One or both parameters missing. |
User not verified | Your account needs to be verified before you can use this endpoint. |
Rari Governance Token withdrawals are currently unavailable for your account | Contact support for additional information. |
Not allowed to withdraw to specified Rari Governance Token address | API key is set for withdrawing to another Rari Governance Token address. |
Enter a number. Use "." as a decimal point | Amount parameter can only be number. |
You have only 'available' RGT available. Check your account balance for details | Account has less 'available' RGT that are required to make this withdrawal. |
Your withdrawals are currently disabled | No new withdrawals can be opened at this time. If a URL is provided you can follow it to resolve any issues which might be causing this. |
SKALE Network withdrawal
This call will be executed on the account, to which the used API key is bound to. This call is for your main account only.
Request | |
POST | https://www.bitstamp.net/api/v2/skl_withdrawal/ |
Request parameters | |
amount | SKALE Network amount. |
address | SKALE Network address. |
Response (JSON) | |
id | Withdrawal ID. |
Authentication errors | |
Missing amount and/or address POST parameters | One or both parameters missing. |
User not verified | Your account needs to be verified before you can use this endpoint. |
SKALE Network withdrawals are currently unavailable for your account | Contact support for additional information. |
Not allowed to withdraw to specified SKALE Network address | API key is set for withdrawing to another SKALE Network address. |
Enter a number. Use "." as a decimal point | Amount parameter can only be number. |
You have only 'available' SKL available. Check your account balance for details | Account has less 'available' SKL that are required to make this withdrawal. |
Your withdrawals are currently disabled | No new withdrawals can be opened at this time. If a URL is provided you can follow it to resolve any issues which might be causing this. |
Celsius Network withdrawal
This call will be executed on the account, to which the used API key is bound to. This call is for your main account only.
Request | |
POST | https://www.bitstamp.net/api/v2/cel_withdrawal/ |
Request parameters | |
amount | Celsius Network amount. |
address | Celsius Network address. |
Response (JSON) | |
id | Withdrawal ID. |
Authentication errors | |
Missing amount and/or address POST parameters | One or both parameters missing. |
User not verified | Your account needs to be verified before you can use this endpoint. |
Celsius Network withdrawals are currently unavailable for your account | Contact support for additional information. |
Not allowed to withdraw to specified Celsius Network address | API key is set for withdrawing to another Celsius Network address. |
Enter a number. Use "." as a decimal point | Amount parameter can only be number. |
You have only 'available' CEL available. Check your account balance for details | Account has less 'available' CEL that are required to make this withdrawal. |
Your withdrawals are currently disabled | No new withdrawals can be opened at this time. If a URL is provided you can follow it to resolve any issues which might be causing this. |
Smooth Love Potion withdrawal
This call will be executed on the account, to which the used API key is bound to. This call is for your main account only.
Request | |
POST | https://www.bitstamp.net/api/v2/slp_withdrawal/ |
Request parameters | |
amount | Smooth Love Potion amount. |
address | Smooth Love Potion address. |
Response (JSON) | |
id | Withdrawal ID. |
Authentication errors | |
Missing amount and/or address POST parameters | One or both parameters missing. |
User not verified | Your account needs to be verified before you can use this endpoint. |
Smooth Love Potion withdrawals are currently unavailable for your account | Contact support for additional information. |
Not allowed to withdraw to specified Smooth Love Potion address | API key is set for withdrawing to another Smooth Love Potion address. |
Enter a number. Use "." as a decimal point | Amount parameter can only be number. |
You have only 'available' SLP available. Check your account balance for details | Account has less 'available' SLP that are required to make this withdrawal. |
Your withdrawals are currently disabled | No new withdrawals can be opened at this time. If a URL is provided you can follow it to resolve any issues which might be causing this. |
Swipe withdrawal
This call will be executed on the account, to which the used API key is bound to. This call is for your main account only.
Request | |
POST | https://www.bitstamp.net/api/v2/sxp_withdrawal/ |
Request parameters | |
amount | Swipe amount. |
address | Swipe address. |
Response (JSON) | |
id | Withdrawal ID. |
Authentication errors | |
Missing amount and/or address POST parameters | One or both parameters missing. |
User not verified | Your account needs to be verified before you can use this endpoint. |
Swipe withdrawals are currently unavailable for your account | Contact support for additional information. |
Not allowed to withdraw to specified Swipe address | API key is set for withdrawing to another Swipe address. |
Enter a number. Use "." as a decimal point | Amount parameter can only be number. |
You have only 'available' SXP available. Check your account balance for details | Account has less 'available' SXP that are required to make this withdrawal. |
Your withdrawals are currently disabled | No new withdrawals can be opened at this time. If a URL is provided you can follow it to resolve any issues which might be causing this. |
Songbird withdrawal
This call will be executed on the account, to which the used API key is bound to. This call is for your main account only.
Request | |
POST | https://www.bitstamp.net/api/v2/sgb_withdrawal/ |
Request parameters | |
amount | Songbird amount. |
address | Songbird address. |
Response (JSON) | |
id | Withdrawal ID. |
Authentication errors | |
Missing amount and/or address POST parameters | One or both parameters missing. |
User not verified | Your account needs to be verified before you can use this endpoint. |
Songbird withdrawals are currently unavailable for your account | Contact support for additional information. |
Not allowed to withdraw to specified Songbird address | API key is set for withdrawing to another Songbird address. |
Enter a number. Use "." as a decimal point | Amount parameter can only be number. |
You have only 'available' SGB available. Check your account balance for details | Account has less 'available' SGB that are required to make this withdrawal. |
Your withdrawals are currently disabled | No new withdrawals can be opened at this time. If a URL is provided you can follow it to resolve any issues which might be causing this. |
Avalanche withdrawal
This call will be executed on the account, to which the used API key is bound to. This call is for your main account only.
Request | |
POST | https://www.bitstamp.net/api/v2/avax_withdrawal/ |
Request parameters | |
amount | Avalanche amount. |
address | Avalanche address. |
Response (JSON) | |
id | Withdrawal ID. |
Authentication errors | |
Missing amount and/or address POST parameters | One or both parameters missing. |
User not verified | Your account needs to be verified before you can use this endpoint. |
Avalanche withdrawals are currently unavailable for your account | Contact support for additional information. |
Not allowed to withdraw to specified Avalanche address | API key is set for withdrawing to another Avalanche address. |
Enter a number. Use "." as a decimal point | Amount parameter can only be number. |
You have only 'available' AVAX available. Check your account balance for details | Account has less 'available' AVAX that are required to make this withdrawal. |
Your withdrawals are currently disabled | No new withdrawals can be opened at this time. If a URL is provided you can follow it to resolve any issues which might be causing this. |
dYdX withdrawal
This call will be executed on the account, to which the used API key is bound to. This call is for your main account only.
Request | |
POST | https://www.bitstamp.net/api/v2/dydx_withdrawal/ |
Request parameters | |
amount | dYdX amount. |
address | dYdX address. |
Response (JSON) | |
id | Withdrawal ID. |
Authentication errors | |
Missing amount and/or address POST parameters | One or both parameters missing. |
User not verified | Your account needs to be verified before you can use this endpoint. |
dYdX withdrawals are currently unavailable for your account | Contact support for additional information. |
Not allowed to withdraw to specified dYdX address | API key is set for withdrawing to another dYdX address. |
Enter a number. Use "." as a decimal point | Amount parameter can only be number. |
You have only 'available' DYDX available. Check your account balance for details | Account has less 'available' DYDX that are required to make this withdrawal. |
Your withdrawals are currently disabled | No new withdrawals can be opened at this time. If a URL is provided you can follow it to resolve any issues which might be causing this. |
Fantom withdrawal
This call will be executed on the account, to which the used API key is bound to. This call is for your main account only.
Request | |
POST | https://www.bitstamp.net/api/v2/ftm_withdrawal/ |
Request parameters | |
amount | Fantom amount. |
address | Fantom address. |
Response (JSON) | |
id | Withdrawal ID. |
Authentication errors | |
Missing amount and/or address POST parameters | One or both parameters missing. |
User not verified | Your account needs to be verified before you can use this endpoint. |
Fantom withdrawals are currently unavailable for your account | Contact support for additional information. |
Not allowed to withdraw to specified Fantom address | API key is set for withdrawing to another Fantom address. |
Enter a number. Use "." as a decimal point | Amount parameter can only be number. |
You have only 'available' FTM available. Check your account balance for details | Account has less 'available' FTM that are required to make this withdrawal. |
Your withdrawals are currently disabled | No new withdrawals can be opened at this time. If a URL is provided you can follow it to resolve any issues which might be causing this. |
Shiba Inu withdrawal
This call will be executed on the account, to which the used API key is bound to. This call is for your main account only.
Request | |
POST | https://www.bitstamp.net/api/v2/shib_withdrawal/ |
Request parameters | |
amount | Shiba Inu amount. |
address | Shiba Inu address. |
Response (JSON) | |
id | Withdrawal ID. |
Authentication errors | |
Missing amount and/or address POST parameters | One or both parameters missing. |
User not verified | Your account needs to be verified before you can use this endpoint. |
Shiba Inu withdrawals are currently unavailable for your account | Contact support for additional information. |
Not allowed to withdraw to specified Shiba Inu address | API key is set for withdrawing to another Shiba Inu address. |
Enter a number. Use "." as a decimal point | Amount parameter can only be number. |
You have only 'available' SHIB available. Check your account balance for details | Account has less 'available' SHIB that are required to make this withdrawal. |
Your withdrawals are currently disabled | No new withdrawals can be opened at this time. If a URL is provided you can follow it to resolve any issues which might be causing this. |
Amp withdrawal
This call will be executed on the account, to which the used API key is bound to. This call is for your main account only.
Request | |
POST | https://www.bitstamp.net/api/v2/amp_withdrawal/ |
Request parameters | |
amount | Amp amount. |
address | Amp address. |
Response (JSON) | |
id | Withdrawal ID. |
Authentication errors | |
Missing amount and/or address POST parameters | One or both parameters missing. |
User not verified | Your account needs to be verified before you can use this endpoint. |
Amp withdrawals are currently unavailable for your account | Contact support for additional information. |
Not allowed to withdraw to specified Amp address | API key is set for withdrawing to another Amp address. |
Enter a number. Use "." as a decimal point | Amount parameter can only be number. |
You have only 'available' AMP available. Check your account balance for details | Account has less 'available' AMP that are required to make this withdrawal. |
Your withdrawals are currently disabled | No new withdrawals can be opened at this time. If a URL is provided you can follow it to resolve any issues which might be causing this. |
Ethereum Name Service withdrawal
This call will be executed on the account, to which the used API key is bound to. This call is for your main account only.
Request | |
POST | https://www.bitstamp.net/api/v2/ens_withdrawal/ |
Request parameters | |
amount | Ethereum Name Service amount. |
address | Ethereum Name Service address. |
Response (JSON) | |
id | Withdrawal ID. |
Authentication errors | |
Missing amount and/or address POST parameters | One or both parameters missing. |
User not verified | Your account needs to be verified before you can use this endpoint. |
Ethereum Name Service withdrawals are currently unavailable for your account | Contact support for additional information. |
Not allowed to withdraw to specified Ethereum Name Service address | API key is set for withdrawing to another Ethereum Name Service address. |
Enter a number. Use "." as a decimal point | Amount parameter can only be number. |
You have only 'available' ENS available. Check your account balance for details | Account has less 'available' ENS that are required to make this withdrawal. |
Your withdrawals are currently disabled | No new withdrawals can be opened at this time. If a URL is provided you can follow it to resolve any issues which might be causing this. |
Gala withdrawal
This call will be executed on the account, to which the used API key is bound to. This call is for your main account only.
Request | |
POST | https://www.bitstamp.net/api/v2/gala_withdrawal/ |
Request parameters | |
amount | Gala amount. |
address | Gala address. |
Response (JSON) | |
id | Withdrawal ID. |
Authentication errors | |
Missing amount and/or address POST parameters | One or both parameters missing. |
User not verified | Your account needs to be verified before you can use this endpoint. |
Gala withdrawals are currently unavailable for your account | Contact support for additional information. |
Not allowed to withdraw to specified Gala address | API key is set for withdrawing to another Gala address. |
Enter a number. Use "." as a decimal point | Amount parameter can only be number. |
You have only 'available' GALA available. Check your account balance for details | Account has less 'available' GALA that are required to make this withdrawal. |
Your withdrawals are currently disabled | No new withdrawals can be opened at this time. If a URL is provided you can follow it to resolve any issues which might be causing this. |
Perpetual Protocol withdrawal
This call will be executed on the account, to which the used API key is bound to. This call is for your main account only.
Request | |
POST | https://www.bitstamp.net/api/v2/perp_withdrawal/ |
Request parameters | |
amount | Perpetual Protocol amount. |
address | Perpetual Protocol address. |
Response (JSON) | |
id | Withdrawal ID. |
Authentication errors | |
Missing amount and/or address POST parameters | One or both parameters missing. |
User not verified | Your account needs to be verified before you can use this endpoint. |
Perpetual Protocol withdrawals are currently unavailable for your account | Contact support for additional information. |
Not allowed to withdraw to specified Perpetual Protocol address | API key is set for withdrawing to another Perpetual Protocol address. |
Enter a number. Use "." as a decimal point | Amount parameter can only be number. |
You have only 'available' PERP available. Check your account balance for details | Account has less 'available' PERP that are required to make this withdrawal. |
Your withdrawals are currently disabled | No new withdrawals can be opened at this time. If a URL is provided you can follow it to resolve any issues which might be causing this. |
Wrapped Bitcoin withdrawal
This call will be executed on the account, to which the used API key is bound to. This call is for your main account only.
Request | |
POST | https://www.bitstamp.net/api/v2/wbtc_withdrawal/ |
Request parameters | |
amount | Wrapped Bitcoin amount. |
address | Wrapped Bitcoin address. |
Response (JSON) | |
id | Withdrawal ID. |
Authentication errors | |
Missing amount and/or address POST parameters | One or both parameters missing. |
User not verified | Your account needs to be verified before you can use this endpoint. |
Wrapped Bitcoin withdrawals are currently unavailable for your account | Contact support for additional information. |
Not allowed to withdraw to specified Wrapped Bitcoin address | API key is set for withdrawing to another Wrapped Bitcoin address. |
Enter a number. Use "." as a decimal point | Amount parameter can only be number. |
You have only 'available' WBTC available. Check your account balance for details | Account has less 'available' WBTC that are required to make this withdrawal. |
Your withdrawals are currently disabled | No new withdrawals can be opened at this time. If a URL is provided you can follow it to resolve any issues which might be causing this. |
Cartesi withdrawal
This call will be executed on the account, to which the used API key is bound to. This call is for your main account only.
Request | |
POST | https://www.bitstamp.net/api/v2/ctsi_withdrawal/ |
Request parameters | |
amount | Cartesi amount. |
address | Cartesi address. |
Response (JSON) | |
id | Withdrawal ID. |
Authentication errors | |
Missing amount and/or address POST parameters | One or both parameters missing. |
User not verified | Your account needs to be verified before you can use this endpoint. |
Cartesi withdrawals are currently unavailable for your account | Contact support for additional information. |
Not allowed to withdraw to specified Cartesi address | API key is set for withdrawing to another Cartesi address. |
Enter a number. Use "." as a decimal point | Amount parameter can only be number. |
You have only 'available' CTSI available. Check your account balance for details | Account has less 'available' CTSI that are required to make this withdrawal. |
Your withdrawals are currently disabled | No new withdrawals can be opened at this time. If a URL is provided you can follow it to resolve any issues which might be causing this. |
Convex Finance withdrawal
This call will be executed on the account, to which the used API key is bound to. This call is for your main account only.
Request | |
POST | https://www.bitstamp.net/api/v2/cvx_withdrawal/ |
Request parameters | |
amount | Convex Finance amount. |
address | Convex Finance address. |
Response (JSON) | |
id | Withdrawal ID. |
Authentication errors | |
Missing amount and/or address POST parameters | One or both parameters missing. |
User not verified | Your account needs to be verified before you can use this endpoint. |
Convex Finance withdrawals are currently unavailable for your account | Contact support for additional information. |
Not allowed to withdraw to specified Convex Finance address | API key is set for withdrawing to another Convex Finance address. |
Enter a number. Use "." as a decimal point | Amount parameter can only be number. |
You have only 'available' CVX available. Check your account balance for details | Account has less 'available' CVX that are required to make this withdrawal. |
Your withdrawals are currently disabled | No new withdrawals can be opened at this time. If a URL is provided you can follow it to resolve any issues which might be causing this. |
Immutable X withdrawal
This call will be executed on the account, to which the used API key is bound to. This call is for your main account only.
Request | |
POST | https://www.bitstamp.net/api/v2/imx_withdrawal/ |
Request parameters | |
amount | Immutable X amount. |
address | Immutable X address. |
Response (JSON) | |
id | Withdrawal ID. |
Authentication errors | |
Missing amount and/or address POST parameters | One or both parameters missing. |
User not verified | Your account needs to be verified before you can use this endpoint. |
Immutable X withdrawals are currently unavailable for your account | Contact support for additional information. |
Not allowed to withdraw to specified Immutable X address | API key is set for withdrawing to another Immutable X address. |
Enter a number. Use "." as a decimal point | Amount parameter can only be number. |
You have only 'available' IMX available. Check your account balance for details | Account has less 'available' IMX that are required to make this withdrawal. |
Your withdrawals are currently disabled | No new withdrawals can be opened at this time. If a URL is provided you can follow it to resolve any issues which might be causing this. |
Nexo withdrawal
This call will be executed on the account, to which the used API key is bound to. This call is for your main account only.
Request | |
POST | https://www.bitstamp.net/api/v2/nexo_withdrawal/ |
Request parameters | |
amount | Nexo amount. |
address | Nexo address. |
Response (JSON) | |
id | Withdrawal ID. |
Authentication errors | |
Missing amount and/or address POST parameters | One or both parameters missing. |
User not verified | Your account needs to be verified before you can use this endpoint. |
Nexo withdrawals are currently unavailable for your account | Contact support for additional information. |
Not allowed to withdraw to specified Nexo address | API key is set for withdrawing to another Nexo address. |
Enter a number. Use "." as a decimal point | Amount parameter can only be number. |
You have only 'available' NEXO available. Check your account balance for details | Account has less 'available' NEXO that are required to make this withdrawal. |
Your withdrawals are currently disabled | No new withdrawals can be opened at this time. If a URL is provided you can follow it to resolve any issues which might be causing this. |
TerraUSD withdrawal
This call will be executed on the account, to which the used API key is bound to. This call is for your main account only.
Request | |
POST | https://www.bitstamp.net/api/v2/ust_withdrawal/ |
Request parameters | |
amount | TerraUSD amount. |
address | TerraUSD address. |
Response (JSON) | |
id | Withdrawal ID. |
Authentication errors | |
Missing amount and/or address POST parameters | One or both parameters missing. |
User not verified | Your account needs to be verified before you can use this endpoint. |
TerraUSD withdrawals are currently unavailable for your account | Contact support for additional information. |
Not allowed to withdraw to specified TerraUSD address | API key is set for withdrawing to another TerraUSD address. |
Enter a number. Use "." as a decimal point | Amount parameter can only be number. |
You have only 'available' UST available. Check your account balance for details | Account has less 'available' UST that are required to make this withdrawal. |
Your withdrawals are currently disabled | No new withdrawals can be opened at this time. If a URL is provided you can follow it to resolve any issues which might be causing this. |
Aragon Network withdrawal
This call will be executed on the account, to which the used API key is bound to. This call is for your main account only.
Request | |
POST | https://www.bitstamp.net/api/v2/ant_withdrawal/ |
Request parameters | |
amount | Aragon Network amount. |
address | Aragon Network address. |
Response (JSON) | |
id | Withdrawal ID. |
Authentication errors | |
Missing amount and/or address POST parameters | One or both parameters missing. |
User not verified | Your account needs to be verified before you can use this endpoint. |
Aragon Network withdrawals are currently unavailable for your account | Contact support for additional information. |
Not allowed to withdraw to specified Aragon Network address | API key is set for withdrawing to another Aragon Network address. |
Enter a number. Use "." as a decimal point | Amount parameter can only be number. |
You have only 'available' ANT available. Check your account balance for details | Account has less 'available' ANT that are required to make this withdrawal. |
Your withdrawals are currently disabled | No new withdrawals can be opened at this time. If a URL is provided you can follow it to resolve any issues which might be causing this. |
Gods Unchained withdrawal
This call will be executed on the account, to which the used API key is bound to. This call is for your main account only.
Request | |
POST | https://www.bitstamp.net/api/v2/gods_withdrawal/ |
Request parameters | |
amount | Gods Unchained amount. |
address | Gods Unchained address. |
Response (JSON) | |
id | Withdrawal ID. |
Authentication errors | |
Missing amount and/or address POST parameters | One or both parameters missing. |
User not verified | Your account needs to be verified before you can use this endpoint. |
Gods Unchained withdrawals are currently unavailable for your account | Contact support for additional information. |
Not allowed to withdraw to specified Gods Unchained address | API key is set for withdrawing to another Gods Unchained address. |
Enter a number. Use "." as a decimal point | Amount parameter can only be number. |
You have only 'available' GODS available. Check your account balance for details | Account has less 'available' GODS that are required to make this withdrawal. |
Your withdrawals are currently disabled | No new withdrawals can be opened at this time. If a URL is provided you can follow it to resolve any issues which might be causing this. |
Radicle withdrawal
This call will be executed on the account, to which the used API key is bound to. This call is for your main account only.
Request | |
POST | https://www.bitstamp.net/api/v2/rad_withdrawal/ |
Request parameters | |
amount | Radicle amount. |
address | Radicle address. |
Response (JSON) | |
id | Withdrawal ID. |
Authentication errors | |
Missing amount and/or address POST parameters | One or both parameters missing. |
User not verified | Your account needs to be verified before you can use this endpoint. |
Radicle withdrawals are currently unavailable for your account | Contact support for additional information. |
Not allowed to withdraw to specified Radicle address | API key is set for withdrawing to another Radicle address. |
Enter a number. Use "." as a decimal point | Amount parameter can only be number. |
You have only 'available' RAD available. Check your account balance for details | Account has less 'available' RAD that are required to make this withdrawal. |
Your withdrawals are currently disabled | No new withdrawals can be opened at this time. If a URL is provided you can follow it to resolve any issues which might be causing this. |
Band Protocol withdrawal
This call will be executed on the account, to which the used API key is bound to. This call is for your main account only.
Request | |
POST | https://www.bitstamp.net/api/v2/band_withdrawal/ |
Request parameters | |
amount | Band Protocol amount. |
address | Band Protocol address. |
Response (JSON) | |
id | Withdrawal ID. |
Authentication errors | |
Missing amount and/or address POST parameters | One or both parameters missing. |
User not verified | Your account needs to be verified before you can use this endpoint. |
Band Protocol withdrawals are currently unavailable for your account | Contact support for additional information. |
Not allowed to withdraw to specified Band Protocol address | API key is set for withdrawing to another Band Protocol address. |
Enter a number. Use "." as a decimal point | Amount parameter can only be number. |
You have only 'available' BAND available. Check your account balance for details | Account has less 'available' BAND that are required to make this withdrawal. |
Your withdrawals are currently disabled | No new withdrawals can be opened at this time. If a URL is provided you can follow it to resolve any issues which might be causing this. |
Injective Protocol withdrawal
This call will be executed on the account, to which the used API key is bound to. This call is for your main account only.
Request | |
POST | https://www.bitstamp.net/api/v2/inj_withdrawal/ |
Request parameters | |
amount | Injective Protocol amount. |
address | Injective Protocol address. |
Response (JSON) | |
id | Withdrawal ID. |
Authentication errors | |
Missing amount and/or address POST parameters | One or both parameters missing. |
User not verified | Your account needs to be verified before you can use this endpoint. |
Injective Protocol withdrawals are currently unavailable for your account | Contact support for additional information. |
Not allowed to withdraw to specified Injective Protocol address | API key is set for withdrawing to another Injective Protocol address. |
Enter a number. Use "." as a decimal point | Amount parameter can only be number. |
You have only 'available' INJ available. Check your account balance for details | Account has less 'available' INJ that are required to make this withdrawal. |
Your withdrawals are currently disabled | No new withdrawals can be opened at this time. If a URL is provided you can follow it to resolve any issues which might be causing this. |
Rally withdrawal
This call will be executed on the account, to which the used API key is bound to. This call is for your main account only.
Request | |
POST | https://www.bitstamp.net/api/v2/rly_withdrawal/ |
Request parameters | |
amount | Rally amount. |
address | Rally address. |
Response (JSON) | |
id | Withdrawal ID. |
Authentication errors | |
Missing amount and/or address POST parameters | One or both parameters missing. |
User not verified | Your account needs to be verified before you can use this endpoint. |
Rally withdrawals are currently unavailable for your account | Contact support for additional information. |
Not allowed to withdraw to specified Rally address | API key is set for withdrawing to another Rally address. |
Enter a number. Use "." as a decimal point | Amount parameter can only be number. |
You have only 'available' RLY available. Check your account balance for details | Account has less 'available' RLY that are required to make this withdrawal. |
Your withdrawals are currently disabled | No new withdrawals can be opened at this time. If a URL is provided you can follow it to resolve any issues which might be causing this. |
Render Token withdrawal
This call will be executed on the account, to which the used API key is bound to. This call is for your main account only.
Request | |
POST | https://www.bitstamp.net/api/v2/rndr_withdrawal/ |
Request parameters | |
amount | Render Token amount. |
address | Render Token address. |
Response (JSON) | |
id | Withdrawal ID. |
Authentication errors | |
Missing amount and/or address POST parameters | One or both parameters missing. |
User not verified | Your account needs to be verified before you can use this endpoint. |
Render Token withdrawals are currently unavailable for your account | Contact support for additional information. |
Not allowed to withdraw to specified Render Token address | API key is set for withdrawing to another Render Token address. |
Enter a number. Use "." as a decimal point | Amount parameter can only be number. |
You have only 'available' RNDR available. Check your account balance for details | Account has less 'available' RNDR that are required to make this withdrawal. |
Your withdrawals are currently disabled | No new withdrawals can be opened at this time. If a URL is provided you can follow it to resolve any issues which might be causing this. |
Vega Protocol withdrawal
This call will be executed on the account, to which the used API key is bound to. This call is for your main account only.
Request | |
POST | https://www.bitstamp.net/api/v2/vega_withdrawal/ |
Request parameters | |
amount | Vega Protocol amount. |
address | Vega Protocol address. |
Response (JSON) | |
id | Withdrawal ID. |
Authentication errors | |
Missing amount and/or address POST parameters | One or both parameters missing. |
User not verified | Your account needs to be verified before you can use this endpoint. |
Vega Protocol withdrawals are currently unavailable for your account | Contact support for additional information. |
Not allowed to withdraw to specified Vega Protocol address | API key is set for withdrawing to another Vega Protocol address. |
Enter a number. Use "." as a decimal point | Amount parameter can only be number. |
You have only 'available' VEGA available. Check your account balance for details | Account has less 'available' VEGA that are required to make this withdrawal. |
Your withdrawals are currently disabled | No new withdrawals can be opened at this time. If a URL is provided you can follow it to resolve any issues which might be causing this. |
1inch withdrawal
This call will be executed on the account, to which the used API key is bound to. This call is for your main account only.
Request | |
POST | https://www.bitstamp.net/api/v2/1inch_withdrawal/ |
Request parameters | |
amount | 1inch amount. |
address | 1inch address. |
Response (JSON) | |
id | Withdrawal ID. |
Authentication errors | |
Missing amount and/or address POST parameters | One or both parameters missing. |
User not verified | Your account needs to be verified before you can use this endpoint. |
1inch withdrawals are currently unavailable for your account | Contact support for additional information. |
Not allowed to withdraw to specified 1inch address | API key is set for withdrawing to another 1inch address. |
Enter a number. Use "." as a decimal point | Amount parameter can only be number. |
You have only 'available' 1INCH available. Check your account balance for details | Account has less 'available' 1INCH that are required to make this withdrawal. |
Your withdrawals are currently disabled | No new withdrawals can be opened at this time. If a URL is provided you can follow it to resolve any issues which might be causing this. |
Solana withdrawal
This call will be executed on the account, to which the used API key is bound to. This call is for your main account only.
Request | |
POST | https://www.bitstamp.net/api/v2/sol_withdrawal/ |
Request parameters | |
amount | Solana amount. |
address | Solana address. |
Response (JSON) | |
id | Withdrawal ID. |
Authentication errors | |
Missing amount and/or address POST parameters | One or both parameters missing. |
User not verified | Your account needs to be verified before you can use this endpoint. |
Solana withdrawals are currently unavailable for your account | Contact support for additional information. |
Not allowed to withdraw to specified Solana address | API key is set for withdrawing to another Solana address. |
Enter a number. Use "." as a decimal point | Amount parameter can only be number. |
You have only 'available' SOL available. Check your account balance for details | Account has less 'available' SOL that are required to make this withdrawal. |
Your withdrawals are currently disabled | No new withdrawals can be opened at this time. If a URL is provided you can follow it to resolve any issues which might be causing this. |
Boba network withdrawal
This call will be executed on the account, to which the used API key is bound to. This call is for your main account only.
Request | |
POST | https://www.bitstamp.net/api/v2/boba_withdrawal/ |
Request parameters | |
amount | Boba network amount. |
address | Boba network address. |
Response (JSON) | |
id | Withdrawal ID. |
Authentication errors | |
Missing amount and/or address POST parameters | One or both parameters missing. |
User not verified | Your account needs to be verified before you can use this endpoint. |
Boba network withdrawals are currently unavailable for your account | Contact support for additional information. |
Not allowed to withdraw to specified Boba network address | API key is set for withdrawing to another Boba network address. |
Enter a number. Use "." as a decimal point | Amount parameter can only be number. |
You have only 'available' BOBA available. Check your account balance for details | Account has less 'available' BOBA that are required to make this withdrawal. |
Your withdrawals are currently disabled | No new withdrawals can be opened at this time. If a URL is provided you can follow it to resolve any issues which might be causing this. |
ApeCoin withdrawal
This call will be executed on the account, to which the used API key is bound to. This call is for your main account only.
Request | |
POST | https://www.bitstamp.net/api/v2/ape_withdrawal/ |
Request parameters | |
amount | ApeCoin amount. |
address | ApeCoin address. |
Response (JSON) | |
id | Withdrawal ID. |
Authentication errors | |
Missing amount and/or address POST parameters | One or both parameters missing. |
User not verified | Your account needs to be verified before you can use this endpoint. |
ApeCoin withdrawals are currently unavailable for your account | Contact support for additional information. |
Not allowed to withdraw to specified ApeCoin address | API key is set for withdrawing to another ApeCoin address. |
Enter a number. Use "." as a decimal point | Amount parameter can only be number. |
You have only 'available' APE available. Check your account balance for details | Account has less 'available' APE that are required to make this withdrawal. |
Your withdrawals are currently disabled | No new withdrawals can be opened at this time. If a URL is provided you can follow it to resolve any issues which might be causing this. |
Maple withdrawal
This call will be executed on the account, to which the used API key is bound to. This call is for your main account only.
Request | |
POST | https://www.bitstamp.net/api/v2/mpl_withdrawal/ |
Request parameters | |
amount | Maple amount. |
address | Maple address. |
Response (JSON) | |
id | Withdrawal ID. |
Authentication errors | |
Missing amount and/or address POST parameters | One or both parameters missing. |
User not verified | Your account needs to be verified before you can use this endpoint. |
Maple withdrawals are currently unavailable for your account | Contact support for additional information. |
Not allowed to withdraw to specified Maple address | API key is set for withdrawing to another Maple address. |
Enter a number. Use "." as a decimal point | Amount parameter can only be number. |
You have only 'available' MPL available. Check your account balance for details | Account has less 'available' MPL that are required to make this withdrawal. |
Your withdrawals are currently disabled | No new withdrawals can be opened at this time. If a URL is provided you can follow it to resolve any issues which might be causing this. |
Euro Coin withdrawal
This call will be executed on the account, to which the used API key is bound to. This call is for your main account only.
Request | |
POST | https://www.bitstamp.net/api/v2/euroc_withdrawal/ |
Request parameters | |
amount | Euro Coin amount. |
address | Euro Coin address. |
Response (JSON) | |
id | Withdrawal ID. |
Authentication errors | |
Missing amount and/or address POST parameters | One or both parameters missing. |
User not verified | Your account needs to be verified before you can use this endpoint. |
Euro Coin withdrawals are currently unavailable for your account | Contact support for additional information. |
Not allowed to withdraw to specified Euro Coin address | API key is set for withdrawing to another Euro Coin address. |
Enter a number. Use "." as a decimal point | Amount parameter can only be number. |
You have only 'available' EUROC available. Check your account balance for details | Account has less 'available' EUROC that are required to make this withdrawal. |
Your withdrawals are currently disabled | No new withdrawals can be opened at this time. If a URL is provided you can follow it to resolve any issues which might be causing this. |
Polkadot withdrawal
This call will be executed on the account, to which the used API key is bound to. This call is for your main account only.
Request | |
POST | https://www.bitstamp.net/api/v2/dot_withdrawal/ |
Request parameters | |
amount | Polkadot amount. |
address | Polkadot address. |
Response (JSON) | |
id | Withdrawal ID. |
Authentication errors | |
Missing amount and/or address POST parameters | One or both parameters missing. |
User not verified | Your account needs to be verified before you can use this endpoint. |
Polkadot withdrawals are currently unavailable for your account | Contact support for additional information. |
Not allowed to withdraw to specified Polkadot address | API key is set for withdrawing to another Polkadot address. |
Enter a number. Use "." as a decimal point | Amount parameter can only be number. |
You have only 'available' DOT available. Check your account balance for details | Account has less 'available' DOT that are required to make this withdrawal. |
Your withdrawals are currently disabled | No new withdrawals can be opened at this time. If a URL is provided you can follow it to resolve any issues which might be causing this. |
NEAR Protocol withdrawal
This call will be executed on the account, to which the used API key is bound to. This call is for your main account only.
Request | |
POST | https://www.bitstamp.net/api/v2/near_withdrawal/ |
Request parameters | |
amount | NEAR Protocol amount. |
address | NEAR Protocol address. |
Response (JSON) | |
id | Withdrawal ID. |
Authentication errors | |
Missing amount and/or address POST parameters | One or both parameters missing. |
User not verified | Your account needs to be verified before you can use this endpoint. |
NEAR Protocol withdrawals are currently unavailable for your account | Contact support for additional information. |
Not allowed to withdraw to specified NEAR Protocol address | API key is set for withdrawing to another NEAR Protocol address. |
Enter a number. Use "." as a decimal point | Amount parameter can only be number. |
You have only 'available' NEAR available. Check your account balance for details | Account has less 'available' NEAR that are required to make this withdrawal. |
Your withdrawals are currently disabled | No new withdrawals can be opened at this time. If a URL is provided you can follow it to resolve any issues which might be causing this. |
Dogecoin withdrawal
This call will be executed on the account, to which the used API key is bound to. This call is for your main account only.
Request | |
POST | https://www.bitstamp.net/api/v2/doge_withdrawal/ |
Request parameters | |
amount | Dogecoin amount. |
address | Dogecoin address. |
Response (JSON) | |
id | Withdrawal ID. |
Authentication errors | |
Missing amount and/or address POST parameters | One or both parameters missing. |
User not verified | Your account needs to be verified before you can use this endpoint. |
Dogecoin withdrawals are currently unavailable for your account | Contact support for additional information. |
Not allowed to withdraw to specified Dogecoin address | API key is set for withdrawing to another Dogecoin address. |
Enter a number. Use "." as a decimal point | Amount parameter can only be number. |
You have only 'available' DOGE available. Check your account balance for details | Account has less 'available' DOGE that are required to make this withdrawal. |
Your withdrawals are currently disabled | No new withdrawals can be opened at this time. If a URL is provided you can follow it to resolve any issues which might be causing this. |
Sui withdrawal
This call will be executed on the account, to which the used API key is bound to. This call is for your main account only.
Request | |
POST | https://www.bitstamp.net/api/v2/sui_withdrawal/ |
Request parameters | |
amount | Sui amount. |
address | Sui address. |
Response (JSON) | |
id | Withdrawal ID. |
Authentication errors | |
Missing amount and/or address POST parameters | One or both parameters missing. |
User not verified | Your account needs to be verified before you can use this endpoint. |
Sui withdrawals are currently unavailable for your account | Contact support for additional information. |
Not allowed to withdraw to specified Sui address | API key is set for withdrawing to another Sui address. |
Enter a number. Use "." as a decimal point | Amount parameter can only be number. |
You have only 'available' SUI available. Check your account balance for details | Account has less 'available' SUI that are required to make this withdrawal. |
Your withdrawals are currently disabled | No new withdrawals can be opened at this time. If a URL is provided you can follow it to resolve any issues which might be causing this. |
IOU withdrawal
This call will be executed on the account (Sub or Main), to which the used API key is bound to. This endpoint supports withdrawals of USD, BTC or EUR* IOU on the XRP Ledger.
*EUR-IOU supported globally (except in the US and Singapore).
Request | |
POST | https://www.bitstamp.net/api/v2/ripple_withdrawal/ |
Request parameters | |
amount | Currency amount. |
address | XRP address. |
currency | Currency. |
Response (JSON) | |
id | Withdrawal ID. |
Authentication errors | |
Missing amount and/or address and/or currency POST parameters | One or all parameters are missing |
User not verified | You need to verify account before withdrawal |
XRP withdrawals are currently unavailable for your account. | Contact support for additional information. |
Ensure this value has at least 25 characters (it has x) Ensure this value has at most 50 characters (it has x) |
Address parameter must be between 25 and 50 characters long |
'parameter': Enter a number. Use "." as a decimal point. | 'parameter' can only be number |
You have only 'available' 'currency' available. Check your account balance for details. | Account has less 'available' 'currency' than is required to make this withdrawal |
Your withdrawals are currently disabled | No new withdrawals can be opened at this time. If a URL is provided you can follow it to resolve any issues which might be causing this. |
Bitcoin Cash deposit address
Request | |
POST | https://www.bitstamp.net/api/v2/bch_address/ |
Response (JSON) | |
Returns your BCH deposit address. |
Authentication errors | |
User not verified | Your account needs to be verified before you can use this endpoint. |
Your deposits are currently disabled | No new deposits can be made at this time. If a URL is provided you can follow it to resolve any issues which might be causing this. |
Bitcoin deposit address
Request | |
POST | https://www.bitstamp.net/api/v2/btc_address/ |
Response (JSON) | |
Returns your BTC deposit address. |
Authentication errors | |
User not verified | Your account needs to be verified before you can use this endpoint. |
Your deposits are currently disabled | No new deposits can be made at this time. If a URL is provided you can follow it to resolve any issues which might be causing this. |
Ether deposit address
Request | |
POST | https://www.bitstamp.net/api/v2/eth_address/ |
Response (JSON) | |
Returns your ETH deposit address. |
Authentication errors | |
User not verified | Your account needs to be verified before you can use this endpoint. |
Your deposits are currently disabled | No new deposits can be made at this time. If a URL is provided you can follow it to resolve any issues which might be causing this. |
Address not ready due to network congestion. Please try again in few minutes | We couldn't provide you with an address due to network congestion. |
Litecoin deposit address
Request | |
POST | https://www.bitstamp.net/api/v2/ltc_address/ |
Response (JSON) | |
Returns your LTC deposit address. |
Authentication errors | |
User not verified | Your account needs to be verified before you can use this endpoint. |
Your deposits are currently disabled | No new deposits can be made at this time. If a URL is provided you can follow it to resolve any issues which might be causing this. |
Paxos Standard deposit address
Request | |
POST | https://www.bitstamp.net/api/v2/pax_address/ |
Response (JSON) | |
Returns your PAX deposit address. |
Authentication errors | |
User not verified | Your account needs to be verified before you can use this endpoint. |
Your deposits are currently disabled | No new deposits can be made at this time. If a URL is provided you can follow it to resolve any issues which might be causing this. |
Stellar Lumens deposit address
Request | |
POST | https://www.bitstamp.net/api/v2/xlm_address/ |
Response (JSON) | |
Returns your XLM deposit address. |
Authentication errors | |
User not verified | Your account needs to be verified before you can use this endpoint. |
Your deposits are currently disabled | No new deposits can be made at this time. If a URL is provided you can follow it to resolve any issues which might be causing this. |
XRP deposit address
This call will be executed on the account (Sub or Main), to which the used API key is bound to. This endpoint returns deposit address for XRP on the Ripple network.
Request | |
POST | https://www.bitstamp.net/api/v2/xrp_address/ |
Response (JSON) | |
Returns your XRP deposit address and destination tag. |
Authentication errors | |
User not verified | Your account needs to be verified before you can use this endpoint. |
Your deposits are currently disabled | No new deposits can be made at this time. If a URL is provided you can follow it to resolve any issues which might be causing this. |
Chainlink deposit address
Request | |
POST | https://www.bitstamp.net/api/v2/link_address/ |
Response (JSON) | |
Returns your LINK deposit address. |
Authentication errors | |
User not verified | Your account needs to be verified before you can use this endpoint. |
Your deposits are currently disabled | No new deposits can be made at this time. If a URL is provided you can follow it to resolve any issues which might be causing this. |
USD Coin deposit address
Request | |
POST | https://www.bitstamp.net/api/v2/usdc_address/ |
Response (JSON) | |
Returns your USDC deposit address. |
Authentication errors | |
User not verified | Your account needs to be verified before you can use this endpoint. |
Your deposits are currently disabled | No new deposits can be made at this time. If a URL is provided you can follow it to resolve any issues which might be causing this. |
AAVE deposit address
Request | |
POST | https://www.bitstamp.net/api/v2/aave_address/ |
Response (JSON) | |
Returns your AAVE deposit address. |
Authentication errors | |
User not verified | Your account needs to be verified before you can use this endpoint. |
Your deposits are currently disabled | No new deposits can be made at this time. If a URL is provided you can follow it to resolve any issues which might be causing this. |
Basic Attention Token deposit address
Request | |
POST | https://www.bitstamp.net/api/v2/bat_address/ |
Response (JSON) | |
Returns your BAT deposit address. |
Authentication errors | |
User not verified | Your account needs to be verified before you can use this endpoint. |
Your deposits are currently disabled | No new deposits can be made at this time. If a URL is provided you can follow it to resolve any issues which might be causing this. |
UMA deposit address
Request | |
POST | https://www.bitstamp.net/api/v2/uma_address/ |
Response (JSON) | |
Returns your UMA deposit address. |
Authentication errors | |
User not verified | Your account needs to be verified before you can use this endpoint. |
Your deposits are currently disabled | No new deposits can be made at this time. If a URL is provided you can follow it to resolve any issues which might be causing this. |
DAI deposit address
Request | |
POST | https://www.bitstamp.net/api/v2/dai_address/ |
Response (JSON) | |
Returns your DAI deposit address. |
Authentication errors | |
User not verified | Your account needs to be verified before you can use this endpoint. |
Your deposits are currently disabled | No new deposits can be made at this time. If a URL is provided you can follow it to resolve any issues which might be causing this. |
Kyber Network deposit address
Request | |
POST | https://www.bitstamp.net/api/v2/knc_address/ |
Response (JSON) | |
Returns your KNC deposit address. |
Authentication errors | |
User not verified | Your account needs to be verified before you can use this endpoint. |
Your deposits are currently disabled | No new deposits can be made at this time. If a URL is provided you can follow it to resolve any issues which might be causing this. |
Maker deposit address
Request | |
POST | https://www.bitstamp.net/api/v2/mkr_address/ |
Response (JSON) | |
Returns your MKR deposit address. |
Authentication errors | |
User not verified | Your account needs to be verified before you can use this endpoint. |
Your deposits are currently disabled | No new deposits can be made at this time. If a URL is provided you can follow it to resolve any issues which might be causing this. |
0x deposit address
Request | |
POST | https://www.bitstamp.net/api/v2/zrx_address/ |
Response (JSON) | |
Returns your ZRX deposit address. |
Authentication errors | |
User not verified | Your account needs to be verified before you can use this endpoint. |
Your deposits are currently disabled | No new deposits can be made at this time. If a URL is provided you can follow it to resolve any issues which might be causing this. |
Gemini Dollar deposit address
Request | |
POST | https://www.bitstamp.net/api/v2/gusd_address/ |
Response (JSON) | |
Returns your GUSD deposit address. |
Authentication errors | |
User not verified | Your account needs to be verified before you can use this endpoint. |
Your deposits are currently disabled | No new deposits can be made at this time. If a URL is provided you can follow it to resolve any issues which might be causing this. |
Algorand deposit address
Request | |
POST | https://www.bitstamp.net/api/v2/algo_address/ |
Response (JSON) | |
Returns your ALGO deposit address. |
Authentication errors | |
User not verified | Your account needs to be verified before you can use this endpoint. |
Your deposits are currently disabled | No new deposits can be made at this time. If a URL is provided you can follow it to resolve any issues which might be causing this. |
Audius deposit address
Request | |
POST | https://www.bitstamp.net/api/v2/audio_address/ |
Response (JSON) | |
Returns your AUDIO deposit address. |
Authentication errors | |
User not verified | Your account needs to be verified before you can use this endpoint. |
Your deposits are currently disabled | No new deposits can be made at this time. If a URL is provided you can follow it to resolve any issues which might be causing this. |
Curve deposit address
Request | |
POST | https://www.bitstamp.net/api/v2/crv_address/ |
Response (JSON) | |
Returns your CRV deposit address. |
Authentication errors | |
User not verified | Your account needs to be verified before you can use this endpoint. |
Your deposits are currently disabled | No new deposits can be made at this time. If a URL is provided you can follow it to resolve any issues which might be causing this. |
Synthetix deposit address
Request | |
POST | https://www.bitstamp.net/api/v2/snx_address/ |
Response (JSON) | |
Returns your SNX deposit address. |
Authentication errors | |
User not verified | Your account needs to be verified before you can use this endpoint. |
Your deposits are currently disabled | No new deposits can be made at this time. If a URL is provided you can follow it to resolve any issues which might be causing this. |
Uniswap deposit address
Request | |
POST | https://www.bitstamp.net/api/v2/uni_address/ |
Response (JSON) | |
Returns your UNI deposit address. |
Authentication errors | |
User not verified | Your account needs to be verified before you can use this endpoint. |
Your deposits are currently disabled | No new deposits can be made at this time. If a URL is provided you can follow it to resolve any issues which might be causing this. |
yearn.finance deposit address
Request | |
POST | https://www.bitstamp.net/api/v2/yfi_address/ |
Response (JSON) | |
Returns your YFI deposit address. |
Authentication errors | |
User not verified | Your account needs to be verified before you can use this endpoint. |
Your deposits are currently disabled | No new deposits can be made at this time. If a URL is provided you can follow it to resolve any issues which might be causing this. |
Compound deposit address
Request | |
POST | https://www.bitstamp.net/api/v2/comp_address/ |
Response (JSON) | |
Returns your COMP deposit address. |
Authentication errors | |
User not verified | Your account needs to be verified before you can use this endpoint. |
Your deposits are currently disabled | No new deposits can be made at this time. If a URL is provided you can follow it to resolve any issues which might be causing this. |
The Graph deposit address
Request | |
POST | https://www.bitstamp.net/api/v2/grt_address/ |
Response (JSON) | |
Returns your GRT deposit address. |
Authentication errors | |
User not verified | Your account needs to be verified before you can use this endpoint. |
Your deposits are currently disabled | No new deposits can be made at this time. If a URL is provided you can follow it to resolve any issues which might be causing this. |
Loopring deposit address
Request | |
POST | https://www.bitstamp.net/api/v2/lrc_address/ |
Response (JSON) | |
Returns your LRC deposit address. |
Authentication errors | |
User not verified | Your account needs to be verified before you can use this endpoint. |
Your deposits are currently disabled | No new deposits can be made at this time. If a URL is provided you can follow it to resolve any issues which might be causing this. |
Tether deposit address
Request | |
POST | https://www.bitstamp.net/api/v2/usdt_address/ |
Response (JSON) | |
Returns your USDT deposit address. |
Authentication errors | |
User not verified | Your account needs to be verified before you can use this endpoint. |
Your deposits are currently disabled | No new deposits can be made at this time. If a URL is provided you can follow it to resolve any issues which might be causing this. |
Euro Tether deposit address
Request | |
POST | https://www.bitstamp.net/api/v2/eurt_address/ |
Response (JSON) | |
Returns your EURT deposit address. |
Authentication errors | |
User not verified | Your account needs to be verified before you can use this endpoint. |
Your deposits are currently disabled | No new deposits can be made at this time. If a URL is provided you can follow it to resolve any issues which might be causing this. |
Flare deposit address
Request | |
POST | https://www.bitstamp.net/api/v2/flr_address/ |
Response (JSON) | |
Returns your FLR deposit address. |
Authentication errors | |
User not verified | Your account needs to be verified before you can use this endpoint. |
Your deposits are currently disabled | No new deposits can be made at this time. If a URL is provided you can follow it to resolve any issues which might be causing this. |
Decentraland deposit address
Request | |
POST | https://www.bitstamp.net/api/v2/mana_address/ |
Response (JSON) | |
Returns your MANA deposit address. |
Authentication errors | |
User not verified | Your account needs to be verified before you can use this endpoint. |
Your deposits are currently disabled | No new deposits can be made at this time. If a URL is provided you can follow it to resolve any issues which might be causing this. |
Polygon deposit address
Request | |
POST | https://www.bitstamp.net/api/v2/matic_address/ |
Response (JSON) | |
Returns your MATIC deposit address. |
Authentication errors | |
User not verified | Your account needs to be verified before you can use this endpoint. |
Your deposits are currently disabled | No new deposits can be made at this time. If a URL is provided you can follow it to resolve any issues which might be causing this. |
SushiSwap deposit address
Request | |
POST | https://www.bitstamp.net/api/v2/sushi_address/ |
Response (JSON) | |
Returns your SUSHI deposit address. |
Authentication errors | |
User not verified | Your account needs to be verified before you can use this endpoint. |
Your deposits are currently disabled | No new deposits can be made at this time. If a URL is provided you can follow it to resolve any issues which might be causing this. |
Chiliz deposit address
Request | |
POST | https://www.bitstamp.net/api/v2/chz_address/ |
Response (JSON) | |
Returns your CHZ deposit address. |
Authentication errors | |
User not verified | Your account needs to be verified before you can use this endpoint. |
Your deposits are currently disabled | No new deposits can be made at this time. If a URL is provided you can follow it to resolve any issues which might be causing this. |
Enjin Coin deposit address
Request | |
POST | https://www.bitstamp.net/api/v2/enj_address/ |
Response (JSON) | |
Returns your ENJ deposit address. |
Authentication errors | |
User not verified | Your account needs to be verified before you can use this endpoint. |
Your deposits are currently disabled | No new deposits can be made at this time. If a URL is provided you can follow it to resolve any issues which might be causing this. |
Hedera Hashgraph deposit address
Request | |
POST | https://www.bitstamp.net/api/v2/hbar_address/ |
Response (JSON) | |
Returns your HBAR deposit address. |
Authentication errors | |
User not verified | Your account needs to be verified before you can use this endpoint. |
Your deposits are currently disabled | No new deposits can be made at this time. If a URL is provided you can follow it to resolve any issues which might be causing this. |
Alpha Finance deposit address
Request | |
POST | https://www.bitstamp.net/api/v2/alpha_address/ |
Response (JSON) | |
Returns your ALPHA deposit address. |
Authentication errors | |
User not verified | Your account needs to be verified before you can use this endpoint. |
Your deposits are currently disabled | No new deposits can be made at this time. If a URL is provided you can follow it to resolve any issues which might be causing this. |
Axie Infinity deposit address
Request | |
POST | https://www.bitstamp.net/api/v2/axs_address/ |
Response (JSON) | |
Returns your AXS deposit address. |
Authentication errors | |
User not verified | Your account needs to be verified before you can use this endpoint. |
Your deposits are currently disabled | No new deposits can be made at this time. If a URL is provided you can follow it to resolve any issues which might be causing this. |
FTX Token deposit address
Request | |
POST | https://www.bitstamp.net/api/v2/ftt_address/ |
Response (JSON) | |
Returns your FTT deposit address. |
Authentication errors | |
User not verified | Your account needs to be verified before you can use this endpoint. |
Your deposits are currently disabled | No new deposits can be made at this time. If a URL is provided you can follow it to resolve any issues which might be causing this. |
The Sandbox deposit address
Request | |
POST | https://www.bitstamp.net/api/v2/sand_address/ |
Response (JSON) | |
Returns your SAND deposit address. |
Authentication errors | |
User not verified | Your account needs to be verified before you can use this endpoint. |
Your deposits are currently disabled | No new deposits can be made at this time. If a URL is provided you can follow it to resolve any issues which might be causing this. |
Storj deposit address
Request | |
POST | https://www.bitstamp.net/api/v2/storj_address/ |
Response (JSON) | |
Returns your STORJ deposit address. |
Authentication errors | |
User not verified | Your account needs to be verified before you can use this endpoint. |
Your deposits are currently disabled | No new deposits can be made at this time. If a URL is provided you can follow it to resolve any issues which might be causing this. |
Cardano deposit address
Request | |
POST | https://www.bitstamp.net/api/v2/ada_address/ |
Response (JSON) | |
Returns your ADA deposit address. |
Authentication errors | |
User not verified | Your account needs to be verified before you can use this endpoint. |
Your deposits are currently disabled | No new deposits can be made at this time. If a URL is provided you can follow it to resolve any issues which might be causing this. |
Fetch.ai deposit address
Request | |
POST | https://www.bitstamp.net/api/v2/fet_address/ |
Response (JSON) | |
Returns your FET deposit address. |
Authentication errors | |
User not verified | Your account needs to be verified before you can use this endpoint. |
Your deposits are currently disabled | No new deposits can be made at this time. If a URL is provided you can follow it to resolve any issues which might be causing this. |
SKALE Network deposit address
Request | |
POST | https://www.bitstamp.net/api/v2/skl_address/ |
Response (JSON) | |
Returns your SKL deposit address. |
Authentication errors | |
User not verified | Your account needs to be verified before you can use this endpoint. |
Your deposits are currently disabled | No new deposits can be made at this time. If a URL is provided you can follow it to resolve any issues which might be causing this. |
Smooth Love Potion deposit address
Request | |
POST | https://www.bitstamp.net/api/v2/slp_address/ |
Response (JSON) | |
Returns your SLP deposit address. |
Authentication errors | |
User not verified | Your account needs to be verified before you can use this endpoint. |
Your deposits are currently disabled | No new deposits can be made at this time. If a URL is provided you can follow it to resolve any issues which might be causing this. |
Swipe deposit address
Request | |
POST | https://www.bitstamp.net/api/v2/sxp_address/ |
Response (JSON) | |
Returns your SXP deposit address. |
Authentication errors | |
User not verified | Your account needs to be verified before you can use this endpoint. |
Your deposits are currently disabled | No new deposits can be made at this time. If a URL is provided you can follow it to resolve any issues which might be causing this. |
Songbird deposit address
Request | |
POST | https://www.bitstamp.net/api/v2/sgb_address/ |
Response (JSON) | |
Returns your SGB deposit address. |
Authentication errors | |
User not verified | Your account needs to be verified before you can use this endpoint. |
Your deposits are currently disabled | No new deposits can be made at this time. If a URL is provided you can follow it to resolve any issues which might be causing this. |
Avalanche deposit address
Request | |
POST | https://www.bitstamp.net/api/v2/avax_address/ |
Response (JSON) | |
Returns your AVAX deposit address. |
Authentication errors | |
User not verified | Your account needs to be verified before you can use this endpoint. |
Your deposits are currently disabled | No new deposits can be made at this time. If a URL is provided you can follow it to resolve any issues which might be causing this. |
dYdX deposit address
Request | |
POST | https://www.bitstamp.net/api/v2/dydx_address/ |
Response (JSON) | |
Returns your DYDX deposit address. |
Authentication errors | |
User not verified | Your account needs to be verified before you can use this endpoint. |
Your deposits are currently disabled | No new deposits can be made at this time. If a URL is provided you can follow it to resolve any issues which might be causing this. |
Fantom deposit address
Request | |
POST | https://www.bitstamp.net/api/v2/ftm_address/ |
Response (JSON) | |
Returns your FTM deposit address. |
Authentication errors | |
User not verified | Your account needs to be verified before you can use this endpoint. |
Your deposits are currently disabled | No new deposits can be made at this time. If a URL is provided you can follow it to resolve any issues which might be causing this. |
Shiba Inu deposit address
Request | |
POST | https://www.bitstamp.net/api/v2/shib_address/ |
Response (JSON) | |
Returns your SHIB deposit address. |
Authentication errors | |
User not verified | Your account needs to be verified before you can use this endpoint. |
Your deposits are currently disabled | No new deposits can be made at this time. If a URL is provided you can follow it to resolve any issues which might be causing this. |
Amp deposit address
Request | |
POST | https://www.bitstamp.net/api/v2/amp_address/ |
Response (JSON) | |
Returns your AMP deposit address. |
Authentication errors | |
User not verified | Your account needs to be verified before you can use this endpoint. |
Your deposits are currently disabled | No new deposits can be made at this time. If a URL is provided you can follow it to resolve any issues which might be causing this. |
Ethereum Name Service deposit address
Request | |
POST | https://www.bitstamp.net/api/v2/ens_address/ |
Response (JSON) | |
Returns your ENS deposit address. |
Authentication errors | |
User not verified | Your account needs to be verified before you can use this endpoint. |
Your deposits are currently disabled | No new deposits can be made at this time. If a URL is provided you can follow it to resolve any issues which might be causing this. |
Gala deposit address
Request | |
POST | https://www.bitstamp.net/api/v2/gala_address/ |
Response (JSON) | |
Returns your GALA deposit address. |
Authentication errors | |
User not verified | Your account needs to be verified before you can use this endpoint. |
Your deposits are currently disabled | No new deposits can be made at this time. If a URL is provided you can follow it to resolve any issues which might be causing this. |
Perpetual Protocol deposit address
Request | |
POST | https://www.bitstamp.net/api/v2/perp_address/ |
Response (JSON) | |
Returns your PERP deposit address. |
Authentication errors | |
User not verified | Your account needs to be verified before you can use this endpoint. |
Your deposits are currently disabled | No new deposits can be made at this time. If a URL is provided you can follow it to resolve any issues which might be causing this. |
Wrapped Bitcoin deposit address
Request | |
POST | https://www.bitstamp.net/api/v2/wbtc_address/ |
Response (JSON) | |
Returns your WBTC deposit address. |
Authentication errors | |
User not verified | Your account needs to be verified before you can use this endpoint. |
Your deposits are currently disabled | No new deposits can be made at this time. If a URL is provided you can follow it to resolve any issues which might be causing this. |
Cartesi deposit address
Request | |
POST | https://www.bitstamp.net/api/v2/ctsi_address/ |
Response (JSON) | |
Returns your CTSI deposit address. |
Authentication errors | |
User not verified | Your account needs to be verified before you can use this endpoint. |
Your deposits are currently disabled | No new deposits can be made at this time. If a URL is provided you can follow it to resolve any issues which might be causing this. |
Convex Finance deposit address
Request | |
POST | https://www.bitstamp.net/api/v2/cvx_address/ |
Response (JSON) | |
Returns your CVX deposit address. |
Authentication errors | |
User not verified | Your account needs to be verified before you can use this endpoint. |
Your deposits are currently disabled | No new deposits can be made at this time. If a URL is provided you can follow it to resolve any issues which might be causing this. |
Immutable X deposit address
Request | |
POST | https://www.bitstamp.net/api/v2/imx_address/ |
Response (JSON) | |
Returns your IMX deposit address. |
Authentication errors | |
User not verified | Your account needs to be verified before you can use this endpoint. |
Your deposits are currently disabled | No new deposits can be made at this time. If a URL is provided you can follow it to resolve any issues which might be causing this. |
Nexo deposit address
Request | |
POST | https://www.bitstamp.net/api/v2/nexo_address/ |
Response (JSON) | |
Returns your NEXO deposit address. |
Authentication errors | |
User not verified | Your account needs to be verified before you can use this endpoint. |
Your deposits are currently disabled | No new deposits can be made at this time. If a URL is provided you can follow it to resolve any issues which might be causing this. |
Aragon Network deposit address
Request | |
POST | https://www.bitstamp.net/api/v2/ant_address/ |
Response (JSON) | |
Returns your ANT deposit address. |
Authentication errors | |
User not verified | Your account needs to be verified before you can use this endpoint. |
Your deposits are currently disabled | No new deposits can be made at this time. If a URL is provided you can follow it to resolve any issues which might be causing this. |
Gods Unchained deposit address
Request | |
POST | https://www.bitstamp.net/api/v2/gods_address/ |
Response (JSON) | |
Returns your GODS deposit address. |
Authentication errors | |
User not verified | Your account needs to be verified before you can use this endpoint. |
Your deposits are currently disabled | No new deposits can be made at this time. If a URL is provided you can follow it to resolve any issues which might be causing this. |
Radicle deposit address
Request | |
POST | https://www.bitstamp.net/api/v2/rad_address/ |
Response (JSON) | |
Returns your RAD deposit address. |
Authentication errors | |
User not verified | Your account needs to be verified before you can use this endpoint. |
Your deposits are currently disabled | No new deposits can be made at this time. If a URL is provided you can follow it to resolve any issues which might be causing this. |
Band Protocol deposit address
Request | |
POST | https://www.bitstamp.net/api/v2/band_address/ |
Response (JSON) | |
Returns your BAND deposit address. |
Authentication errors | |
User not verified | Your account needs to be verified before you can use this endpoint. |
Your deposits are currently disabled | No new deposits can be made at this time. If a URL is provided you can follow it to resolve any issues which might be causing this. |
Injective Protocol deposit address
Request | |
POST | https://www.bitstamp.net/api/v2/inj_address/ |
Response (JSON) | |
Returns your INJ deposit address. |
Authentication errors | |
User not verified | Your account needs to be verified before you can use this endpoint. |
Your deposits are currently disabled | No new deposits can be made at this time. If a URL is provided you can follow it to resolve any issues which might be causing this. |
Rally deposit address
Request | |
POST | https://www.bitstamp.net/api/v2/rly_address/ |
Response (JSON) | |
Returns your RLY deposit address. |
Authentication errors | |
User not verified | Your account needs to be verified before you can use this endpoint. |
Your deposits are currently disabled | No new deposits can be made at this time. If a URL is provided you can follow it to resolve any issues which might be causing this. |
Render Token deposit address
Request | |
POST | https://www.bitstamp.net/api/v2/rndr_address/ |
Response (JSON) | |
Returns your RNDR deposit address. |
Authentication errors | |
User not verified | Your account needs to be verified before you can use this endpoint. |
Your deposits are currently disabled | No new deposits can be made at this time. If a URL is provided you can follow it to resolve any issues which might be causing this. |
Vega Protocol deposit address
Request | |
POST | https://www.bitstamp.net/api/v2/vega_address/ |
Response (JSON) | |
Returns your VEGA deposit address. |
Authentication errors | |
User not verified | Your account needs to be verified before you can use this endpoint. |
Your deposits are currently disabled | No new deposits can be made at this time. If a URL is provided you can follow it to resolve any issues which might be causing this. |
1inch deposit address
Request | |
POST | https://www.bitstamp.net/api/v2/1inch_address/ |
Response (JSON) | |
Returns your 1INCH deposit address. |
Authentication errors | |
User not verified | Your account needs to be verified before you can use this endpoint. |
Your deposits are currently disabled | No new deposits can be made at this time. If a URL is provided you can follow it to resolve any issues which might be causing this. |
Solana deposit address
Request | |
POST | https://www.bitstamp.net/api/v2/sol_address/ |
Response (JSON) | |
Returns your SOL deposit address. |
Authentication errors | |
User not verified | Your account needs to be verified before you can use this endpoint. |
Your deposits are currently disabled | No new deposits can be made at this time. If a URL is provided you can follow it to resolve any issues which might be causing this. |
ApeCoin deposit address
Request | |
POST | https://www.bitstamp.net/api/v2/ape_address/ |
Response (JSON) | |
Returns your APE deposit address. |
Authentication errors | |
User not verified | Your account needs to be verified before you can use this endpoint. |
Your deposits are currently disabled | No new deposits can be made at this time. If a URL is provided you can follow it to resolve any issues which might be causing this. |
Maple deposit address
Request | |
POST | https://www.bitstamp.net/api/v2/mpl_address/ |
Response (JSON) | |
Returns your MPL deposit address. |
Authentication errors | |
User not verified | Your account needs to be verified before you can use this endpoint. |
Your deposits are currently disabled | No new deposits can be made at this time. If a URL is provided you can follow it to resolve any issues which might be causing this. |
Euro Coin deposit address
Request | |
POST | https://www.bitstamp.net/api/v2/euroc_address/ |
Response (JSON) | |
Returns your EUROC deposit address. |
Authentication errors | |
User not verified | Your account needs to be verified before you can use this endpoint. |
Your deposits are currently disabled | No new deposits can be made at this time. If a URL is provided you can follow it to resolve any issues which might be causing this. |
Polkadot deposit address
Request | |
POST | https://www.bitstamp.net/api/v2/dot_address/ |
Response (JSON) | |
Returns your DOT deposit address. |
Authentication errors | |
User not verified | Your account needs to be verified before you can use this endpoint. |
Your deposits are currently disabled | No new deposits can be made at this time. If a URL is provided you can follow it to resolve any issues which might be causing this. |
NEAR Protocol deposit address
Request | |
POST | https://www.bitstamp.net/api/v2/near_address/ |
Response (JSON) | |
Returns your NEAR deposit address. |
Authentication errors | |
User not verified | Your account needs to be verified before you can use this endpoint. |
Your deposits are currently disabled | No new deposits can be made at this time. If a URL is provided you can follow it to resolve any issues which might be causing this. |
Dogecoin deposit address
Request | |
POST | https://www.bitstamp.net/api/v2/doge_address/ |
Response (JSON) | |
Returns your DOGE deposit address. |
Authentication errors | |
User not verified | Your account needs to be verified before you can use this endpoint. |
Your deposits are currently disabled | No new deposits can be made at this time. If a URL is provided you can follow it to resolve any issues which might be causing this. |
Sui deposit address
Request | |
POST | https://www.bitstamp.net/api/v2/sui_address/ |
Response (JSON) | |
Returns your SUI deposit address. |
Authentication errors | |
User not verified | Your account needs to be verified before you can use this endpoint. |
Your deposits are currently disabled | No new deposits can be made at this time. If a URL is provided you can follow it to resolve any issues which might be causing this. |
IOU deposit address
This API call is cached for 60 seconds. This call will be executed on the account (Sub or Main), to which the used API key is bound to. This endpoint returns deposit address for USD, BTC and EUR* IOU transactions on the XRP Ledger.
*EUR-IOU supported globally (except in the US and Singapore).
Request | |
POST | https://www.bitstamp.net/api/v2/ripple_address/ |
Response (JSON) | |
Returns your Ripple IOU deposit address. |
Authentication errors | |
User not verified | Your account needs to be verified before you can use this endpoint. |
Your deposits are currently disabled | No new deposits can be made at this time. If a URL is provided you can follow it to resolve any issues which might be causing this. |
Unconfirmed bitcoin deposits
This API call is cached for 60 seconds. This call will be executed on the account (Sub or Main), to which the used API key is bound to.
Request | |
POST | https://www.bitstamp.net/api/v2/btc_unconfirmed/ |
Response (JSON) - list of unconfirmed bitcoin transactions. Each transaction is represented as dictionary | |
amount | Bitcoin amount. |
address | Deposit address used. |
confirmations | Number of confirmations. |
Authentication errors |
Transfer balance from Sub to Main account
Transfers the desired balance from a Sub Account to your Main Account. Can be called by either the Main Account or a Sub Account, but requires a permission in both cases. The subAccount parameter must be provided if the Main Account is initiating the call. If a Sub Account is making the call, then it is the target Sub Account for the transfer and no further clarification is required. In that case, passing this parameter will have no additional effect.
Request | |
POST | https://www.bitstamp.net/api/v2/transfer-to-main/ |
Request parameters | |
amount | Amount. |
currency | Currency. |
subAccount (Optional) | The Sub Account unique identifier. |
Response (JSON) | |
status | "ok" or "error" |
reason (available only if status is "error") | Additional error info. |
Authentication errors | |
'parameter': Enter a number. Use "." as a decimal point. | 'parameter' can only be number |
You have only 'available' 'currency' available. Check your account balance for details. | Account has less 'available_currency' than is required to make this transfer |
Select a valid choice. X is not one of the available choices. | X is not valid currency. Possible choices USD, EUR, GBP, BCH, BTC, ETH, LTC, PAX, XLM, XRP, ETH2, ETH2R, LINK, OMG, USDC, AAVE, BAT, UMA, DAI, KNC, MKR, ZRX, GUSD, ALGO, AUDIO, CRV, SNX, UNI, YFI, COMP, GRT, LRC, USDT, EURT, FLR, MANA, MATIC, SUSHI, CHZ, ENJ, HBAR, ALPHA, AXS, FTT, SAND, STORJ, ADA, FET, RGT, SKL, CEL, SLP, SXP, SGB, AVAX, DYDX, FTM, SHIB, AMP, ENS, GALA, PERP, WBTC, CTSI, CVX, IMX, NEXO, UST, ANT, GODS, RAD, BAND, INJ, RLY, RNDR, VEGA, 1INCH, SOL, BOBA, APE, MPL, EUROC, DOT, NEAR, DOGE, SUI. |
Sub account with identifier "X" does not exist. | Can't find sub account with id X. |
Transfer balance from Main to Sub Account
Transfers the desired balance from your Main Account to a Sub Account, specified by the subAccount parameter. This call can only be performed by your Main Account.
Request | |
POST | https://www.bitstamp.net/api/v2/transfer-from-main/ |
Request parameters | |
amount | Amount. |
currency | Currency. |
subAccount | The Sub Account unique identifier. |
Response (JSON) | |
status | "ok" or "error" |
reason (available only if status is "error") | Additional error info. |
Authentication errors | |
'parameter': Enter a number. Use "." as a decimal point. | 'parameter' can only be number |
You have only 'available' 'currency' available. Check your account balance for details. | Account has less 'available_currency' than is required to make this transfer |
Select a valid choice. X is not one of the available choices. | X is not valid currency. Possible choices USD, EUR, GBP, BCH, BTC, ETH, LTC, PAX, XLM, XRP, ETH2, ETH2R, LINK, OMG, USDC, AAVE, BAT, UMA, DAI, KNC, MKR, ZRX, GUSD, ALGO, AUDIO, CRV, SNX, UNI, YFI, COMP, GRT, LRC, USDT, EURT, FLR, MANA, MATIC, SUSHI, CHZ, ENJ, HBAR, ALPHA, AXS, FTT, SAND, STORJ, ADA, FET, RGT, SKL, CEL, SLP, SXP, SGB, AVAX, DYDX, FTM, SHIB, AMP, ENS, GALA, PERP, WBTC, CTSI, CVX, IMX, NEXO, UST, ANT, GODS, RAD, BAND, INJ, RLY, RNDR, VEGA, 1INCH, SOL, BOBA, APE, MPL, EUROC, DOT, NEAR, DOGE, SUI. |
Sub account with identifier "X" does not exist. | Can't find sub account with id X. |
Open bank withdrawal
Opens a bank withdrawal request (SEPA or international). Withdrawal requests opened via API are automatically confirmed (no confirmation e-mail will be sent), but are processed just like withdrawals opened through the platform's interface. This call can only be performed by your Main Account.
Request | |
POST | https://www.bitstamp.net/api/v2/withdrawal/open/ |
Request parameters | |
amount | The amount to withdraw. |
account_currency | The balance from which you wish to withdraw. Can be either "USD", "EUR" or "GBP". |
name | Full user or company name. |
iban | User or company IBAN. |
bic | The target bank BIC. |
address | User or company address. |
postal_code | User or company postal code. |
city | User or company city. |
country | User or company country. Country codes must be in accordance with the ISO 3166-1 standard (use two character Alpha-2 codes). Disclaimer: Not all country choices listed at this reference URL are supported. For a detailed list please refer to our platform's withdrawal interfaces. |
type | Type of the withdrawal request ("sepa" or "international"). |
bank_name (international withdrawals only) | Target bank name. |
bank_address (international withdrawals only) | Target bank address. |
bank_postal_code (international withdrawals only) | Target bank postal code. |
bank_city (international withdrawals only) | Target bank city. |
bank_country (international withdrawals only) | Target bank country. Country codes must be in accordance with the ISO 3166-1 standard (use two character Alpha-2 codes). Disclaimer: Not all country choices listed at this reference URL are supported. For a detailed list please refer to our platform's withdrawal interfaces. |
currency (international withdrawals only) | The currency in which the funds should be withdrawn (may involve conversion fees). Currency codes must be in accordance with the ISO 4217 standard. Disclaimer: Not all currency choices listed at this reference URL are supported. For a detailed list please refer to our platform's withdrawal interfaces. |
comment (Optional) | Withdrawal comment. |
Response (JSON): success | |
id | Id of the opened withdrawal request. |
Response (JSON): failure | |
status | "error" |
reason (available only if status is "error") | Additional error info. |
Authentication errors | |
Opening bank withdrawals with sub account API keys is not supported. | This API endpoint can only be utilized by your main account. |
'X': ['This field is required.'] | Parameter X is required for this call. |
'X': ['Select a valid choice. Y is not one of the available choices.'] | Y is not a valid value for parameter X. |
Bank withdrawals temporarily disabled. | No new bank withdrawals can be opened at this time. |
Unsupported withdrawal type (must be either SEPA or international). | When opening bank withdrawals, you must specify one of the two supported types: SEPA or international. |
You have only 'amount' currency available. Check your account balance for details. | To open this withdrawal, your balance must have at least 'amount' of target currency available. |
'X': ['Enter a number. Use "." as a decimal point.'] | Parameter X can only be a decimal number. |
Your withdrawals are currently disabled | No new withdrawals can be opened at this time. If a URL is provided you can follow it to resolve any issues which might be causing this. |
Bank withdrawal status
Checks the status of a bank withdrawal request. This call can only be performed by your Main Account.
Request | |
POST | https://www.bitstamp.net/api/v2/withdrawal/status/ |
Request parameters | |
id | ID of the withdrawal request. |
Response (JSON): success | |
status | Status of the withdrawal request. |
Response (JSON): failure | |
status | "error" |
reason | The reason for the error. |
Authentication errors | |
Performing bank withdrawal status checks with sub account API keys is not supported. | This API endpoint can only be utilized by your main account. |
Missing parameters: [...]. | Parameters stated in the list ([...]) are required for this call. |
No bank withdrawal with id=X found. | Could not find any bank withdrawal with the id X. |
Cancel withdrawal
Cancels a bank or crypto withdrawal request. This call can only be performed by your Main Account.
Request | |
POST | https://www.bitstamp.net/api/v2/withdrawal/cancel/ |
Request parameters | |
id | ID of the withdrawal request. |
Response (JSON): success | |
id | ID of the cancelled withdrawal request. |
amount | Amount of the cancelled withdrawal request. |
currency | Currency of the cancelled withdrawal request. |
account_currency | Account currency (balance currency from which the withdrawal was requested) of the cancelled withdrawal request. |
type | The type of the cancelled withdrawal request. |
Response (JSON): failure | |
status | "error" |
reason | The reason for the error. |
Authentication errors | |
Cancelling withdrawals with sub account API keys is not supported. | This API endpoint can only be utilized by your main account. |
Missing parameters: [...]. | Parameters stated in the list ([...]) are required for this call. |
No active withdrawal with id=X found. | Could not find any active bank or crypto withdrawal with the id X. Will return the same response for already cancelled withdrawal requests. |
Cannot cancel a withdrawal in process (id=X). | The withdrawal request with id=X is currently being processed and cannot be cancelled. |
Your withdrawals are currently disabled | No bank or crypto withdrawals can be canceled at this time. If a URL is provided you can follow it to resolve any issues which might be causing this. |
New liquidation address
Creates new liquidation address which will automatically sell your BTC for specified liquidation_currency.
Request | |
POST | https://www.bitstamp.net/api/v2/liquidation_address/new/ |
Request parameters | |
liquidation_currency | Deposited BTCs will be automatically converted to liquidation_currency. |
address_format | Address format. Can be either "P2SHP2WSH" or "BECH32". |
Response (JSON): success | |
address | Address set for automatic conversion. |
Response (JSON): failure | |
status | "error" |
reason | The reason for the error. |
Authentication errors | |
Missing liquidation_currency parameter. | Parameter liquidation_currency is required for this call. |
Invalid currency. or Currency [...] not supported. | Invalid liquidation_currency. |
Cannot create new address, please try later. | At the moment we can't create new deposit address. Try again later. |
Invalid address format. | Invalid address_format. |
Your trading features are currently disabled | No new liquidation addresses can be created at this time. If a URL is provided you can follow it to resolve any issues which might be causing this. |
Liquidation address info
Shows transactions (BTC to liquidation_currency) for liquidation address.
Request | |
POST | https://www.bitstamp.net/api/v2/liquidation_address/info/ |
Request parameters | |
address (Optional) | Shows transactions for specific liquidation address or for all users liquidation addresses. |
Response (JSON): success | |
address | Address for automatic conversion. |
currency_pair | Currency pair used for automatic conversion. |
transactions | List of JSON objects which include order_id(conversion order id), count(number of transactions) and trades (JSON with exchange_rate, btc_amount and fees). |
Response (JSON): failure | |
status | "error" |
reason | The reason for the error. |
Authentication errors | |
Address not found. | Provided address is wrong. |
Websockets token
Generates token required for subscribing to private WebSocket channels.
Request | |
POST | https://www.bitstamp.net/api/v2/websockets_token/ |
Response (JSON) | |
token | Token. |
valid_sec | Validity of token in seconds. |
user_id | User id. |
Authentication errors |