<p>I didn't find a working API, if all you need is the price then you can just parse their html. I just <a href="https://github.com/ripper234/Bitcoin-Pie/" rel="nofollow">used</a> these regexes for the min/max prices and averaged them:</p>

<pre><code>&lt;span id='min_price'&gt;(\\d+(?:\\.)\\d+)
&lt;span id='max_price'&gt;(\\d+(?:\\.)\\d+)
</code></pre>

CC BY-SA 3.0
2011-10-07T16:06:03.933Z
2011-10-07T16:06:03.933Z
ripper234
<p>The URL to the api's for other currencies are:</p>

<ol>
<li><a href="https://btc-e.com/api/2/1/ticker">https://btc-e.com/api/2/1/ticker</a> - BTC/USD</li>
<li><a href="https://btc-e.com/api/2/2/ticker">https://btc-e.com/api/2/2/ticker</a> - IXC/BTC</li>
<li><a href="https://btc-e.com/api/2/4/ticker">https://btc-e.com/api/2/4/ticker</a> - I0C/BTC</li>
<li><a href="https://btc-e.com/api/2/5/ticker">https://btc-e.com/api/2/5/ticker</a> - SC/BTC</li>
<li><a href="https://btc-e.com/api/2/6/ticker">https://btc-e.com/api/2/6/ticker</a> - SC/USD</li>
<li><a href="https://btc-e.com/api/2/7/ticker">https://btc-e.com/api/2/7/ticker</a> - GG/BTC</li>
<li><a href="https://btc-e.com/api/2/8/ticker">https://btc-e.com/api/2/8/ticker</a> - TBX/BTC</li>
<li><a href="https://btc-e.com/api/2/9/ticker">https://btc-e.com/api/2/9/ticker</a> - FBX/BTC</li>
<li><a href="https://btc-e.com/api/2/10/ticker">https://btc-e.com/api/2/10/ticker</a> - LTC/BTC</li>
<li><a href="https://btc-e.com/api/2/11/ticker">https://btc-e.com/api/2/11/ticker</a> - RUC/BTC</li>
<li><a href="https://btc-e.com/api/2/12/ticker">https://btc-e.com/api/2/12/ticker</a> - RUC/USD</li>
<li><a href="https://btc-e.com/api/2/13/ticker">https://btc-e.com/api/2/13/ticker</a> - NMC/BTC</li>
<li><a href="https://btc-e.com/api/2/14/ticker">https://btc-e.com/api/2/14/ticker</a> - LTC/USD</li>
<li><a href="https://btc-e.com/api/2/15/ticker">https://btc-e.com/api/2/15/ticker</a> - CLC/BTC</li>
<li><a href="https://btc-e.com/api/2/16/ticker">https://btc-e.com/api/2/16/ticker</a> - DVC/BTC</li>
</ol>

<p>In the links below change the 1 to a number anywhere between 1-16 to match the category above.</p>

<p>Api for trades: <a href="https://btc-e.com/api/1/trades">https://btc-e.com/api/1/trades</a></p>

<p>Api for depth: <a href="https://btc-e.com/api/2/1/depth">https://btc-e.com/api/2/1/depth</a> </p>

<p>Api for ticker: <a href="https://btc-e.com/api/2/1/ticker">https://btc-e.com/api/2/1/ticker</a></p>

<p>By: dodoking</p>

CC BY-SA 3.0
2012-01-16T21:20:00.790Z
Looks like they finally implemented the /api/#/... stuff for the alternate currencies. As for the number of links, keep asking & answering questions, you get more privileges with more rep, and that includes more links. Right now the automated system is still trying to decide if you're a spammer or not ;)
David Perry
CC BY-SA 3.0
2012-01-17T23:11:13.360Z
Thank you for the explanation on the privileges. Glad I could help with the information on the API's :)
dodoking
CC BY-SA 3.0
2012-01-16T07:53:35.070Z
2012-01-18T06:50:27.780Z
2012-01-18T06:50:27.780Z
dodoking
<p>BTC-E appears to have an API available at <a href="https://btc-e.com/api/1/ticker">https://btc-e.com/api/1/ticker</a> but this only lists the BTC/USD pair data. They also offer pairs of BTC against alternate currencies like Ixcoin and Tenebrix. I've tried the obvious stuff a la <a href="https://btc-e.com/api/2/ticker">https://btc-e.com/api/<strong>2</strong>/ticker</a> but no dice.</p>

