davout (OP)
Legendary
Offline
Activity: 1372
Merit: 1007
1davout
|
![](https://bitcointalk.org/Themes/custom1/images/post/thumbup.gif) |
February 04, 2011, 10:35:23 PM |
|
Bitcoin Central now features a full fledged API that allows any user action to be fully and securely automated using XML or JSON posted data.
Authentication is possible using the user and password passed as parameters or a timestamped token.
|
|
|
|
grondilu
Legendary
Offline
Activity: 1288
Merit: 1080
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
February 05, 2011, 12:39:54 AM |
|
Wow this sounds pretty cool. Does that mean that we'll be able to implement our own tradebots?
Where is the doc?
|
|
|
|
davout (OP)
Legendary
Offline
Activity: 1372
Merit: 1007
1davout
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
February 05, 2011, 08:39:07 AM |
|
Where is the doc?
Right now there's absolutely none, feel free to edit the github wiki. Questions welcome
|
|
|
|
ColdHardMetal
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
February 05, 2011, 09:24:14 AM |
|
Where is the doc?
Right now there's absolutely none, feel free to edit the github wiki. Questions welcome Spoken like a true coder lol
|
|
|
|
sonba
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
July 01, 2011, 01:57:49 PM |
|
Hi Davout,
is the API still working or did you shut it down? Was searchin for the commands but couldn't find it.
|
|
|
|
davout (OP)
Legendary
Offline
Activity: 1372
Merit: 1007
1davout
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
July 01, 2011, 03:26:31 PM |
|
Hi Davout,
is the API still working or did you shut it down? Was searchin for the commands but couldn't find it.
Depends on which parts ![Smiley](https://bitcointalk.org/Smileys/default/smiley.gif)
|
|
|
|
sonba
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
July 01, 2011, 07:33:50 PM |
|
Especially the orderbook part ![Smiley](https://bitcointalk.org/Smileys/default/smiley.gif) (i.e. read orderbook in currency x) If it's possible to place, view, and cancel orders that would also be interesting, of course.
|
|
|
|
nimnul
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
July 13, 2011, 04:08:37 PM |
|
Is it possible to get orderbook/market depth?
|
|
|
|
davout (OP)
Legendary
Offline
Activity: 1372
Merit: 1007
1davout
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
July 13, 2011, 04:31:29 PM |
|
You can get the full orderbook here : In HTML https://bitcoin-central.net/account/trade_orders/book In XML https://bitcoin-central.net/account/trade_orders/book.xml In JSON https://bitcoin-central.net/account/trade_orders/book.json LRUSD orders in JSON https://bitcoin-central.net/account/trade_orders/book.json?currency=lrusd BC is RESTful by design and supports HTTP basic auth. meaning that you can pretty much do whatever you want and pass parameters as a form, in JSON or XML, hasn't been really tested in the wild, so I'll be happy to get bug reports ![Smiley](https://bitcointalk.org/Smileys/default/smiley.gif) Responses to GET requests usually only support HTML default format, but if you need a JSON/XML response just drop me a line.
|
|
|
|
sonba
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
July 13, 2011, 08:05:29 PM |
|
Great, thanks! Gonna test that tomorrow! I guess adding orders via API is not possible, though, right?
Cheers,
sonba
|
|
|
|
davout (OP)
Legendary
Offline
Activity: 1372
Merit: 1007
1davout
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
July 13, 2011, 08:24:32 PM |
|
You should be able to, just post something like { "amount": 10.5, "type": "buy", "ppc": 14.867, "currency": "LRUSD" } to https://bitcoin-central.net/account/trade_orders with HTTP auth it should just work. If it doesn't it's a bug and will get the fix it deserves ![Smiley](https://bitcointalk.org/Smileys/default/smiley.gif) The API part is mostly untested, so don't hesitate to drop me a line if you have problems.
|
|
|
|
nimnul
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
July 18, 2011, 08:14:22 AM |
|
It's a little offtopic, but
1) how do I add bitcoins to my account at bitcoin-central so I can trade? Should I send BTC to the address I see in the top right corner? 2) Is it possible to add LRUSD to my account at bitcoin-central? Or the only way is to trade bitcoins?
These things must be documented.
|
|
|
|
davout (OP)
Legendary
Offline
Activity: 1372
Merit: 1007
1davout
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
July 18, 2011, 10:17:41 AM |
|
1) how do I add bitcoins to my account at bitcoin-central so I can trade? Should I send BTC to the address I see in the top right corner?
Yes 2) Is it possible to add LRUSD to my account at bitcoin-central? Or the only way is to trade bitcoins?
Yes, go to your account balances and then click "Deposit funds" These things must be documented.
Yes, there will be a nice UI facelift by end July, this issue will be addressed.
|
|
|
|
sonba
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
September 21, 2011, 05:17:15 PM |
|
You can get the full orderbook here : In HTML https://bitcoin-central.net/account/trade_orders/book In XML https://bitcoin-central.net/account/trade_orders/book.xml In JSON https://bitcoin-central.net/account/trade_orders/book.json LRUSD orders in JSON https://bitcoin-central.net/account/trade_orders/book.json?currency=lrusd BC is RESTful by design and supports HTTP basic auth. meaning that you can pretty much do whatever you want and pass parameters as a form, in JSON or XML, hasn't been really tested in the wild, so I'll be happy to get bug reports ![Smiley](https://bitcointalk.org/Smileys/default/smiley.gif) Responses to GET requests usually only support HTML default format, but if you need a JSON/XML response just drop me a line. Hi Davout, brief question: https://bitcoin-central.net/account/trade_orders/book.json only returns me an error "HTTP 404 - The requested resource could not be found" - any clue what happened there? Thanks ![Smiley](https://bitcointalk.org/Smileys/default/smiley.gif)
|
|
|
|
MasterX
Member
![*](https://bitcointalk.org/Themes/custom1/images/star.gif)
Offline
Activity: 88
Merit: 10
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
January 10, 2013, 12:27:03 PM |
|
You can get the full orderbook here : In HTML https://bitcoin-central.net/account/trade_orders/book In XML https://bitcoin-central.net/account/trade_orders/book.xml In JSON https://bitcoin-central.net/account/trade_orders/book.json LRUSD orders in JSON https://bitcoin-central.net/account/trade_orders/book.json?currency=lrusd BC is RESTful by design and supports HTTP basic auth. meaning that you can pretty much do whatever you want and pass parameters as a form, in JSON or XML, hasn't been really tested in the wild, so I'll be happy to get bug reports ![Smiley](https://bitcointalk.org/Smileys/default/smiley.gif) Responses to GET requests usually only support HTML default format, but if you need a JSON/XML response just drop me a line. Hi Davout, brief question: https://bitcoin-central.net/account/trade_orders/book.json only returns me an error "HTTP 404 - The requested resource could not be found" - any clue what happened there? Thanks ![Smiley](https://bitcointalk.org/Smileys/default/smiley.gif) +1
|
| Donations: 1MegaXG1bd6mTEQCdAMjVzGexcYrF5LJKv |
|
|
|
davout (OP)
Legendary
Offline
Activity: 1372
Merit: 1007
1davout
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
January 10, 2013, 01:16:57 PM |
|
|
|
|
|
Boussac
Legendary
Offline
Activity: 1221
Merit: 1025
e-ducat.fr
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
February 26, 2014, 11:38:25 AM |
|
The doc for the new Bitcoin Central API is here: https://github.com/Paymium/api-documentationThis new version is deployed as of October 2013. Thanks to Dave and Stephan!
|
|
|
|
BitDucho
Newbie
Offline
Activity: 36
Merit: 0
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
March 08, 2014, 12:34:38 AM |
|
"Like" Will lokk at during the Week-end, thanks
|
|
|
|
|