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

how to create many btc wallet via api? which api or service you suggest?

i want to create a btc wallet for each user and manage their accounts and etc... in the web environment or anywhere which is possible to connect to web and browser. which api or service you suggest to ...
0
votes
0answers
15 views

Issue validating message with bitcoinjs-message module

I am building a private blockchain in node.js to practice the concepts and coding of blockchain technology. To add a block with data, the user requests a message to be signed by sending his/her ...
0
votes
2answers
34 views

How can I build my own get address transactions API?

I want to build an API to query an arbitrary bitcoin address for received transactions. The address is not necessarily associated with my wallet. Is this possible using the commands in bitcoin-cli? I ...
3
votes
2answers
39 views

In Electrum, how does one watch/poll a wallet for an incoming payments to a certain address via API?

I want to create a simple way to accepting bitcoins on my own, using Electrum. I don't except big volume. I suppose, I'd have at most a handful of incoming payments in the beginning. That is, I ...
2
votes
1answer
31 views

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

I'm planning to use https://www.blockchain.com/api, precisely single block https://www.blockchain.com/api/blockchain_api for testing purposes on my script. I noticed there this line on the the API ...
0
votes
2answers
48 views

library for validating bitcoin private and public keys

I am building a python script that gets a string and determines if it is a valid bitcoin private key or public key, and if so it returns its type/format (base58, BIP32, HexaDecimal etc.) and its ...
0
votes
1answer
71 views

API for top bitcoin addresses sorted by available balance [closed]

Is there any API from where I can get the list of top bitcoin addresses sorted by available balance? I know there are many websites out there listing Bitcoin rich list but I need an API.
-1
votes
3answers
40 views

How to deal with situations when the buyer tries to gain the system? (online shop with price in fiat, BTC payments also possible)

I'm a developer. I have a custom online store, with code I wrote myself, where I sell products in fiat money. I plan to introduce payments in bitcoin. Issue: the customer may try to gain the system by ...
3
votes
1answer
243 views

I need to make large number of queries to different addresses every few minutes for my bitcoin application. What service?

I have an application that needs to makes queries to get account balances and transaction data from Bitcoin and other cryptocurrencies. Many of the free ones have a rate limit. I'm willing to pay for ...
0
votes
1answer
35 views

How to know Block height when a transaction entered Mempool?

I'm hosting a Listening Bitcoin Node in Capital of Pakistan. I want to know the Block height when Transaction entered the mempool. Right now I'm using the time from the Json format of the Transaction ...
0
votes
0answers
19 views

Bitcoin Core GUI gettransaction implementation

The cli users have the option to "getrawtransaction txid true" in order to find valuable information about a transaction that could be theirs. This is a very powerful api call that effectively ...
2
votes
0answers
40 views

API for raw Bitcoin latest block data?

I would like to get the full raw data on the latest bitcoin block. I was hoping I could get this from an API. I looked at blockchain.com's API's but these don't seem to provide the full data for each ...
1
vote
0answers
23 views

Authentication error with Blockchain Wallet API [closed]

I successfully integrated the blockchain-wallet-api into an application which is currently on production. The challenge I'm having is that even though I was able to disable email login authentication ...
0
votes
0answers
26 views

How to get utxo for address on testnet using python?

Pybitcointools is deprecated unfortunately and other Python libraries don't really work. Do you know any APIs that serve UTXOs for an address?
0
votes
1answer
127 views

Check wallet address balance programmatically in PHP using Blockchain wallet api

I'm tyring to fetch my wallet balance programmatically using the Blockchain wallet api. Currently I was expecting that a simple api call to https:/blockchain.info/merchant/$my_guid/balance?password=$...
1
vote
0answers
36 views

Bow to know how much amount my wallet sent with Bticoin-core API

I have updated bitcoin-core from version 0.16 to 0.17 and found that there is no way to see how much amount I sent only (excluding received amount) from my wallet. With bitcoin-core version 0.16, I ...
0
votes
0answers
21 views

How can i import a btc wallet into blockchain api v2

Hello I will use the bitcoin wallet api v2 to make payment from my website. My problem is i need to import my electrum wallet into blockchain wallet api v2, in the documentation i see that can be ...
0
votes
1answer
31 views

JSON with price AND daily change? [closed]

May be someone could point me towards a public API with Bitcoin price AND 24h change? Like $7'602 +2.3%? All APIs I've found (like coindesk's) only contain price, not change :(
1
vote
2answers
90 views

How can you create a transaction with multiple inputs from the Blockcypher API?

For example, I have two addresses and each of them has received 1 BTC. Now, I want to transfer 1.5 BTC to another address. How can I achieve this using the Blockcypher create transaction API?
1
vote
0answers
40 views

Getting mass addresses current balance

How can i get the current balance of massive addresses? I'm getting address balances now on blockchain.info but I need to check about 1000 of addresses in one minute. The issue is that they blocking ...
0
votes
1answer
63 views

Is there such a service as an unlimited Bitcoin wallet with an API?

Well, I did tons of research and currently I'm using bitcoinlib for python to have a wallet which should be able to hold over one million addresses and occassionally broadcast transactions. It has ...
0
votes
1answer
30 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 ...
1
vote
1answer
105 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
27 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
41 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 ...
3
votes
1answer
91 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
155 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
34 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
65 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
87 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
112 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
43 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
196 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 ...
2
votes
1answer
174 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
77 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
25 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
73 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
91 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
37 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
96 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
44 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
24 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
137 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
65 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
44 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
40 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
58 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
34 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
35 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....

1
2 3 4 5
12