Author

Topic: Bitcoin-Central.net gets an API ! (Read 3602 times)

newbie
Activity: 36
Merit: 0
March 07, 2014, 07:34:38 PM
#18
"Like" Will lokk at during the Week-end, thanks
legendary
Activity: 1221
Merit: 1025
e-ducat.fr
February 26, 2014, 06:38:25 AM
#17
The doc for the new Bitcoin Central API is here:
https://github.com/Paymium/api-documentation

This new version is deployed as of October 2013.
Thanks to Dave and Stephan!
legendary
Activity: 1372
Merit: 1008
1davout
member
Activity: 88
Merit: 10
January 10, 2013, 07:27:03 AM
#15
You can get the full orderbook here :

In HTML
Code:
https://bitcoin-central.net/account/trade_orders/book

In XML
Code:
https://bitcoin-central.net/account/trade_orders/book.xml

In JSON
Code:
https://bitcoin-central.net/account/trade_orders/book.json

LRUSD orders in JSON
Code:
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

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

+1
sr. member
Activity: 395
Merit: 250
September 21, 2011, 12:17:15 PM
#14
You can get the full orderbook here :

In HTML
Code:
https://bitcoin-central.net/account/trade_orders/book

In XML
Code:
https://bitcoin-central.net/account/trade_orders/book.xml

In JSON
Code:
https://bitcoin-central.net/account/trade_orders/book.json

LRUSD orders in JSON
Code:
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

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
legendary
Activity: 1372
Merit: 1008
1davout
July 18, 2011, 05:17:41 AM
#13
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.
sr. member
Activity: 252
Merit: 250
July 18, 2011, 03:14:22 AM
#12
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.

legendary
Activity: 1372
Merit: 1008
1davout
July 13, 2011, 03:24:32 PM
#11
You should be able to, just post something like
Code:
{
  "amount": 10.5,
  "type": "buy",
  "ppc":  14.867,
  "currency": "LRUSD"
}
to
Code:
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

The API part is mostly untested, so don't hesitate to drop me a line if you have problems.
sr. member
Activity: 395
Merit: 250
July 13, 2011, 03:05:29 PM
#10
Great, thanks! Gonna test that tomorrow! I guess adding orders via API is not possible, though, right?

Cheers,

sonba
legendary
Activity: 1372
Merit: 1008
1davout
July 13, 2011, 11:31:29 AM
#9
You can get the full orderbook here :

In HTML
Code:
https://bitcoin-central.net/account/trade_orders/book

In XML
Code:
https://bitcoin-central.net/account/trade_orders/book.xml

In JSON
Code:
https://bitcoin-central.net/account/trade_orders/book.json

LRUSD orders in JSON
Code:
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

Responses to GET requests usually only support HTML default format, but if you need a JSON/XML response just drop me a line.
sr. member
Activity: 252
Merit: 250
July 13, 2011, 11:08:37 AM
#8
Is it possible to get orderbook/market depth?
sr. member
Activity: 395
Merit: 250
July 01, 2011, 02:33:50 PM
#7
Especially the orderbook part Smiley (i.e. read orderbook in currency x)
If it's possible to place, view, and cancel orders that would also be interesting, of course.
legendary
Activity: 1372
Merit: 1008
1davout
July 01, 2011, 10:26:31 AM
#6
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
sr. member
Activity: 395
Merit: 250
July 01, 2011, 08:57:49 AM
#5
Hi Davout,

is the API still working or did you shut it down? Was searchin for the commands but couldn't find it.
hero member
Activity: 700
Merit: 500
February 05, 2011, 04:24:14 AM
#4
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
legendary
Activity: 1372
Merit: 1008
1davout
February 05, 2011, 03:39:07 AM
#3
Where is the doc?
Right now there's absolutely none, feel free to edit the github wiki.
Questions welcome
legendary
Activity: 1288
Merit: 1080
February 04, 2011, 07:39:54 PM
#2
Wow this sounds pretty cool.  Does that mean that we'll be able to implement our own tradebots?

Where is the doc?
legendary
Activity: 1372
Merit: 1008
1davout
February 04, 2011, 05:35:23 PM
#1
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.
Jump to: