Questions tagged [api]

This tag should be used for questions related to APIs offered by any Bitcoin related service. An API is an Application Programming Interface and services often have APIs available for developers to write software which accesses information offered by the service.

Filter by
Sorted by
Tagged with
30
votes
5answers
36k 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. ...
20
votes
1answer
13k views

How do I use walletnotify?

I have bitcoin daemon and I want to use the walletnotify option with a json-rpc call. Some of the examples use a "transaction.sh" file for walletnotify. What is it for? What do I have to write in ...
20
votes
5answers
42k views

How to build a bitcoin trading bot

I'd like to experiment with bitcoin technology, crypto currency, and encryption. I thought the best way to accomplish that is building my very own bitcoin trading bot. It seems like a daunting task, ...
17
votes
14answers
45k views

What are the most comprehensive APIs for cryptocurrency market data?

I'm looking for a well documented, easy to use API that provides data on the majority of cryptocurrencies. That data should include the 1 hr, 24hr, and 7 day price changes, as well as the entire ...
16
votes
4answers
38k views

Anyone know of an API I can get historical price time series for multiple coins

I'd like to build some historical price charts, to use in my cryptocoin portfolio tracking app, using time series data (with HighCharts js). Anyone know of an API that provides this price data, ...
12
votes
4answers
9k 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 for all major exchanges.
10
votes
3answers
5k views

How to estimate optimal fees for transaction in bitcoind?

As I understand, with the network congestion it's sometimes advisable to set a higher fee to process a transaction within a block or two. Is there some way to estimate the optimal fee through calls to ...
10
votes
4answers
5k views

Does a full Bitcoin API reference exist with examples?

I know that all Bitcoin API methods are listed on the wiki: https://en.bitcoin.it/wiki/Original_Bitcoin_client/API_calls_list. However, some of the methods are very poorly documented. F.e. the ...
9
votes
2answers
17k views

Bittrex API rate limit

Does Bittrex have a limit on how many requests I can do? I cannot find that info in their documentation. I only find their Announcement from 2014 which says: Api requests will be throttled based ...
9
votes
1answer
567 views

Importprivkey's “label” - is it the same as an account?

The "importprivkey" API call allows one to import a private key and save it with a label. Is the "label" in the API call synonymous with an account used in the wallet?
8
votes
6answers
5k views

API for converting currency such as Euro/USD to BTC

Basically what I'm looking for is a reliable API that allows for the conversion of an imputed currency amount such as USD/Euro amount and a conversion would be made that would convert the amount to ...
8
votes
1answer
2k 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', '...
8
votes
5answers
3k 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?
8
votes
1answer
432 views

Is there an API for price estimation?

I need to display at my website what a certain amount of Bitcoins will likely cost. I can fetch the latest price using the MtGox API and multiply it by the amount, but for large amounts this is ...
7
votes
4answers
14k views

How to check Bitcoin wallet balance without any API

I am building an application and that will involve large set of bitcoin wallets and need to keep on checking for balance. I don't want to use any third party APIs as they all have hourly/secondly ...
7
votes
2answers
12k views

Where can I find an overview of Bitcoin exchange APIs?

Where can I find information on a large number of "exchange" or "trading platform" APIs showing which currencies (digital and fiat) they convert between?
7
votes
5answers
3k 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 ...
7
votes
2answers
2k 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 ...
7
votes
6answers
6k views

List of blockchain explorer APIs?

I'm gathering a list of Bitcoin / Blockchain APIs. I mean web (REST) APIs that allow you to do basic blockchain queries through http(s) API calls, such as: getting the balance on an address, getting a ...
7
votes
1answer
1k views

Self-hosted Bitcoin wallet for Linux with API?

I'm looking for some Bitcoin wallet software I can host locally on my Linux server that provides either an API or webhooks for detecting when Bitcoin transactions have completed. I also need a way to ...
7
votes
1answer
5k 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 trying to use blockchain.info API to receive a payment and store the sender's address. However, the API only indicates the ...
7
votes
2answers
5k views

Bitstamp order book history

The current state of Bitstamps order book is available here: https://www.bitstamp.net/api/order_book/ I want to analyze the history of the order book. Do someone know if its available?
7
votes
0answers
1k views

Is there a Bitcoin equivalent to Infura? [closed]

I was wondering if there's some service for Bitcoin that is equivalent to https://infura.io/ All I could find similar so far is blockcypher, but it appears to require fees while infura doesn't seem ...
6
votes
3answers
2k 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 ...
6
votes
3answers
297 views

Are there any clients that allow for multiple wallets and API acccess?

I know that multibit has the capacity to have multiple wallets, but no API access. bitcoind has great API access, but only one wallet. Is there any solution that combines the two?
6
votes
1answer
3k views

BitFinex API call returns 400 bad request

