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
4
votes
2answers
320 views

Trying to import a private key into bitcoind

I am in a special situation where I need to import my private key credentials and basically restore a wallet to bitcoind. bitcoind is running and I do have an rpc user/pass and server=1 in the ...
0
votes
0answers
108 views

Issue while using create transaction API of blockcypher?

I am getting this error "Not enough signatures: 1 for 2 inputs" always while using create transaction API for BTC,LTC,DASH. Before few days ago its was working fine. But Now I am getting Error After ...
17
votes
14answers
46k 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 ...
7
votes
2answers
6k 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?
-1
votes
1answer
271 views

What feerate estimation APIs are there?

Some company's, block explorers and payment processors offer a public API for feerate estimations. Is there a list of publicly available feerate estimation APIs?
0
votes
1answer
411 views

Account system is deprecated. Now, how can we set a “from account” when using the “sendmany” function?

Currently I have been faced with a problem from the update of Bitcoin Core. As you may know, in the recent update, Bitcoin Core deprecated the concept of account belonging to each node. Hence, I ...
4
votes
2answers
5k views

How to estimate/get network fees via blockchain.info API?

I am using blockchain.info API to send payments. but i need to know that what will I be charged by the network. So any way to get the network fee with specific amount to sent.. or how to generate it ...
0
votes
1answer
52 views

looking for faucet API so i could use it for tests - Automated faucet

i would like to make some tests on test net, the issue is every time i have insufficient fund in my wallet i need to find a faucet and manually add funds. i would like to create an automatic faucet ...
0
votes
1answer
993 views

Checking external bitcoin address balances via JSON-RPC API

I'm using bitcoin core json-rpc api in python and am wondering why... getreceivedbyaddress() ...doesn't allow me to specify an address that isn't in my local wallet? The whole blockchain is open, ...
3
votes
1answer
647 views

Receive payments in BTC or USD, but get paid in Bitcoin?

I need to receive payments on my site. I wish to give users the option to either send money in bitcoins or US Dollars. However, I always want to get paid out in bitcoins. So I need to have an auto-...
0
votes
2answers
123 views

How to get latest 50 transactions for a BCH address?

Is there an API from where I can get latest received transactions for a bitcoin-cash address?
2
votes
0answers
505 views

Coinbase “convert” API?

I use the convert functions at coinbase to take advantage of market changes to increase my position amounts. This weekend I am going to write a php script that tracks the available conversion pairs ...
-1
votes
1answer
32 views

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

If I use api calls to blockchain.info instead of hosting my own bitcoind for checking address values, is it safe?
0
votes
4answers
2k views

Historical Crypto Data

I'm looking for for historical data on crypto currencies that tracks down to at least the hour if not 5 minutes for each day for at least the past year. I need OHLV price, and volume at a minimum for ...
1
vote
0answers
70 views

Access Kucoin OHLC data from API?

I need to access kucoin Open-high-low-close (OHLC) data from Kucoin API. Looking in https://docs.kucoin.com/#get-trade-histories, I deduced that to access OHLC data (for instance BTC versus USDT, ...
6
votes
3answers
5k 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. ...
1
vote
2answers
725 views

How to check the balance of the list of 1 million Bitcoin Addresses?

How to check the balance of the list of 1 million Bitcoin Addresses? Is there such a program?
1
vote
2answers
446 views

retrieve all the transaction between two addresses

I've used this query to try to get all the transaction between two addresses: https://blockchain.info/multiaddr?active=1EipJdYVJbqsTSQhj1icK424AkMbyjvgBm|1LWwLvKWbcpiZYqCcwfuQ3gjjNJkxftmEJ but the ...
1
vote
1answer
433 views

How to get balance for a label

I have lots of addresses organized under a label. Is there a command to show the total remaining amount available under a label ? (Or address) I am building a payment gateway and I need get the total ...
1
vote
1answer
70 views

Confused about buy/sell definition in trades history

I'm looking at some trade history provided by the kraken.com API (formatting mine): Price Volume Time Buy/sell Limit/market Remarks ["7833.00000", "0.17400000", 1559721453....
1
vote
1answer
68 views

How to paginate through api?

I have looked at the following link:https://dashblockexplorer.com/api/txs/?block=990001, and I am wondering how to paginate. You may notice that pageTotal is equal to 5.
3
votes
2answers
605 views

Send download link of a file after Bitcoin payment

I'm starting an online business. My website is hosted on OVH I would like to send a download link after a bitcoin payment. Are there specific stuffs I should be aware of? Is this difficult to develop?...
0
votes
1answer
74 views

bitcoind rest api tx endpoint

i am having a trouble with bitcoind REST API endpoint for retrieving transaction info. According to the documentation it should return confirmations among the retrieved data. But my bitcoind do not ...
0
votes
2answers
690 views

Based on the coinmarket cap api, how do they calculate the bitcoin percent change

I am trying to figure out how coinmarketcap calculates the bitcoin percent change for other coins. For example on ethereum: I'm trying to figure out how they calculate that bottom BTC percent change ...
0
votes
1answer
1k views

How to get BTC and ETH prices from Binance in Google Sheets?

