<p>The API call you are looking for is the market depth:</p>

<p><a href="https://btc-e.com/api/2/btc_usd/depth" rel="nofollow">https://btc-e.com/api/2/btc_usd/depth</a></p>

<p>There are also calls for LTC/BTC</p>

<p><a href="https://btc-e.com/api/2/ltc_btc/depth" rel="nofollow">https://btc-e.com/api/2/ltc_btc/depth</a></p>

<p>and LTC/USD</p>

<p><a href="https://btc-e.com/api/2/ltc_usd/depth" rel="nofollow">https://btc-e.com/api/2/ltc_usd/depth</a></p>

<p>All of the above return JSON data including both <strong>ASKS</strong> and <strong>BIDS</strong></p>

CC BY-SA 3.0
2013-12-23T02:56:13.817Z
2013-12-23T02:56:13.817Z
Mark S.
<p>Additionally you can get info from <a href="http://bitcoincharts.com/about/markets-api/" rel="nofollow">http://bitcoincharts.com/about/markets-api/</a> for multi-exchange trade data.  </p>

<p>For current market rate, 24-hour high/low, last, etc with btc-e you can use
<a href="https://btc-e.com/api/2/btc_usd/ticker" rel="nofollow">https://btc-e.com/api/2/btc_usd/ticker</a></p>

CC BY-SA 3.0
2013-12-23T16:06:20.193Z
2013-12-23T16:06:20.193Z
Neil Neyman
<p>I am writing a custom bot for trading at different Exchanges, while BTCe is the only one I have currently implemented to about 95%.</p>

<p>Now I am only hanging at one point: If my Bot decides to Sell/Buy, how can I determine the proper price for my order?</p>

<p>My Idea was to get the kist of current buy/sell oderders for e.g. BTC/USD and then calculate for which price I would have to sell/buy so the trade will be executed completely, but then I didn't find an API-method to get a list of current orders <a href="https://btc-e.com/api/documentation" rel="nofollow">here</a>.</p>

<p>Is there any way to achieve what I am trying to do?</p>

<btce><bots><exchange-order>
Determining proper order price on BTCe
Corsair
# Determining proper order price on BTCe

(Asked by: username_0 on 2013-12-22)

I am writing a custom bot for trading at different Exchanges, while BTCe is the only one I have currently implemented to about 95%.

Now I am only hanging at one point: If my Bot decides to Sell/Buy, how can I determine the proper price for my order?

My Idea was to get the kist of current buy/sell oderders for e.g. BTC/USD and then calculate for which price I would have to sell/buy so the trade will be executed completely, but then I didn't find an API-method to get a list of current orders [here](https://btc-e.com/api/documentation).

Is there any way to achieve what I am trying to do?

**Tags:** btce, bots, exchange-order


---

## 2 answers

### Answer by username_1 on 2013-12-23. Score: 1 | Accepted answer

The API call you are looking for is the market depth:

<https://btc-e.com/api/2/btc_usd/depth>

There are also calls for LTC/BTC

<https://btc-e.com/api/2/ltc_btc/depth>

and LTC/USD

<https://btc-e.com/api/2/ltc_usd/depth>

All of the above return JSON data including both **ASKS** and **BIDS**


---

### Answer by username_2 on 2013-12-23. Score: 0

Additionally you can get info from <http://bitcoincharts.com/about/markets-api/> for multi-exchange trade data.

For current market rate, 24-hour high/low, last, etc with btc-e you can use
<https://btc-e.com/api/2/btc_usd/ticker>


---

