DEVTOME.COM HOSTING COSTS HAVE BEGUN TO EXCEED 115$ MONTHLY. THE ADMINISTRATION IS NO LONGER ABLE TO HANDLE THE COST WITHOUT ASSISTANCE DUE TO THE RISING COST. THIS HAS BEEN OCCURRING FOR ALMOST A YEAR, BUT WE HAVE BEEN HANDLING IT FROM OUR OWN POCKETS. HOWEVER, WITH LITERALLY NO DONATIONS FOR THE PAST 2+ YEARS IT HAS DEPLETED THE BUDGET IN SHORT ORDER WITH THE INCREASE IN ACTIVITY ON THE SITE IN THE PAST 6 MONTHS. OUR CPU USAGE HAS BECOME TOO HIGH TO REMAIN ON A REASONABLE COSTING PLAN THAT WE COULD MAINTAIN. IF YOU WOULD LIKE TO SUPPORT THE DEVTOME PROJECT AND KEEP THE SITE UP/ALIVE PLEASE DONATE (EVEN IF ITS A SATOSHI) TO OUR DEVCOIN 1M4PCuMXvpWX6LHPkBEf3LJ2z1boZv4EQa OR OUR BTC WALLET 16eqEcqfw4zHUh2znvMcmRzGVwCn7CJLxR TO ALLOW US TO AFFORD THE HOSTING.

THE DEVCOIN AND DEVTOME PROJECTS ARE BOTH VERY IMPORTANT TO THE COMMUNITY. PLEASE CONTRIBUTE TO ITS FURTHER SUCCESS FOR ANOTHER 5 OR MORE YEARS!

Accessing the BTC-e APIs

Trading API

There is an example of how to query the Trading API here http://pastebin.com/jyd9tACF.

Pricing API

If you just want the current price, it is much simpler. Send a GET request here

https://btc-e.com/api/2/btc_usd/ticker

And the result will be returned as JSON which you can parse.

EG {“ticker”:{“high”:925,”low”:808,”avg”:866.5,”vol”:27641876.50246,”vol_cur”:31521.98718,”last”:906,”buy”:906,”sell”:902.19,”updated”:1386650589,”server_time”:1386650589}}

NOTE - The API's BTC-e has are TICKER, TRADES and DEPTH

Ticker - https://btc-e.com/api/2/insert_pair/ticker

Trades - https://btc-e.com/api/2/insert_pair/trades

Depth - https://btc-e.com/api/2/insert_pair/depth

EG

BTC/USD Ticker - https://btc-e.com/api/2/btc_usd/ticker Trades - https://btc-e.com/api/2/btc_usd/trades Depth - https://btc-e.com/api/2/btc_usd/depth

LTC/BTC Ticker - https://btc-e.com/api/2/ltc_btc/ticker Trades - https://btc-e.com/api/2/ltc_btc/trades Depth - https://btc-e.com/api/2/ltc_btc/depth

LTC/USD Ticker - https://btc-e.com/api/2/ltc_usd/ticker Trades - https://btc-e.com/api/2/ltc_usd/trades Depth - https://btc-e.com/api/2/ltc_usd/depth

And just continue to modify for other pairs you need info for PPC/USD Ticker - https://btc-e.com/api/2/ppc_usd/ticker NMC/USD Ticker - https://btc-e.com/api/2/nmc_usd/ticker NVC/USD Ticker - https://btc-e.com/api/2/nvc_usd/ticker

ETC ETC ETC


Categories


QR Code
QR Code btc-e.com_api_guide (generated for current page)
 

Advertise with Anonymous Ads