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 vote
1 answer
28 views

order of the details array in the output of the gettransaction wallet API call

According to https://developer.bitcoin.org/reference/rpc/gettransaction.html the details array contains a list of the outputs of that transaction. Each output has a vout. So in my tests, it seems that ...
  • 13
0 votes
0 answers
36 views

How to fetch BTC price data using UNIX timestamp as accurately as possible?

I am trying to fetch BTC historical data using a UNIX timestamp. I am looking for data accurate to 1 minutes interval at least. Is there an API that provide this? Cryptocompare provides this facility ...
  • 101
0 votes
0 answers
16 views

Connecting to lightning node on BTCPayServer

I am trying to access my lightning node, part of a BTCPayServer instance via REST api but not getting any response from it. I am running this type of python script on the VPS https://api.lightning....
1 vote
3 answers
341 views

How to retrieve total BTC held in Ledger wallet

I'm new to Ledger. As a software engineer, I'd like to write my own app (for my own personal use) that is sort of like a more basic version of Ledger Live. I want to show my balances on my own private ...
  • 143
0 votes
0 answers
45 views

How to check the number of BTC sent from one address to another via API?

I need to count the number of sent coins from an address to another address. I found this API https://blockchain.info/rawaddr, is it enough for me, using this method, to simply calculate the "...
  • 101
0 votes
1 answer
109 views

Check public address balance

I am willing to write Python script to check for some public addresses balances. I understand that I need to access API of known exchanges (Coinbase, Binance). I also know that there will be limit of ...
  • 113
1 vote
0 answers
32 views

CLI Tool or API for btc address generation given a xpub

I'd like to script a short tool on the commandline. Therefore I need all used addresses of my wallets derived from a given xpubs. Don't like to implement it by myself. Is there an already implemented ...
  • 153
0 votes
0 answers
30 views

How can people buy bitcoin for me

i have a website where people can pay me money but cryptocurrency isn't widely in my country, so if people want to pay they must pay with normal currency. Is there any service i can use so that people ...
0 votes
0 answers
42 views

LND Rest API in Django

