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 ...
Igor Kroitor's user avatar
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 ...
deeplizard's user avatar
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 ...
Aminadav Glickshtein's user avatar
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 ...
Adam Cox's user avatar
  • 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.
Egon Son's user avatar
9 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 ...
Raghav Sood's user avatar
  • 16.9k
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 ...
real-or-random's user avatar
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, ...
m1xolyd1an's user avatar
  • 5,596
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 ...
m1xolyd1an's user avatar
  • 5,596
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 ...
Emaix's user avatar
  • 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=...
Vinnie James's user avatar
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 ...
Pepijn Olivier's user avatar
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 ...
Raghav Sood's user avatar
  • 16.9k
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 ...
deepbrook's user avatar
  • 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 ...
ematiu's user avatar
  • 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 ...
jaggedsoft's user avatar
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 ...
presstab's user avatar
  • 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 ...
Antoine Poinsot's user avatar
5 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." ...
Daniel F's user avatar
5 votes

List of blockchain explorer APIs?

https://blockchair.com/api API for BTC, BCH, LTC and ETH blockchains.
Xenia's user avatar
  • 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, ...
Gilgi's user avatar
  • 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
ztianf's user avatar
  • 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 ...
Raghav Sood's user avatar
  • 16.9k
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
sr_gi's user avatar
  • 3,192
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 ...
Lawrence Nahum's user avatar
5 votes
Accepted

What is the request limit number in the blockchain.info API?

Should be 1 request every 10 seconds: https://www.blockchain.com/api/q
Riccardo Masutti's user avatar
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 ...
Patrick Collins's user avatar
5 votes

How to get list of Bitcoin Block Hashes by Block Number?

Easy enough with your own Bitcoin node. for height in {1..500000}; do echo "$height `bitcoin-cli getblockhash $height`"; done
Claris's user avatar
  • 15.4k
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 ...
Vitas's user avatar
  • 141
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 ...
Jimmy Song's user avatar
  • 7,749

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