<p>I'll take an API from any other multi-currency exchange as well, really I just need a way to grab price easily from code without having to scrape HTML and deal with regex.</p>

CC BY-SA 3.0
2011-10-07T14:15:16.820Z
I am interested in this, too. Sent a PM yesterday but no answer yet.
kermit
CC BY-SA 3.0
2011-10-07T16:06:35.057Z
@phelix - see my answer. Not the best answer, but this is what we have.
ripper234
<development><exchanges>
Does BTC-E have an API for alternate currencies?
David Perry
# Does BTC-E have an API for alternate currencies?

(Asked by: username_0 on 2011-10-06)

BTC-E appears to have an API available at <https://btc-e.com/api/1/ticker> but this only lists the BTC/USD pair data. They also offer pairs of BTC against alternate currencies like Ixcoin and Tenebrix. I've tried the obvious stuff a la [https://btc-e.com/api/**2**/ticker](https://btc-e.com/api/2/ticker) but no dice.

I'll take an API from any other multi-currency exchange as well, really I just need a way to grab price easily from code without having to scrape HTML and deal with regex.

**Tags:** development, exchanges

> **Comments:**
> **username_1**: I am interested in this, too. Sent a PM yesterday but no answer yet.  
> **username_2**: @phelix - see my answer. Not the best answer, but this is what we have.  

---

## 2 answers

### Answer by username_3 on 2012-01-16. Score: 7 | Accepted answer

The URL to the api's for other currencies are:

1. <https://btc-e.com/api/2/1/ticker> - BTC/USD
2. <https://btc-e.com/api/2/2/ticker> - IXC/BTC
3. <https://btc-e.com/api/2/4/ticker> - I0C/BTC
4. <https://btc-e.com/api/2/5/ticker> - SC/BTC
5. <https://btc-e.com/api/2/6/ticker> - SC/USD
6. <https://btc-e.com/api/2/7/ticker> - GG/BTC
7. <https://btc-e.com/api/2/8/ticker> - TBX/BTC
8. <https://btc-e.com/api/2/9/ticker> - FBX/BTC
9. <https://btc-e.com/api/2/10/ticker> - LTC/BTC
10. <https://btc-e.com/api/2/11/ticker> - RUC/BTC
11. <https://btc-e.com/api/2/12/ticker> - RUC/USD
12. <https://btc-e.com/api/2/13/ticker> - NMC/BTC
13. <https://btc-e.com/api/2/14/ticker> - LTC/USD
14. <https://btc-e.com/api/2/15/ticker> - CLC/BTC
15. <https://btc-e.com/api/2/16/ticker> - DVC/BTC

In the links below change the 1 to a number anywhere between 1-16 to match the category above.

Api for trades: <https://btc-e.com/api/1/trades>

Api for depth: <https://btc-e.com/api/2/1/depth>

Api for ticker: <https://btc-e.com/api/2/1/ticker>

By: username_3

> **Comments:**
> **username_0**: Looks like they finally implemented the /api/#/... stuff for the alternate currencies. As for the number of links, keep asking & answering questions, you get more privileges with more rep, and that includes more links. Right now the automated system is still trying to decide if you're a spammer or not ;)  
> **username_3**: Thank you for the explanation on the privileges. Glad I could help with the information on the API's :)  

---

### Answer by username_2 on 2011-10-07. Score: 1

I didn't find a working API, if all you need is the price then you can just parse their html. I just [used](https://github.com/username_2/Bitcoin-Pie/) these regexes for the min/max prices and averaged them:

```
<span id='min_price'>(\\d+(?:\\.)\\d+)
<span id='max_price'>(\\d+(?:\\.)\\d+)

```


---

