Bitcoin Forum
May 04, 2024, 07:20:39 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Bitcoin-Central.net gets an API !  (Read 3579 times)
davout (OP)
Legendary
*
Offline Offline

Activity: 1372
Merit: 1007


1davout


View Profile WWW
February 04, 2011, 10: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.

1714807239
Hero Member
*
Offline Offline

Posts: 1714807239

View Profile Personal Message (Offline)

Ignore
1714807239
Reply with quote  #2

1714807239
Report to moderator
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
grondilu
Legendary
*
Offline Offline

Activity: 1288
Merit: 1076


View Profile
February 05, 2011, 12:39:54 AM
 #2

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 Offline

Activity: 1372
Merit: 1007


1davout


View Profile WWW
February 05, 2011, 08:39:07 AM
 #3

Where is the doc?
Right now there's absolutely none, feel free to edit the github wiki.
Questions welcome

ColdHardMetal
Hero Member
*****
Offline Offline

Activity: 700
Merit: 500



View Profile
February 05, 2011, 09: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

sonba
Sr. Member
****
Offline Offline

Activity: 395
Merit: 250


View Profile
July 01, 2011, 01:57:49 PM
 #5

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 Offline

Activity: 1372
Merit: 1007


1davout


View Profile WWW
July 01, 2011, 03:26:31 PM
 #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

sonba
Sr. Member
****
Offline Offline

Activity: 395
Merit: 250


View Profile
July 01, 2011, 07: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.
nimnul
Sr. Member
****
Offline Offline

Activity: 252
Merit: 250


View Profile WWW
July 13, 2011, 04:08:37 PM
 #8

Is it possible to get orderbook/market depth?

davout (OP)
Legendary
*
Offline Offline

Activity: 1372
Merit: 1007


1davout


View Profile WWW
July 13, 2011, 04:31:29 PM
 #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.

sonba
Sr. Member
****
Offline Offline

Activity: 395
Merit: 250


View Profile
July 13, 2011, 08:05:29 PM
 #10

Great, thanks! Gonna test that tomorrow! I guess adding orders via API is not possible, though, right?

Cheers,

sonba
davout (OP)
Legendary
*
Offline Offline

Activity: 1372
Merit: 1007


1davout


View Profile WWW
July 13, 2011, 08: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.

nimnul
Sr. Member
****
Offline Offline

Activity: 252
Merit: 250


View Profile WWW
July 18, 2011, 08: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.


davout (OP)
Legendary
*
Offline Offline

Activity: 1372
Merit: 1007


1davout


View Profile WWW
July 18, 2011, 10: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.

sonba
Sr. Member
****
Offline Offline

Activity: 395
Merit: 250


View Profile
September 21, 2011, 05: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
MasterX
Member
**
Offline Offline

Activity: 88
Merit: 10



View Profile
January 10, 2013, 12:27:03 PM
 #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

| Donations: 1MegaXG1bd6mTEQCdAMjVzGexcYrF5LJKv |
davout (OP)
Legendary
*
Offline Offline

Activity: 1372
Merit: 1007


1davout


View Profile WWW
January 10, 2013, 01:16:57 PM
 #16

That would be https://bitcoin-central.net/order_book.json

Boussac
Legendary
*
Offline Offline

Activity: 1220
Merit: 1015


e-ducat.fr


View Profile WWW
February 26, 2014, 11: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!

BitDucho
Newbie
*
Offline Offline

Activity: 36
Merit: 0


View Profile
March 08, 2014, 12:34:38 AM
 #18

"Like" Will lokk at during the Week-end, thanks
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!