Hot answers tagged

17 votes

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

I am developing the ccxt cryptocurrency trading library, check it out on GitHub: https://github.com/kroitor/ccxt It is a library for cryptocurrency trading and e-commerce with support for many ...
17 votes
Accepted

What are the most comprehensive APIs for cryptocurrency market data?

Most exchanges offer API solutions for market data. Here are some examples: GDAX Bittrex Kraken WAVES DEX CryptoCompare has an API that aggregates data from many exchanges, and they also offer many ...
11 votes
Accepted

How to estimate optimal fees for transaction in bitcoind?

The other answer is outdated. estimatefee is deprecated. You should use estimatesmartfee Please use estimatesmartfee for more intelligent estimates. Estimates the approximate fee per kilobyte ...
10 votes

How to build a bitcoin trading bot

Building trading bots that interact with the exchanges is very similar to interacting with other RESTful APIs. Basically, you make query objects to whichever exchange you like to use. Here is a simple ...
  • 111
9 votes

How to get an address's balance with the bitcoin client?

import all address using "importaddress" you can get balance using "listunspent", but you must sum all unspent amount per an address.
9 votes
Accepted

What is the difference between secp256k1_ecmult_gen and secp256k1_ecmult?

How should these two functions be used properly? A simple answer is "not at all". Those functions are not exposed in the public API of libsecp256k1, and that's the reason why they don't ...
8 votes

How to check Bitcoin wallet balance without any API

If you are not going to use a 3rd party API, you'll need to run a node and add each address you want to query as a watch only address. If you are looking to create a database with all addresses, ...
  • 5,388
8 votes

How to estimate optimal fees for transaction in bitcoind?

Have you tried using the estimatefee RPC call? This will calculate the amount needed per kilobyte. For example calling bitcoin-cli estimatefee 2 would provide a fee per kb to try to get confirmed ...
  • 5,388
8 votes

Anyone know of an API for RSI and other indicators?

I had the same problem, couldn’t seem to find a good API that supported most of the popular indicators, and at the same time covered all the exchanges. So I decided to start up a project for this. So ...
  • 91
7 votes
Accepted

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

Found the data on crypto compare const endpoint = 'https://min-api.cryptocompare.com/data/histoday?aggregate=1&e=CCCAGG&extraParams=CryptoCompare&fsym='+ ticker.toUpperCase() +'&limit=...
7 votes
Accepted

Bittrex API rate limit

This question has been asked in the #api-developers channel of the Bittrex Slack Group a few times. Here's the important fragment of the discussion with somewhat an answer to our question. July ...
7 votes
Accepted

How Do HD Wallets Keep Track of all accounts?

In general, HD Wallets use the following logic for how many addresses to query, and when to stop: Start with account 0, generate gap limit number of addresses (usually 20) Check for any transactions ...
  • 16.7k
7 votes

can you use blockchain.info instead of hosting bitcoind for a website

You probably could - blockchain.info has certainly taken steps towards letting you, and provide a reasonably complete API, along with websocket streams for real time data. That said, you probably ...
  • 16.7k
6 votes
Accepted

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

These days the most thorough and handy guide for the Bitcoin Core RPC commands is the bitcoin.org developer reference page.
6 votes

How are Fees Charged at Kraken?

How are fees charged? They are charged in the currency fee set during a trade. Due to a discreet nature of trade matching process, it's rather tricky to give a definite answer on how each individual ...
  • 1,672
6 votes
Accepted

What's the POST endpoint to broadcast a transaction in copay's server?

Multisig and singlesig wallets use the same flow. A Tx proposal need to be created in singlesig wallets also. Copay syncronize across devices, so you can have a non-signing copayers in a 1-1 wallet ...
  • 223
6 votes
Accepted

what is the Volume and BaseVolume reported from bittrex API?

Volume is the amount traded in that altcoin over the past 24 hours. In the case of BTC-DGB, this is the amount of DGB that has been traded in 24 hours. BaseVolume is the total value traded in the ...
6 votes

How should I handle cases like this where the documentation for Bitcoin Core states one thing, and the actual program does something else?

In the example RPC results, it will show whether the result is a JSON array by including brackets [] or it will show if it is a JSON object (associative array) by using curly brackets {}. If the ...
  • 166
6 votes
Accepted

API for large number of queries to different addresses every few minutes

You can use a self-hosted (but low-burden!) instance of Esplora. Blockstream is also exposing an instance for free (at the moment) at blockstream.info. Disclaimer: if you take part of Bitcoin as an ...
5 votes

List of blockchain explorer APIs?

https://blockchair.com/api API for BTC, BCH, LTC and ETH blockchains.
  • 49
5 votes

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

http://www.cryptocoincharts.info Advance API to more than 100 exchanges: cryptocurrency pricing, OHLC and volume data from multiple exchanges. BTC38, BTCC, BTER, Bit2C, Bitfinex, Bitstamp, Bittrex, ...
  • 59
5 votes
Accepted

Valid asset_pair for Kraken.com

the list is found here: https://api.kraken.com/0/public/AssetPairs Also here's a list of assets: https://api.kraken.com/0/public/Assets
  • 64
5 votes
Accepted

Does Bitcoin RPC API have a realtime websocket?

Since you only care about transactions involving your wallet, you can specify the walletnotify option in your bitcoin.conf or your bitcoind start command. Since walletnotify allows you to execute an ...
  • 16.7k
5 votes

what is blockchain.info testnet api url?

Have you checked https://testnet.blockchain.info/api? For instance, to get a raw tx: https://testnet.blockchain.info/rawtx/tx_id
  • 2,882
5 votes
Accepted

How to use blockstream's REST api to retrieve JSON output on an address?

As others have said you can use https://blockstream.info/api/address/bc1qgsmfaz22lzy08wqjspd8xtm43hal5tgz4hyac6 for the JSON - the doc is in reference to running a local instance - the exact endpoint ...
5 votes
Accepted

Bitcoin-cli responding but not curl

Found it out, you just need to give it a username and password. You can add them to a bitcoin.conf file in your datadir. This file isn't automatically created. The default datadir is at ~/.bitcoin, so ...
4 votes

huobi.com API to get latest trade price, bids and asks?

I had some trouble finding it there but then I found it in "reference" https://github.com/huobiapi/API_Docs_en/wiki/REST_Reference You can use normal http queries like on other exchanges so to get an ...
  • 141
4 votes

How to get an address's balance with the bitcoin client?

"We'll hopefully soon get support for (...) watch-only wallets, where you can just add addresses you'd like to track, without having their keys." ...
4 votes

List of blockchain explorer APIs?

Insight by bitpay: https://insight.bitpay.com/ Block Explorer: https://blockexplorer.com/ Bitcoin Chain: https://bitcoinchain.com/block_explorer There are many more in development, but these are ...
  • 7,699
4 votes
Accepted

Can I use curl to call getInfo from a the Bitcoin server?

You can use the command-line curl or any of the various JSON-RPC examples listed here. In particular, you can use curl like this: $ curl --user <username>:<password> --data-binary '{"...
  • 7,699

Only top scored, non community-wiki answers of a minimum length are eligible