I'd like to determine what trading fees to expect before placing an order.

According to https://www.bitstamp.net/fee_schedule/ Bitstamp's trading fees depend upon the USD total of a customer’s last 30 days worth of transactions.

How can one calculate this amount using the Bitstamp API? It doesn't seem to be possible.

3 Answers 3


Those are Bitstamp trading fees, not Bitcoin transaction fees. Trading fees are automatically calculated and deducted by Bitstamp when executing a trade.

For choosing the right Bitcoin fee, use bitcoin-cli estimatesmartfee or one of the many web services.

  • That's not what I meant. I need to know what the Bitstamp trading fees are before placing an order in order to estimate the profit of a trade. It doesn't make sense for a service to charge you a fee without letting you know what it will be ahead of time.
    – Gili
    Commented Feb 25, 2018 at 1:24

Every exchange has a predetermined fee structure for any financial transaction that you perform on the exchange. Also this fee is subject to the volume you have traded.

From the links you have provided, the API documentation page contains the user transactions section which would return the list of all transactions you have done. You can filter out the last 30days transactions and get the USD volume from that.

  • 1
    That's nice but you didn't answer my question.
    – Gili
    Commented Feb 25, 2018 at 22:19
  • I'm sorry I did not check the links provided by you. I have updated the answer. @Gili Commented Feb 25, 2018 at 22:25
  • also the api returns the fee rates as well. Commented Feb 25, 2018 at 22:27

From the API documentation available at https://www.bitstamp.net/api/

The private endpoint https://www.bitstamp.net/api/v2/balance/ includes the fees for all pairs.

The private endpoint https://www.bitstamp.net/api/v2/balance/{currency_pair}/ includes the fee for the specified pair.

  • Are you saying that the fee returned by the balance api adjusts the fee in response to the 30 day trailing volume?
    – Gili
    Commented Feb 26, 2018 at 12:41
  • @Gili It's a private endpoint so I would assume so
    – Ron
    Commented Feb 27, 2018 at 2:03

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.