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.

133 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
4
votes
1answer
460 views

Cryptocompare API

Anyone here using cryptocompare api? Where would be the best place to ask questions about it? I am just starting with it and for example I have stumbled upon few issues. Like, coin tickers with an ...
4
votes
1answer
346 views

How to explore transaction chain via Original Bitcoin API as blockexplorer does it

Is there any possibility to explore transaction chain via Original Bitcoin API (https://en.bitcoin.it/wiki/Original_Bitcoin_client/API_Calls_list) as the blockexplorer does it. If not, why?
3
votes
1answer
2k 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 ...
3
votes
3answers
1k views

Get transaction that spent a transaction id

The blockchain.info API allows for querying information about a particular Transaction by its ID. But if you want to follow the coins to the next transaction, I'm not seeing what the next query should ...
2
votes
1answer
47 views

Local balance query for Bitcoin address

I would like to be able to query the balance of an address (not belonging to me). The data should come from a fully synced bitcoin full node inside the local LAN and I do not want to query any api ...
2
votes
0answers
515 views

Get crypto-currency price at a timestamp without limits

I'm trying to get the price of a crypto-currency at a specific timestamp. So I used the API cryptocompare : https://www.cryptocompare.com/api/# For example : https://min-api.cryptocompare.com/...
2
votes
1answer
217 views

What is the right method to calculate Relative Strength Index (RSI) for incoming real time data?

I am working on a trading bot that computes values for several indicators including the RSI. I subscribe to real time minute-level market data from an exchanges, and as new data arrives, I get the ...
2
votes
1answer
111 views

Different balances in API block explorers for BTC

BTC.com block explorer shows bigger balance than for example Insight or Blockchair. For example: https://btc.com/1FLDCfr9iG7n6bAdGsqBXmhaLgC4aSze72 https://insight.bitpay.com/address/...
2
votes
2answers
140 views

API for multiple blockchains

Is there an API to get data for multiple blockchains? Most blockchain explorers already offer an API but I'd like to be able to get information for different blockchains through the same API.
2
votes
0answers
251 views

Multicoin wallets with programmable API

Does there really not exist a web multicoin wallet that has a programmable API that can be used by apps to send transactions? It is common practice to authorize your credit card in an app so that it ...
2
votes
0answers
594 views

historical market cap in json/csv for all coins?

I want to run a backtest on a "S&P 500" strategy for crypto investing. I'm looking for historical market cap data. Something like what coinmarketcap.com provides, but historically and in an easy ...
2
votes
0answers
218 views

Can't access Blockchain.info API using ASP.NET

I am using ASP.NET(VB) to call API Try Dim strUrl As String = "https://blockchain.info/tobtc?currency=USD&value=500" Dim request As WebRequest = HttpWebRequest.Create(...
2
votes
0answers
235 views

How do i loop through all the related address in a given wallet address

I am using bitcoin block chain API, it is possible to get amount sent in a transaction id and the addresses it was sent to. My problem is getting the RELATED ADDRESSES to the address that sent the ...
2
votes
2answers
592 views

How can I get the date of the last transaction from the blockchain.info API?

Is there a way to request the date of last transaction via API? I run a request to see balance of my addresses and need to request the date of the last transaction, how would I do that?
2
votes
1answer
380 views

receive payement bitcoin api like blockchain API v1?

I am looking for a API function as the first version of the API blockchain.info (no API key). If there are none, I'd like you to tell me where to turn to create an API with a similar operation and a ...
2
votes
0answers
102 views

Can we know the address list which blockchain API has created?

I am currently using blockchain payment API. This API has created the addresses for receiving payment. https://blockchain.info/api/api_receive Can we know the list of unused addresses this ...
2
votes
0answers
158 views

What hardware and bandwidth requirements would a server need to fulfill to run Bitcore?

What's the cost of running Bitcore on AWS or DigitalOcean? I know I'd need about 128gb of hardrive space, but I'm not sure how much the typical bandwidth costs would be, and how much RAM or cores I ...
2
votes
0answers
2k views

Transaction rejected by our node. Blockchain receive API

I use the Blockchain.info receive API with great succes. Yesterday I created a new address: 1MMVp6fzZ6QrVYXg9iRSJb5PsM8crq5iMZ It received 1.5 BTC and was transferred to my BTC address (unfonfirmed). ...
2
votes
0answers
446 views

How to add blockchain.info API key to pibitcointools

I have a query-intensive app I'm building that keeps timing out with the message: Traceback (most recent call last): File "test.py", line 72, in <module> array = bitcoin.multiaccess (...
2
votes
1answer
351 views

Broadcast a Transaction

I have a: Wallet public/private key pair with X BTC Wallet Address I want to sent Y BTC to I'm developing an app in NodeJS and trying to initiate payments automatically. I'm very confused how I'm ...
2
votes
0answers
978 views

bitcoind 400 bad request - what's wrong with this code?

As per this code sample, I'm attempting to make a .net httpwebrequest from my local machine to a local bitcoind -daemon server. However, I'm only receiving a 400 bad request at webRequest.GetResponse()...
2
votes
0answers
308 views

API: keeping account balance positive (+knowing in advance the transaction fee)

I'm using the json API. I need to keep all the account balances positive: I call getbalance first, check if it has enough bitcoins to proceed, and then move or sendfrom. This approach causes two ...
1
vote
1answer
42 views

Is Bitcoin Core required for wallet projects?

My team wants to create a cryptocurrency service provider platform to Sell/Buy BTC and something else in form of web/mobile app. It's about one month that I have been studying different articles about ...
1
vote
1answer
38 views

Electrum address syncronization

I need to periodically check the balance of a number of bitcoin addresses (a few tens or hundreds addresses). I noticed that Electrum may syncronize a thousand or more imported addresses in a matter ...
1
vote
0answers
11 views

Inconsistent Volume Data from Gdax API

I've queried Gdax API in the past and it seems that the API is currently returning a completely different data set for 'Volume'. For example, when I queried the API for historical BTC prices around 1 ...
1
vote
0answers
21 views

listreceivedbyaddress missing transactions after restore

After restoring wallet from wallet.dat balance is identical, but listreceivedbyaddress 0 do not have the transactions associated with wallet. listunspent 0 show all the transactions, but it will ...
1
vote
0answers
35 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, ...
1
vote
0answers
183 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
vote
2answers
162 views

Specified data directory does not exist - but it does…

anyone ever had a similar issue where the directory exists but bitcoin-cli isn't recognizing it? Perhaps this is related to me setting the folder up as a symlink to my external HDD? Thank you! ...
1
vote
1answer
49 views

Question Regarding Send_to_many function of blockchain wallet api

I am using send to many function of blockchain wallet api and i am facing issue. when upto 20 transaction done then after i get error in terminal that 1538652825520 - error: ERR_PUSHTX ...
1
vote
0answers
349 views

List All the transactions of an adress - API

I am looking for a way to list all the transactions of an address. For instance, if we use the Blokchain.info API we get: url='https://blockchain.info/rawaddr/1PFtrRjbq4aLfM7k4tyLZ3ZAuTsgLr6Q8Q' ...
1
vote
1answer
325 views

Bitcoin cash - Transaction history as JSON

Is there a way/a service to retrieve all bitcoin cash transaction for a bitcoin cash address in JSON format? Like the API of blockchain.info offers for bitcoin core?
1
vote
0answers
194 views

Programmatically Get Change Address From Blockchain

BIP004 states that a derivation path's 4th digit will be 1 if it is a change address like this: m / purpose' / coin_type' / account' / change / address_index https://github.com/bitcoin/bips/blob/...
1
vote
0answers
502 views

call JSON RPC API Using C#?

I am trying to call JSON RPS API Using C#. I have added my own IP address with its credentials. Before writing API in C#, I have installed Bitcoin on my server. Now, using the server details, i ...
1
vote
1answer
569 views

Passphrase header - Coinbase API

When trying to access the Coinbase API I am getting a header required: passphrase error. How do I create a passphrase? On the GDAX website, it states you create your passphrase when you create an ...
1
vote
0answers
664 views

How to get all transactions of address with bitcoin api in node.js?

I want to find all transactions of address in regtest. How it is possible to do? I have this solution, but I get response (201) before for ends. I think it's bitcoin timeout false. bitcoin....
1
vote
0answers
374 views

Having trouble using GDAX API to place market buy order

Here is the documentation I'm following and to place a buy order, the syntax follows the following format: # Buy 0.01 BTC @ 100 USD auth_client.buy(price='100.00', #USD size='0.01', #...
1
vote
1answer
2k views

Basic bittrex api question

I read the api documentation but I could not find anythin related to market buy and sell commands. Where do I find this information? Moreover, I read the following from the api site https://bittrex....
1
vote
2answers
4k views

How to get Bittrex trading data for 10 different coins?

I am writing MATLAB code to get the trading data from Bittrex. I have 10 different coin trading volume data that I want to know. To do this, I have a few ideas but not work in Bittrex. Use '...
1
vote
0answers
617 views

How to get unconfirmed-transactions count by API

This site shows counts of unconfirmed transactions. And there is a API that returns in json format. https://blockchain.info/ja/unconfirmed-transactions?format=json But I couldn't find the count in ...
1
vote
0answers
217 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 ...
1
vote
4answers
575 views

Single API Platform for multiple cryptocurrency?

I am wondering for a single API platform where i will be able to trade for below 5 crypto currency : 1) Bitcoin 2) Litecoin 3) Ethereum 4) Dash 5) Monero So, are you guys supporting all these in 1 ...
1
vote
0answers
267 views