Trying to get authentication with BitFinex to work. Docs here: https://www.bitfinex.com/pages/api Say the client wants to make a request to POST https://api.bitfinex.com/v1/order/new ...
6
votes
2answers
472 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 ...
6
votes
4answers
4k views

Is there an API that exchanges USD to Bitcoin?

I'm looking for an API that literally exchanges USD to Bitcoin, not only value. I've been looking all over for an exchange that accepts USD in it's API. I've found tons that will do Crypto => Crypto ...
6
votes
1answer
10k views

what is the Volume and BaseVolume reported from bittrex API?

For example in https://bittrex.com/api/v1.1/public/getmarketsummaries or if you subscribe to the ws feed you get sent the following type thing. { "MarketName": "BTC-ANS", "High": 0.0031, "Low": ...
6
votes
1answer
299 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.
6
votes
1answer
4k views

Understanding Kraken Trades API (market/limit)

I want to build historical OHLC data from the Kraken trades. Since Kraken does not provide historical OHLC data (at least not going far back), they recommend one builds it oneself using the list of ...
6
votes
1answer
781 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 ...
6
votes
1answer
250 views

How are double spends and “dropped” transactions represented in BlockChain.info API

I am currently using BlockChain.info's API to do payment verification with, but have a few questions. How I am using it (I think I am using it in the right way....): I am issuing a new/clean address ...
5
votes
3answers
3k views

Where can i get all the commands with descriptions for Bitcoind on my linux server?

Just installed bitcoind on my server and wanted to find a cheat sheet for the bitcoind commands. Where would i find them with a description and example of what each command does?
5
votes
3answers
5k views

Bitcoin's real-time Buy and Sell price API

What is the API to get Bitcoin's real-time Buy price and sell price on my site? and how can get it from to implement in my website developed in PHP.
5
votes
2answers
1k views

How to get the Input Address from vin where only a txid is given (Insight-Api)

I like to find the Input Address and Amount for a vin like this: "vin": [ { "txid": "e3f0e88ce224d342a0189c1b9d2fd488d8bda2f303dbe1e1dbbaa5f51d9f4a53", "vout": 1, "...
5
votes
1answer
52 views

In the Ardor API, how can one return more than 100 results from an API call?

Currently the Ardor API, limits results of 100 at a time. Is there a way to return more than 100 results using the api calls?
5
votes
2answers
2k views

Bitcoin Cash testnet version of insight API

I was wondering if anyone know a testnet version of Insight API for Bitcoin Cash? For mainnet there are those: https://bch-insight.bitpay.com/api/ https://bch-bitcore2.trezor.io/api/ But I cannot ...
5
votes
3answers
3k views

Checking/polling a balance of an address in Electrum via the command line/RPC

Suppose, I've dynamically -- via the command line/RPC -- created an address or payment_query in Electrum. And saved its details in a database along with the amount of bitcoins I expect to receive. ...
5
votes
1answer
1k views

Fees for bitcoind sendmany, limits for number of end addresses

I have two questions, both about sendmany. First, is there any limit on how much transactions can I send with sendmany? (Apart from bash's limit with maximal parameter length.) Is sending about 500 ...
5
votes
2answers
5k 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 ...
5
votes
6answers
2k views

Possible to do recurring payments with Bitcoin?

I'm a developer and using the Coinbase Ruby API to attempt to build a Coinbase application. I'm still coming to grips with how it all works. My question is, is it possible to set up recurring ...
5
votes
1answer
1k views

How to get value of incoming transactions from Blockchain.info API

I'm looking at the blockchain.info API and I'm having a difficult time finding the value of incoming transactions. That and the number of incoming transactions are the only things I'm interested in. ...
5
votes
1answer
613 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 ...
5
votes
1answer
3k views

Monitor all transactions on bitcoin network - API

I am searching for a solution to monitor all bitcoin transactions (or for first ties at least for addresses inside my bitcoin client). I found http://blockchain.info/api_websocket is this really ...
5
votes
2answers
9k views

How to know balance in Ledger Nano S?

Ledger wallets have a single static address where to send BTC to, but when looking at the details of the transactions, it is always recorded as different receiving addresses. Looking up the static ...
5
votes
1answer
1k views

Best Python API for sending Bitcoins from a Multi-Sig wallet

I want to create a multi-sig wallet which I can broadcast transactions through an API. I would like a wallet with a permanent public address not one that changes every time I run the code. I was going ...
5
votes
3answers
13k views

Historical BTC data in JSON

As of now, the only API I can find that serves historical data is https://blockchain.info/charts/market-price?timespan=60days&format=json. It only uses USD, and I need to serve non-USD data. My ...
5
votes
2answers
700 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.
4
votes
3answers
6k views

btc-e price quotes throught api

Can anyone give me the API details on how to access the prices quotes shown on home page of BTC-E.com. the api link on the site does not provide details on how to access bid and ask prices.

1
2 3 4 5
12