Looking for some help here. I am trying to create a Django Rest API for payments using an LND node. I am following the documentation of the Lnd REST API (https://api.lightning.community/#v1-balance-...
0 votes
1 answer
39 views

How much does it cost to depend a transaction to another one?

How I can depend on a transaction to an unconfirmed transaction? How much does it cost? Do I need to use a specific API or application? Thank you
  • 89
0 votes
0 answers
24 views

How to check whether an amount has been received in an address using the wallet API

I am making bitcoin payment plugin for my website. I used the Coinbase API to get the amount of Bitcoin for the payment, I have completed creating and displaying a new Bitcoin address using the wallet ...
0 votes
1 answer
53 views

Does the libsecp256k1 API expose low level functionality such as group algebra? If not why not?

Does the libsecp256k1 API expose low level functionality such as group algebra (e.g. generator point, point at infinity)? If not, why not? This was asked by ProofOfKeags in this libsecp256k1 issue. ...
0 votes
0 answers
38 views

API with no verification for crypto wallet?

I have this p2p exchange script: https://codecanyon.net/item/localcoins-ultimate-peer-to-peer-crypto-exchange-platform/34781557# A guy told me that when he bought it himself a few weeks ago, he had to ...
0 votes
1 answer
82 views

How can I create/provide crypto currency wallets to my users?

I am interested to know, if I want to make a facility to my website users to be able to pay/buy with crypto currencies, also to gain ability to send/receive crypto currencies together( something like ...
  • 101
0 votes
1 answer
43 views

how can I get the fee percentage on buying or selling a specific amount of bitcoin at any time?

so im noob on all of this so bare with me. im trying to test the possible net revenue of a trading algorithm/bot, but i dont trust it enough to test it with real money, so im going to simulate how ...
1 vote
1 answer
85 views

What are bitcoin Pool APIs?

I contacted a website and asked them where they get their data for crypto like Bitcoin, as I am trying to find the place for the most up to date and reliable data on Bitcoin and other crypto. They had ...
  • 53
1 vote
0 answers
47 views

Buy Bitcoin with NBitcoin c# Web App

I have been using the NBitcoin lib with c# to create a Bitcoin wallet app. I have pretty much sorted out the creation of the wallet and everything that this entails. What I need some help with is on ...
0 votes
0 answers
50 views

multi currency crypto wallet with API

It's need Linux (Ubuntu) multi currency crypto wallet with API or command line interface to create address, make send and get information when crypto incomming. Is anyone can advice some reliable ...
0 votes
0 answers
66 views

Why Binance has BTCUSDT but not BTCUSD?

For BTCUSDT I got feed from Binance API, but not for BTCUSD. USDT is different from USD, right? Then why USD does not exist?
  • 388
0 votes
0 answers
41 views

what are exchanges that use binance or other exchanges called?

There are some exchanges that don't have their own market and use other exchanges (binance, .... ) API to fill their users orders, and charge a little more fee and that's how they make profit out of ...
1 vote
1 answer
63 views

Where do you get work and submit solutions?

is it possible to get bitcoins using your own custom code? Is it possible to get a hash somewhere, come up with a solution on my own, and then submit the solution somewhere? I just thought the puzzle ...
  • 113
1 vote
1 answer
175 views

How can I get all transactions into and out of a bitcoin address in JSON format?

For example if I use https://blockchain.info/rawaddr/$bitcoin_address, it shows only the first 100 txs. How can I get all transactions if the number of txs is greater than 100?
1 vote
1 answer
427 views

Get transactions for address

I develop an application (BitBook, https://github.com/C-Otto/BitBook) that helps users track their coins. For this, whenever I reason about some address, I need to consider all transactions that take ...
  • 335
1 vote
1 answer
83 views

How is the secp256k1 API defined? In what ways is it restricted?

I'm familiar with proprietary APIs where a third party decides what data and functionality is available to developers communicating with their server. However, secp256k1 is an open source ...
0 votes
2 answers
181 views

Unable to "sendcoins" using bitgo express apis - Windows OS

I am building an ASP.Net project (C# - .Net 4.8 - windows os - visual studio 2015). I want to send bitcoin from one address in my wallet to another for test. Trying to access api url : https://test....
0 votes
1 answer
50 views

Is bitgo.com api ok for bitcoin payment? What are limitations?

I want to use https://www.bitgo.com api for my bitcoin payment. My Questions : Is this api working at this time? Is this api free? What are limitations about using this api? EDIT : I have 1000 ...
1 vote
1 answer
76 views

What is the flow of buying crypto on behalf of users?

I am building a crypto on-ramp for users in emerging markets that allows users to buy crypto via debit/credit cards, mobile money, etc. What is the flow of buying crypto on behalf of users? From ...
0 votes
2 answers
73 views

Given a tx hash, is it possible to know if it's someone selling or buying bitcoin?

I'm working on a project that involves identifying sales and purchases in the Blockchain. Is there any way to do this with the blockchain.com API?
1 vote
0 answers
151 views

Can't query own node

I'm trying different ways to query my own bitcoind node on testnet but I'm failing every time. Tried using bitcore's API and nodejs: async function tryBitcoin() { const data = await axios.get('...
  • 123
0 votes
2 answers
65 views

Are filters available for Blockchain.com APIs?

I'm trying to get the block details of Bitcoin using block height. The API provided on the "blockchain.com" website also dumps the huge transaction list along with the response. Is there a ...
1 vote
0 answers
55 views

blockchain.com api | How generate "Legacy" & "Nested SegWit" & "Native SegWit" addresses for receive separately?

Please check out this link : https://www.blockchain.com/api/api_receive As you see we can generate receiving addresses for our customers using this api. My question is what is the type of that ...
1 vote
1 answer
225 views

Default derivation path in Trezor Suite desktop app

This seems like a silly question but I could not find an answer after searching extensively. I currently have a Trezor Model One device that I'm accessing through both the Trezor Suite desktop app on ...
0 votes
1 answer
132 views

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

Suppose I want to obtain the block hashes for all Bitcoin blocks numbered 1 through 50,000. What would be the best way to obtain this information? I could write a web scraper to pull it off web-based ...
  • 101
0 votes
1 answer
53 views

Can a full node measure bandwidth to and from its peers?

For example, can I run a full node, connect to some 8 peers, and measure my uplink and downlink bandwidth to each of my peers?
  • 139
2 votes
2 answers
238 views

Bitcoin-cli responding but not curl

According to the bitcoin documentation I can make curl calls to my bitcoin node. However, whenever I run a curl command like the following (as per the docs): curl --data-binary '{"jsonrpc": &...
0 votes
2 answers
98 views

Why in old blocks I can't see the miner address using RPC API calls?

So, I'm using Bitcoin Core RPC client version v22.0.0 and Bitcoin Core version v22.0.0. To get the block with height 1, I call the API like this: bitcoin-cli -datadir=/Users/dennis/Bitcoin getblock \ ...
0 votes
2 answers
382 views

Error 400 when pushing tx hex to mempool.space's API

I am using the code syntax provided by mempool.space for a POST transaction request from their website here: https://mempool.space/api const mempoolJS = require("@mempool/mempool.js") const ...
1 vote
1 answer
490 views

How to set up a listener on an address, and trigger events upon receiving transaction?

I have a task where I need to set up some sort of a listener on a particular bitcoin addresses for incoming transactions, and once a transaction arrives, I need to call some function in my web service....
2 votes
1 answer
767 views

How can I retrieve all transactions for an address using the blockchain API?

Tell me how to interact with https://www.blockchain.com/. 1). I need to withdraw all transactions from the address, my code outputs transactions only for the last day? 2). How do I add additional ...
  • 23
0 votes
1 answer
83 views

What are some different ways to retrieve btc transaction information of an address using bitcoinjs?

What are some different ways to retrieve btc transaction information of an address using bitcoinjs? I've tried using the syntax from this page (https://github.com/bitcoinjs/bitcoinjs-lib/blob/master/...
0 votes
1 answer
498 views

How can I get RawTX transactions?

I used to be able to get RawTX transactions on the Blockchain using the link: https://blockchain.info/tx/60183ab915f2f4b0190605f98bd0e9f8eafe13a1c902b3ae87ecd0dfc8a599a0?format=hex But the site ...
0 votes
1 answer
84 views

How do I use Bitcoin Core (fully synced) to "backtrack" a receive address?

I'm trying to "reverse-track" my current Bitcoin wallet to see its exact history on the blockchain, backwards. I have a fully synced Bitcoin Core installed. What command do I use in its ...
  • 1
0 votes
0 answers
25 views

How can i list all transcation of bitcoin using API.. I need all transcations and current transactions of coin( e.g bitcoin) [duplicate]

How can i list all transaction of bitcoin using API.. I need all transactions and current transactions of coin( e.g bitcoin) I need APIs that can give me all transaction related data of particular ...
0 votes
1 answer
71 views

Fuzzing descriptor wallet RPCs

Is SQL injection a possibility while using JSON-RPC and Descriptor wallet RPCs? Consider one parameter in some descriptor wallet RPC is vulnerable and returns some data with SQL queries that shouldn't ...
user avatar
0 votes
1 answer
150 views

Python code error : Hash greater than Target

While trying to run a reference code from GitHUb i am getting an error "Cannot Mine-Hash is greater than Target". As i am just a beginner with coding i am not able to figure this out. Kindly ...
  • 1
0 votes
2 answers
141 views

How do APIs know Bitcoin transaction and wallet types?

I am working on a university project, and I noticed that paid crypto APIs like Whale Alert or Whale Trace return information about transaction types (like exchange), sender and receiver wallets (like ...
1 vote
1 answer
136 views

How to find the secp256k1 api?

I want to use the secp256k1 library https://github.com/bitcoin-core/secp256k1 (or, more specifically I want to use the python wrapper https://github.com/electrumsv/electrumsv-secp256k1). I have a ...
  • 11
0 votes
0 answers
325 views

What is the rate limit of the Esplora instance blockstream.info

Blockstream.info provides a free API, for example: https://blockstream.info/testnet/api/tx/d4b1add055db58343500157a6525a73ceb9c8850f0fb435f1f60071e8cad6540 I would like to know what the rate limit for ...
  • 10k
0 votes
2 answers
290 views

How could I make my own API to query the blockchain

I'm looking to access transaction history for some specific coins directly from the blockchain. The main reason is that most of current API are not free or don't provide information for the coins I ...
  • 101
0 votes
1 answer
419 views

How can I pull the "Candles" argument from the Huobi websocket data?

I've a problem with Huobi Websocket, I know my ways in REST API but new to asyncio and websockets, and Huobi only gives resonable amount of history through websocket request so I'm stuck with it. I'm ...

1
2 3 4 5
14