Application programming interface
1
vote
1answer
34 views
BTC-e API process
I'm submitting a Sell trade via the API, and the orderid returned is 0. It appears the trade is successful, and the adjusted funds are returned by the response. So it looks like the trade is happening ...
2
votes
2answers
54 views
Calculating address balance
Is there some method how you can calculate the balance of an address without resorting to web-based API's? When I import a private key the rescanning of bitcoind takes hours. I know to get a balance ...
1
vote
0answers
30 views
Mt. Gox API - getting confirmation of a trade order
I want to place a trade order at market price from an existing wallet in some auxiliary currency. After a successfull trade, I need to do some other work (fullfillment).
However, I'm having trouble ...
0
votes
1answer
34 views
What does the is_your_order field mean in a btc-e response?
Their amazing API documentation (https://btc-e.com/api/documentation) shows a field called is_your_order. Not sure what it means and they certainly don't explain it.
Does anyone know?
1
vote
0answers
54 views
Placing price bounds on MtGox market depth api request
I'm making an order book for MtGox, but the market depth file is huge and I'm really only interested in values near the inside prices.
Is it possible to place price bounds on the mtgox market depth ...
1
vote
2answers
218 views
Simplest way of obtaining MtGox exchange rate via an API?
I want to do a simple app that refreshes every minute to tell me the current exchange rate by Mtgox but I have a problem interpreting the JSON that some APIs return:
Mtgox's fast ticker returns this ...
0
votes
1answer
47 views
Blockchain receive payments API Network propagation
I'm using the Blockchain API to generate an address to receive payments. I received a payment to a generated address, then Blockchain sends the received amount to the address I defined but that ...
1
vote
1answer
25 views
Is the time value in transaction or block information the time it arrived at my client? [duplicate]
Both transactions and blocks have a time field when you use Bitcoin's getblock or gettransaction methods. The API method list defines the transaction time as " time the transaction occurred".
Is this ...
2
votes
0answers
50 views
Does a full Bitcoin API reference exist with examples?
I know that all Bitcoin API methods are listed on the wiki. However, some of the methods are very poorly documented.
F.e. the lockunspent method is only documented as taking the parameters ...
-1
votes
0answers
69 views
How to rebuild the MtGox order book from it's API [closed]
I want to build the same view as seen on bitcoin.clarkmoody.com
I'm currently storing all the data from the streaming API, and I know I have to reassemble it somehow. Can anyone explain how?
Also, is ...
0
votes
1answer
145 views
How do I obtain exponential moving averages using the MtGox API?
To calculate EMAs, do I need to be recording all of the data coming through MtGox's websocket firehose and manually calculating it myself, or are there static calls I can make to the HTTP API to ...
2
votes
2answers
288 views
MtGox websockets api returning “400 Bad Request”
I want to get started with the Mt. Gox websockets API, but I can't seem to get a good response from the server.
I'm sending the following (captured with Wireshark):
GET /mtgox HTTP/1.1
User-Agent: ...
3
votes
1answer
185 views
Bitcoin Charts API Data
So I'm trying to learn how to work with an api, and how to get bitcoin historical price data. Ideally, I'd like all of it, and the nice gui that they have on the site for displaying the charts (but I ...
0
votes
1answer
96 views
How do APIs like Blockchain.info and BlockExplorer work?
When I query an address using either service, are they simply querying the latest block that has been mined?
Or do those services have nodes in the network that collect data that has not yet been ...
2
votes
2answers
174 views
How to get an address's balance with the bitcoin client?
I want to see the balance of some address using bitcoind.
I set txindex=1 and did a -reindex to get all transactions indexed.
But still, there doesn't seem to be a way to get balances of an address. ...
2
votes
1answer
72 views
Websocket API: Uknown mtgox message type
Here's a bit of node.js code:
var WebSocket = require('ws');
var ws = new WebSocket('ws://websocket.mtgox.com:80/mtgox?Currency=USD');
ws.on('open', function() {
console.log('Connection ...
2
votes
2answers
60 views
How does blockchain.info resolve adresses?
I wonder how sites such as blockchain.info resolve the owners of public bitcoin addresses. For example, blockchain.info knows that the xkcd donation address 14FHqYSgA... belongs to xkcd.com. It is ...
2
votes
1answer
213 views
Bitcoin and Litecoin wallets with push notification API?
I am working on a project which includes btc and ltc transactions. I need Bitcoin and Litecoin wallets with APIs that could create Push notification on newly received transactions. With API I mean any ...
1
vote
0answers
63 views
What does MtGox order status mean?
"Your Open Orders" in MtGox lists all of our orders. However, some orders are not open. I sometimes see them as pending.
The HTTPv1 API states that there are 6 possible statuses:
pending
executing
...
1
vote
0answers
34 views
Is it possible to get ticker of bitcoin.de using an api?
I did not found anything in the site. They have an api? It is for my Android App Bitcoin Paranoid.
3
votes
1answer
209 views
What is the refresh interval of MtGox ticker API?
I'm using the MtGox ticker API (from MtGox API V2) and I want to know the update interval. I think it is less than 3 minutes, but is it possible to know exactly? It is important to me because I'm ...
3
votes
1answer
51 views
What goes in the id/BTCUSD field for Mt. Gox submit an order api call
I am trying to place a new order using Mt. Gox's submit an order api call. However I keep on getting the error object
{ result: 'error', error: 'Bad API call' }
I'm fairly certain I'm doing every ...
3
votes
1answer
68 views
How does the reference bitcoin wallet/client handle rejected transactions? (in the API)
I'm working on writing a wrapper for the standard bitcoin client. I'll be communicating with it via the JSON-RPC API and I'm just wondering if anyone has any experience with this;
this app is mostly ...
2
votes
1answer
93 views
How do you get a mtgox api key?
I can't seem to find where to get my MtGox api key. I've been linked to https://mtgox.com/settings/apps-and-api, but all I get is a blank page in the "Access" section. Do I need to verify my account ...
0
votes
0answers
35 views
Trade someone else's bitcoin without storing their API keys
Little time ago I started playing with a bot I wrote to trade bitcoins using my personal mtgox credential. My friends wants to use it.
How can I provide my bot as a service (24/7) to them without ...
2
votes
0answers
92 views
bitcoind 400 bad request - what's wrong with this code?
As per this code sample, I'm attempting to make a .net httpwebrequest from my local machine to a local bitcoind -daemon server. However, I'm only receiving a 400 bad request at ...
2
votes
0answers
83 views
Custom filter for mtgox depth api request
I am looking at mtgox api documentation and specifically at Multi Currency depth http://data.mtgox.com/api/1/BTCUSD/depth/fetch
It returns back the list of asks and bids and a filter criteria like ...
3
votes
1answer
236 views
Parameters for buy order on BTC-E
Using the BTC-E API 'm getting an error of You incorrectly entered one of fields. when I post this as the data in a buy order.
{'pair': 'btc_usd', 'amount': 0.1, 'rate': 44.7084704, 'type': 'buy', ...
-1
votes
1answer
115 views
Bitcoin Transaction Scripts
Could someone explain to me how the bitcoin transaction scripts work?How to build custom scripts?
Also please explain the data structure of transactions as specified by the bitcoin protocol? How to ...
0
votes
1answer
53 views
Query Transaction data based on past transaction id?
The blockchain.info API allows for quering information about a particular Transaction by its ID. But if you want to follow the coins to the next transaction, I'm not seeing what the next query should ...
1
vote
2answers
202 views
Is there a remote, trustless bitcoin API that doesn't require anything (blockchain/SPV headers) to be stored locally?
This question asks about how to work with bitcoin via an API without requiring a local blockchain. The only answer is about blockchain.info's JSON API, but it appears that unlike the web version of ...
3
votes
1answer
84 views
What is the easiest way to “listen” to the network?
If I want to automatically check up on payments and ensure they are not double spends and check the confirmation count, what is the easiest way to do so?
4
votes
1answer
128 views
What server-side Bitcoin clients are available to serve information?
I have been toying around with the idea of building a bitcoin app. My research has thus far led me to conclude that it makes sense to run a bitcoin client daemon on my server in order to provide an ...
2
votes
1answer
263 views
Is there any useful documentation on using the MtGox API with node.js?
I have been looking for some help building a platform using node that works with the MtGox api. It seems easy to make request, but I am confused about how to pass a parameter.
Right now my code ...
4
votes
3answers
346 views
How to know when a payment has been received by bitcoind?
I want to create a website which involves the creation of a new single-use address that a user would send bitcoins to. I'd like to know programmatically when the user has sent bitcoins to the address ...
3
votes
2answers
138 views
blockchain.info json API problem
I'm trying to get the time series for a specific period from blockchain.info but the json seems to not be there anymore. Does anyone knows if the json API is not available anymore or it is a temporary ...
2
votes
1answer
47 views
In ListReceivedByAddress, what is the meaning of Confirmations if the address is reused?
The API ListReceivedByAddress allows me to view a list a sum* of all the transactions that an address has received. This returns an array listing the sum of what was sent.
If the address is reused ...
1
vote
0answers
97 views
API: keeping account balance positive (+knowing in advance the transaction fee)
I'm using the json API. I need to keep all the account balances positive: I call getbalance first, check if it has enough bitcoins to proceed, and then move or sendfrom.
This approach causes two ...
2
votes
0answers
111 views
Are there any C# wrappers for the Bitcoin REST API?
Are there any C# wappers that take an OOO approach to the Bitcoin REST API, and encapsulate it in an easy to use format?
6
votes
1answer
115 views
Alternative clients and the Bitcoin API
Which of the alternative clients support any/some/all of the standard API calls? I am looking for a possible alternative client to replace Bitcoind on my server.
4
votes
1answer
201 views
What is the difference between a market and limit property in the MTGox API?
I'm using the MTGox API to get data about historic trades.
When I run https://mtgox.com/api/1/BTCGBP/public/trades?since={trade_id}, I get the latest 500 trades since that {trade_id}.
Now I have for ...
2
votes
2answers
458 views
Bitcoin API - How can I identify new incoming payments?
Good afternoon,
I am struggling a bit to receive Bitcoin payments at my online store. So far, I have installed bitcoind in my system and created a set of receiving addresses, and now I face the ...
3
votes
1answer
381 views
Blockchain.info Receive Payments API problem
I am building a little online app to accept bitcoin payments in my website. I have a blockchain.info wallet and I am following their Receive Payments Api, which can be visited here: ...
3
votes
1answer
235 views
What are midstate and hash1 used for in mining?
The first answer here does a good job explaining how the SHA-256 function requires more than one input (an initial one is specified by to the SHA-256 specs). As far as I understand it, the "midstate" ...
3
votes
1answer
421 views
How can I find the sender's address from the transaction hash? [duplicate]
Possible Duplicate:
How to findout the sender of a transaction
)
I am a new member of the forum and I am having problems with this very same issue.
I am trying to use blockchain.info API ...
3
votes
1answer
152 views
Javascript widget that shows the balance of a particular address
Is there an embeddable javascript widget (perhaps using blockchain.info API) that can show information about a specific Bitcoin address?
Like current balance, total incoming, outgoing, and latest ...
6
votes
2answers
839 views
Need authoritative source for historic Bitcoin conversion prices from all Exchanges
What are the authoritative sources for historic Bitcoin prices?
Ideally this will be an API of sorts, or a list of links that I can "screen scrape" to be able to collect the information.
I found ...
6
votes
2answers
173 views
Is there a Trading API that spans multiple independent sites, preferably from open source websites?
To experiment a little with automatic trading I'm looking for a trading api (like mtgox has) which is used on multiple independent websites so that if one goes under that I then don't have to redo my ...
3
votes
1answer
339 views
How to return Bitcoins to sender through Bitcoin API?
I want to get information about the creator of a given transaction through Bitcoin API. More specifically, any or all addresses they sent their Bitcoins from, so I can return some of the money back. ...
3
votes
1answer
171 views
How to force bitcoind to include a specific transaction as an input of another transaction?
I would want to force bitcoind to include a specific transaction as an input of another transaction. This is so as to prevent people front wanting to launch a double-spend attack on the website. The ...