Get fees for each transaction in a block without too many API calls

Using Blockchain.info's API, my current approach is to query the endpoint for a block then to collect all the transaction hashes within that block: https://blockchain.info/rawblock/$block_hash Then ...
1
vote
0answers
363 views

Block chain receive payment api not working

I am building a little online app to accept bitcoin payments in my website. I have a blockchain.info wallet and I am following their Receive Payments Api, which can be visited here: http://blockchain....
1
vote
0answers
233 views

Bitfinex API -> retrieve funding earnings for custom period

I am trying to retrieve my funding profit of the previous day via the Bitfinex API. But all I find is this API which only returns the profit of the last 30 days summed up (funding_profit_30d): https:...
1
vote
0answers
579 views

How can I see the wallet balance using Blockchain Api? C#

Stupid question, but I cant get it So, then I type my wallet adress on blockchain.info I immediately can see my balance, but from my project I can't type something like: WalletAddress wa = new ...
1
vote
1answer
187 views

Is there an API with which I could obtain the exchange rate of bitcoin to dollar some time in the past by giving the desired time as parameter?

I would also like the the result to be precise to hour (or minute). It is for a java program. I have looked around, but the service I have found could not satisfy my need: http://www.coindesk.com/...
1
vote
0answers
46 views

Optimal way for .NET programmer with no Linux/Python experience to query Blockchain and submit transactions?

I need some advice. What's the best way for a Windows/.NET developer like me to access blockchain information via a REST/RPC API ? The server app I'm building does the following on a fairly regular ...
1
vote
0answers
203 views

PHP Coinbase Securing Callbacks

This is example callback verification code in Ruby (https://developers.coinbase.com/docs/wallet/notifications): CALLBACK_DIGEST = OpenSSL::Digest.new("SHA256") def self.verify_callback(body, ...
1
vote
0answers
382 views

BitCoin API C# - can I create transaction, add IO, sign, get hex?

I am using this link as a demonstration of what I want to achieve (see code below). I am not in a position to use node.js now - and I need to use C#. I have looked at the bitcoin.info API My ...