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

Api to automatically check the status of a BTC transaction

My team is working for a community of members who make donations in BTC to support a cause from time to time. The donations the details are stored in a database and displayed on their personal ...
0
votes
0answers
7 views

Unable to sendcoins using bitgo express apis

Trying to access API URL: https://test.bitgo.com/api/v2/tbtc/wallet/walletid38u5348t9yj958jtv985j89g5/sendcoins But every time getting same response: { "error": "You have called a BitGo Express ...
0
votes
1answer
20 views

How do I ask other nodes for their stale blocks?

I want data on as many stale blocks as possible. Is there a way to ask peer nodes to run "getchaintips" and get their results? Previously, I used Blockchain.info's API call for this, but it seems ...
0
votes
1answer
24 views

How to determine if BTC has been received from a particular address

I have been wondering if there is an api available that can enable me know if a certain amount of Bitcoin has been received from a particular wallet address. For the moment I have only be ...
0
votes
0answers
31 views

Most crypto exchanges have a similar API. What software (commercial or open-source) are they using in their back-end? [closed]

If I want to launch a crypto exchange today, which companies do I look for that can provide me with an out-of-the-box software infrastructure when I don't want to build one in-house? I'm talking ...
3
votes
1answer
33 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....
0
votes
1answer
58 views

How do I fetch the price data from CoinGecko? [closed]

I don't understand their API: https://www.coingecko.com/en/api It says: /simple/price Get the current price of any cryptocurrencies in any other supported currencies that you need. But then ...
1
vote
0answers
29 views

Is there a way to test Blockchain.info APIs? [closed]

I'm trying to set up Blockchain.info web APIs to notify me when I receive a BTC payment: https://www.blockchain.com/api/api_receive So say, if I generate a receiving address as such: https://api....
0
votes
2answers
61 views

How can I know which user made which BTC transaction?