I've been using the CRYPTOFINANCE() function in Google Sheets for a while but I can't seem to find out how to pull data from my exchange (Binance). I'm specifically looking for the BTC/USD and ETH/...
2
votes
1answer
665 views

Bitfinex REST API v2.0 modify orders

I am not sure if this is the right place for this kind of question, but there is no general crypto currency stack ... I am developing an application which accesses Bitfinex data and also should be ...
2
votes
1answer
1k views

How does one submit a transaction to the network using the blockchain.info API?

I am currently working on a project which makes use of the blockchain.info api (php). Could anybody please tell me how to use this api to submit transactions to the network?
3
votes
2answers
1k views

Make remote RPC connection to bitcoind server secure

I set up a bitcoind server on an Ubuntu server and I can remotely execute commands on the server. I am doing this with Java/RPC. To execute a command I need to provide a username and password. But I ...
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 ...
0
votes
1answer
115 views

How can get balance for btc/bch address and block?

How can get balance for btc/bch address and block ? Similar to web3.eth.getBalance for Ethereum
0
votes
0answers
57 views

transfer cryptocurrency with api

I need a wallet that have api for currency transfer like block.io api. But because block.io only supports 3 currencies, it is not suitable for my project There is another wallet for my work? (Only ...
0
votes
1answer
67 views

Bitcoin core and transaction fees

I'm using combination of 'createrawtransaction' and 'fundrawtransaction' API calls to create my transactions. I don't pass 'feeRate' option to 'fundrawtransaction' and rely on bitcoin wallet to figure ...
1
vote
0answers
221 views

Liquidity Solution for Crypo Exchanges

I need to connect to a network of global crypto-exchanges and shares their order books (DSO Liquidity Solution) so ensures that right from the very start my client exchange software will have a full ...
4
votes
2answers
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 ...
0
votes
0answers
36 views

reusing an address how can I get the confirmations

I would like to reuse an address I was thinking of using blockchain.info api which returns the amount sent to the address if confirmation reach the set parameter. When I send more BTC to the same ...
5
votes
6answers
3k 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 ...
1
vote
2answers
1k views

Bittrex API 3 minute delay

I'm noticing that the Bittrex API (both v1.1 and v2.0) have a 3 to 4 minute delay when getting data, i.e. GetLatestTick: https://bittrex.com/api/v2.0/pub/market/GetLatestTick?marketName=BTC-NEO&...
-1
votes
1answer
47 views

What does PreviousTxnID refer to in Ripple API?

What does the field PreviousTxnID refer to? Does it refer to the most recent transaction? Not sure what it specifically means. Help would be appreciated.
0
votes
2answers
232 views

Why is there a difference between the candlestick data on coinigy versus the data that binance provides?

The candlestick data on coinigy.com does not match the binance official API. See the screenshot below: Especially the open and close are very different, does anyone know why this is the case and if ...
1
vote
3answers
1k views

Bitcoin API(s) - how to pair (or obtain) BOTH sender and receiver addresses with a transaction ID (hash)

Various block explorers exist, which offer REST APIs. So far been using blockchain.info and btc.com Here is what we have: - List of bitcoin addresses Here is what can easily be got with that info: -...
1
vote
0answers
37 views

How do I find my b64secret from GDAX API? [closed]

How did I find the b64secret that is automatically generated by GDAX API? I have a passphrase and API key that I got from GDAX, but I don't know what/where the b64secret is. The documentation says ...
-1
votes
1answer
535 views

How to send BCH programmatically using existing wallet

I'm a completely newbie to crypto so sorry in advance for stupid question. How can I send BCH to desired address using existing wallet? I found few services with quite nice rest API or even ready ...
1
vote
2answers
1k views

REST API to create Stellar account?

In the REST API documentation, I didn't see an option to create an account. Obviously then, the code snippet here to create an account has to be front-ended by some other API so that a request to ...
11
votes
3answers
6k 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 ...
3
votes
2answers
3k views

How to check confirmations number programmatically

How can I check confirmations number for some bitcoin address programmatically? (I have eCommerce shop where each order has separate address). I want to use blockchain.info API. Here is an example of ...
1
vote
1answer
32 views

Why is input number non-existent in bitcoin API?

Why when I use this public Bitcoin Api to practice a command, the input value of BTC does not show up? API Call can be found here: API Website Transaction from block explorer can be found here: ...
2
votes
1answer
296 views

Is there a website / api where I can access historic coinbase data? [closed]

Is there a website / api where I can access historic coinbase data for Bitcoin? I know about blockchair.com but they charge for the coinbase data. Anywhere that supplies this for free?
1
vote
1answer
517 views

Derive next HD segwit address from xpub/ypub

I've been using the smartbit api to derive the next receiving address for a while now. However it only works for Legacy addresses and not Segwit addresses. I now have a Ledger Nano s and need a ...
1
vote
0answers
57 views

blockchain.info API response is coming with a big delay [closed]

I'm using blockchain.info API on my shop. Everything was fine until about 2 weeks ago. The whole procedure and the issue is: - When a customer place an order, a btc address is created and customer ...

1 2 3
4
5
13