Questions tagged [api]

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
36 votes
6 answers
48k 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. ...
Steven Roose's user avatar
  • 11.8k
22 votes
2 answers
18k 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 ...
M.R's user avatar
  • 501
20 votes
5 answers
45k 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, ...
Wei's user avatar
  • 201
18 votes
4 answers
43k 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, ...
Vinnie James's user avatar
17 votes
14 answers
47k 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 ...
zero_cool's user avatar
  • 363
15 votes
6 answers
14k views

List of blockchain explorer APIs? [closed]

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 ...
RocketNuts's user avatar
  • 1,031
12 votes
4 answers
10k 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.
makerofthings7's user avatar
11 votes
3 answers
7k 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 ...
ThePiachu's user avatar
  • 43k
11 votes
4 answers
21k 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 ...
Karthik Malla's user avatar
11 votes
6 answers
6k 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?
makerofthings7's user avatar
10 votes
3 answers
18k 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 ...
carpics's user avatar
  • 203
10 votes
4 answers
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 ...
Steven Roose's user avatar
  • 11.8k
9 votes
1 answer
625 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?
ThePiachu's user avatar
  • 43k
8 votes
5 answers
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 ...
ripper234's user avatar
  • 26.5k
8 votes
6 answers
7k 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 ...
Green's user avatar
  • 91
8 votes
1 answer
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', '...
Jamie Bull's user avatar
8 votes
3 answers
6k 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. ...
Kolayn's user avatar
  • 81
8 votes
1 answer
447 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 ...
Maestro's user avatar
  • 1,967
8 votes
3 answers
4k views

Reading Bitcoin Raw Transaction

I want to understand Bitcoin data structure. So i try to understand a raw transaction in json format. When i checked the blockchain.info API documentation, i see that input structure is defined for ...
Orçun Ertuğrul's user avatar
8 votes
0 answers
2k 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 ...
gerbill's user avatar
  • 81
7 votes
3 answers
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 ...
Sanjay's user avatar
  • 205
7 votes
2 answers
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?
user41634's user avatar
7 votes
2 answers
3k 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 ...
Maestro's user avatar
  • 1,967
7 votes
1 answer
2k 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 ...
Chad Johnson's user avatar
7 votes
2 answers
2k 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, "...
thepiwo's user avatar
  • 113
7 votes
1 answer
8k 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 ...
flaab's user avatar
  • 854
7 votes
2 answers
7k 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?
user9812's user avatar
6 votes
3 answers
22k views

Anyone know of an API for RSI and other indicators? [closed]

I am looking for Relative Strenght Index and other market indicators API's for cryptos. I don't think TradingView provides one but maybe you know one?
Wizzardzz 's user avatar
6 votes
1 answer
3k views

How Do HD Wallets Keep Track of all accounts?

If a HD Wallet generates 1,000 accounts for example. How would they keep track of all of the account's balances, if someone for example, paid into the 455th account, they would want to update the ...
Kyle Graham's user avatar
6 votes
3 answers
740 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?
Shamoon's user avatar
  • 2,819
6 votes
5 answers
8k 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.
Jagdish Ram's user avatar
6 votes
1 answer
11k 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": ...
Flo Woo's user avatar
  • 165
6 votes
1 answer
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 ...
steve cook's user avatar
6 votes
2 answers
476 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 ...
Folkert van Heusden's user avatar
6 votes
4 answers
8k 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 ...
elongl's user avatar
  • 61
6 votes
1 answer
10k views

Find all used addresses using xpub key

I currently use a Ledger wallet and find it a hassle to plug it in every time I want to check my balance. I have access to my master xpub key, how would I find out all the addresses corresponding to ...
Whyte the Weeabear's user avatar
6 votes
1 answer
308 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.
ThePiachu's user avatar
  • 43k
6 votes
1 answer
5k 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 ...
Flecto's user avatar
  • 161
6 votes
1 answer
792 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 ...
BillN's user avatar
  • 63
6 votes
1 answer
635 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 ...
dkisselev's user avatar
6 votes
2 answers
13k 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 ...
Sheraff's user avatar
  • 161
6 votes
1 answer
276 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 ...
Ford's user avatar
  • 243
6 votes
3 answers
17k 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 ...
Christopher Sardegna's user avatar
5 votes
3 answers
4k 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?
Patoshi パトシ's user avatar
5 votes
1 answer
8k views

How are Fees Charged at Kraken?

How are fees charged when I initiate a trade? Are they subtracted from my order's volume? Are the fees applied separately from my account's balance? Can I set the currency I want my fees to be ...
deepbrook's user avatar
  • 1,672
5 votes
2 answers
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 ...
Fujisawa's user avatar
5 votes
2 answers
5k views

How to access Latest Transactions using the Blockchain.info api?

I'm new in bitcoin, I just want to return json scrutucture from latest transactions from time to time. I couldn't figure by searching their reference, I think it requires a level of knowledge in ...
RollRoll's user avatar
  • 163
5 votes
1 answer
729 views

Get invoice amount from payment request - LND REST API

I'm using the REST API of my LN node to generate and pay invoices. I would like to know how to get the invoice amount/value in sats from the payment request I receive. I found this : https://api....
Lounès KSOURI's user avatar
5 votes
1 answer
64 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?
Patoshi パトシ's user avatar
5 votes
1 answer
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 ...
Karel Bílek's user avatar
  • 2,685

1
2 3 4 5
14