I am making an app, and I want my users to deposit BTC coin to my address which is an exchange address (I don't have the private keys). How can I know which user made which transaction? I have a way,...
2
votes
1answer
63 views

Estimated Fees in BCOIN

I installed a BCOIN full node and I would like to calculate estimated fees for Bitcoin transactions. This functionality works perfectly in the CLI. For example: bcoin-cli fee 3 Anyway things go ...
1
vote
1answer
82 views

How to get the pool name from coinbase transaction?

Is it possible to retrieve the name of the pool that mined a block looking at the address in the coinbase transaction? For example, the address in the coinbase transaction of block ...
1
vote
1answer
39 views

blockstream API response

How do I determine if the current transaction is an outgoing or an incoming transaction from looking at the following API response? https://blockstream.info/api/address/...
3
votes
1answer
194 views

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

Bitcoin Core's RPC API call "getnewaddress" is documented here: https://bitcoincore.org/en/doc/0.18.0/rpc/wallet/getnewaddress/ It claims: Result: "address" (string) The new bitcoin address In ...
1
vote
1answer
99 views

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

I have a bitcoin address and I want to get the JSON format of the balance using blockstreams api service. It's this one: https://github.com/Blockstream/esplora/blob/master/API.md#transaction-format ...
1
vote
1answer
56 views

Why is there no decentralized Bitcoin trading API?

Since nobody has answered me the last 30 times when I asked for decentralized Bitcoin trading APIs, I can pretty safely conclude that it just doesn't exist. So that's why I now ask why this is. Don't ...
0
votes
0answers
24 views

Getting Started with a Hello World Node.js App making an API call to bitcoin.org

I have been reading around trying to find where/how you can attach a SHA256 or MD5 hash (i.e. a small chunk of data) to a Bitcoin transaction, which led to OP_RETURN, but I have yet to see exactly how ...
2
votes
1answer
54 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 ...
1
vote
1answer
63 views

how do mining pools expose their stats?

Webistes like https://miningpoolstats.stream/ must communicate with the pools somehow. What protocol do they use to retrieve information such as the pool's hashrate and what blocks have been mined by ...
1
vote
1answer
35 views

How to get all cryptocurrencies real-time statistics with no limit and free? [closed]

How can we get almost all real-time information of cryptocurrencies (rates, transactions, live prices, blocks info, wallets, etc) for developing new cryptocurrency statistics and exchange reference (...
0
votes
1answer
65 views

CryptoCompare API gives wrong historical daily OHLC data

I am trying to use CryptoCompare to get historical daily OHLC data, but the data I get seems to be wrong. For example, the following query (timestamp=1507248000) will give you data where 'open' (66.43 ...
0
votes
0answers
37 views

Blockchain.com API and needed amount

I have installed Blockchain.com platform on our server and ran some codes successfully based on its Wallet APIs. Regarding to what is said here, as we are testing this platform, we charged the created ...
0
votes
0answers
22 views

How to run and access Blockchain.info platform on a remote server?

I've installed Blockchain.info local machine on a server and got an API key for it. But it seems it's designed to work only locally and on the port 3000. I need to call APIs from another server with a ...
0
votes
1answer
83 views

How can I generate preimage for lightning network invoice? Should I?

I'm developing API library for LND REST API. Method POST /v1/invoices requires r_preimage parameter. Should I generate it or LND can do it itself if I'll not specify it? If I should do that - how to ...
1
vote
1answer
48 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 ...
0
votes
1answer
40 views

Coinjoin API server possible?

Is there a protocol limitation (I suspect there is) that does not enable transactions across different platforms to access a 3rd party remote server (Chaumian server?) through API and create a ...
1
vote
1answer
33 views

what is exact meaning of some field of response of `getBlock` rpc api

I refer to this document for using getBlock rpc api. https://bitcoin.org/en/developer-reference#getblock { "hash" : "hash", (string) the block hash (same as provided) "confirmations" : n, (...
1
vote
1answer
47 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 ...
0
votes
0answers
27 views

how to know miner of each bitcoin block [duplicate]

Do you know from what kind of API I can get miner info per each block? I've run bitcoin mainnet, and I want to know who mines each block if possbile. I've googled and read many docs but I couldn't ...
0
votes
0answers
22 views

What happened to Smartbit explorer?

I was using API located at http://smartbit.com.au to communicate with bitcoin testnet. Now API is not available anymore. Generally, whole service is gone. Some time ago (idk, like few weeks ago) chain....
0
votes
1answer
26 views

how can i coding wallet to build exchange to client withdraw

i want to build a cryptocurrency exchange so my question how is best way and secure way to depositing and withdrawing clients ? should i use api like https://cryptoapis.io or https://www.blockcypher....
0
votes
0answers
27 views

Coinbase Pro - Volume Bought or Sold

Using the Coinbase Pro API, is there a way to get the volume of buys vs. the volume of sells for a given timeframe, not just the daily volume in total? Right now, all I can figure is doing a series ...
1
vote
0answers
13 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
votes
1answer
52 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
0answers
81 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 ...
0
votes
0answers
59 views

How do I request fund using coinbase api

Hi I am trying to use coinbase api in php.api implementation working fine, I can check balance, creat new address all this are working fine.But facing problem on request bitcoin. I am following ...
0
votes
1answer
217 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, ...
1
vote
0answers
25 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
votes
1answer
28 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
2answers
64 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?
1
vote
0answers
45 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, ...
0
votes
1answer
32 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 ...
1
vote
2answers
394 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
1answer
183 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
45 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....
0
votes
0answers
24 views

Any Cryptocurrency payment method api that creates only one wallet for each user?

I have question regarding payment gateway.For now I am using coinpayment api.It's creating always new address for user to make payment.I want only one wallet for each user and that user can make ...
0
votes
1answer
111 views

Bitcoin Testnet API that allows transaction lookup and submission of raw transactions

I'm looking for a well developed, maintained and stable API allowing to access bitcoin testnet. Something like Infura for Ethereum. Googling gives many results, but can somebody point me out what is ...
0
votes
1answer
45 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
1answer
133 views

How do I use an issued API key in my python 3 script to bypass the request limiter?

I got an API key from blockchain.info to bypass the request limiter, but I don't know how to use it and I can't find any relevant info online. url = "https://blockchain.info/rawblock/" + str(s) ...
0
votes
0answers
34 views

Sendmany unconfirmed coins (minconf = 0)

can somebody help me to figure out opportunities if bitcoind RPC. How to send unconfirmed coins? With RPC command 'sendmany' and param 'minconf = 0' for some reason not possible. But how to make this ...
1
vote
0answers
224 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
2 3 4 5
12