Questions tagged [api]

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
1 answer
49 views

There's any open API to gather the blockNumber data?

Trying to create a scrip to convert wordpress posts/pages date and display it as blockNumber instead. For context, a similar question also posted on this stack. Do anyone knows if there's any open API ...
3 votes
1 answer
255 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 ...
0 votes
2 answers
683 views

Start and end parameters in historical price data request are ignored

I trying to do some testing on historical coinbase data. Because I can only get 300 datapoints per request. Im looping the request and change the start and end paramter to got backwards. My requests ...
0 votes
2 answers
1k views

Blockchain.info testnet websocket doesn't work

When I try to connect testnet websocket provided by blockchain.info api. Connection doesn't establish, when i looked into the code. It says for testnet it uses "wss://ws.testnet.blockchain.info/inv" ...
-1 votes
0 answers
17 views

How to POST using RobinHood Crypto API in Python?

I'm using the new RobinHood crypto API documented here: https://docs.robinhood.com/crypto/trading/#tag/Trading/operation/api_v1_post_crypto_trading_order I am successful with all GET endpoints, but ...
0 votes
1 answer
732 views

how to place a bitforex api buy order

I have read the documentation for BitForex on placing a buy order here: https://github.com/bitforexapi/API_Doc_en/wiki/Order Then after understanding that, I read the API Call Description ...
0 votes
1 answer
320 views

Bittrex API market history -- interpreting OrderType

The Bittrex API has a request to get the market history: https://bittrex.com/api/v1.1/public/getmarkethistory?market=BTC-DOGE which gives a response containing the following fields: "Id" "TimeStamp"...
3 votes
3 answers
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 ...
0 votes
2 answers
2k 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 ...
1 vote
1 answer
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....
0 votes
1 answer
391 views

Get wallet address when creating wallet with blockchain API

Using the API endpoint http://localhost:3000/api/v2/create I get this response: {"guid":"58671a54-7d60-4319-8742-b06fb2a8d060","address":"...
2 votes
3 answers
940 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?
1 vote
1 answer
107 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 ...
0 votes
1 answer
923 views

Signature for this request is not valid

im testing the binance api but cant get over the signature problem can u spot a mistake on my signature?: const crypted = CryptoJs.HmacSHA256("timestamp=" + new Date().getTime().toString() + "&...
2 votes
1 answer
467 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 ...
0 votes
1 answer
72 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?
0 votes
1 answer
360 views

Blockchain.info Payment API -> Callback gets a 302?

I want to integrate the Blockchain.info Payment API and everything works fine so far. The callback works and triggers the code on my server, if a payment comes in. But if I check the callback log of ...
0 votes
1 answer
506 views

testnet.blockchain.info api not showing latest results?

I sent a transaction to the testnet address mzWCWQU6phb9rKSAiQ4FBU92sGYtY7tjPH a few days ago and I have been using the testnet.blockchain.info api for a while now in my project. It was working fine ...
0 votes
2 answers
458 views

Bitcoin Transaction using API with Custom Fees

I want to transfer Bitcoin from one individual address to another using API. But I want to set Transaction fees as per my requirement. So How can I do it ? Right now I am using blockchain-transaction ...
0 votes
0 answers
26 views

REST API documentation

I'm trying to use REST api of bitcoin core, i can do basic things such as getting latest block, or getting a transaction detail. But I couldn't find detailed explanation of the REST API. I checked the ...
0 votes
1 answer
24 views

walletcreatefundedpsbt declined with "Transaction amount too small" but the input is definitely not dust [duplicate]

I am trying to walletcreatefundedpsbt for the amount of (roughly) 0.00045 BTC, which is around $30 USD right now on 7 Mar 2024, and definitely does not look like dust. But I'm getting "...
3 votes
1 answer
765 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 ...
3 votes
2 answers
494 views

How do I find out who sent me Bitcoin?

I'm working on creating a service where it will accept Bitcoins from a certain address and be able to manage the Bitcoin for that user. I'm using Coinbase APIs and I can't find a simple way to find ...
2 votes
1 answer
207 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
1 answer
388 views

Blockchain receive payments API Network propagation

I'm using the Blockchain API to generate an address to receive payments. I received a payment to a generated address, then Blockchain sends the received amount to the address I defined but that ...
2 votes
2 answers
149 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 ...
0 votes
1 answer
33 views

Bitcoin API for getting an input script?

I wanted to try talking to my bitcoin node to get the input scripts and put them into a database. Does anyone have good resources on where I can look to get started?
0 votes
3 answers
2k views

Historical Crypto Data [closed]

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
1 answer
45 views

How does bitcoin core API work locally (network) - bitcoinlib in python using too many web sockets

I'm trying to understand at a high level, the local network aspects of calling the bitcoin core api via bitcoinlib in python So the context around this question is that I wanted to work on some python ...
1 vote
2 answers
393 views

Getting multiple OHLCV candles with API with one request

i don't know if this is the right place to ask this, but i haven't found a proper one to do so, so here we go : I wanna get only the LAST OHLCV candle from multiple markets with the cryptocompare api ...
0 votes
1 answer
263 views

Blockchain endpoint working

I wanna clear this thing that how blocks are retrieved and created in from the nodes using an end point. The end point is basically centralized and have nothing to do with network if i'm not wrong. Is ...
6 votes
3 answers
17k views

Historical BTC data in JSON

As of now, the only API I can find that serves historical data is https://blockchain.info/charts/market-price?timespan=60days&format=json. It only uses USD, and I need to serve non-USD data. My ...
1 vote
1 answer
269 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
1 answer
76 views

blockchain.com websocket not working

I started to listen to the "wss://ws.blockchain.info/inv" websocket address in the link below, but none of the transactions I made were sent to the messages. Later, when I tried the ...
-1 votes
2 answers
886 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 votes
2 answers
3k views

Binance API Error Code: "code": -1022, "msg": "Signature for this request is not valid."

I have a problem with the Binance API. I use HTTP request from Integromat, but I always get the following error message: "code": -1022, "msg": "Signature for this request is ...
-1 votes
1 answer
668 views

Kucoin API buy and sell

Why, when I using Kucoin API, get_tick, for market info, I see, that sell is bigger than buy? Example from official API Documentation: With a symbol param { "coinType": "KCS", ...
2 votes
1 answer
4k views

Historic market data from Bitfinex

I am trying to use the Bitfinex API to get historic OHLC data. I have posted a simmilar question on the main Stack Overflow page: https://stackoverflow.com/questions/47107106/bitfinex-data-api but I ...
3 votes
2 answers
351 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 ...
4 votes
4 answers
5k views

How can I generate a bitcoin address?

Is there any way to generate bitcoin addresses other than the Blockchain API? (given the fact that it is not public)
0 votes
1 answer
86 views

What's the point of Multi Signature Addresses?

When an attacker has access to the private key of the wallet, he can dump the private keys of every address used for the multisign address(es). So, what's the point of multi sign addresses when there'...
0 votes
1 answer
201 views

Is there any online service/API to get the complete transaction in raw form?

Is there any online service or API that allows you to get the transaction in raw form, i.e. in "byte" format? I know it can be done through bitcoin core, however, I need some online service/...
1 vote
1 answer
501 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 votes
1 answer
2k views

How to send Bitcoin in the Testnet?

I'm using this library: https://github.com/lian/bitcoin-ruby And here's my code: require 'open-uri' require 'net/http' require 'net/https' require 'json' require 'bitcoin' Bitcoin.network = :...
1 vote
1 answer
48 views

Blockchain API not sending subscribed info

I'm having trouble receiving WebSocket messages for address-related events. Here is the code that I'm using (trackAddress gets called externally and I'm sure it sends the right thing). I also tried ...
1 vote
1 answer
101 views

Do Bitcore APIs have daily limits?

I can't find online if the bitcore API (https://github.com/bitpay/bitcore/blob/master/packages/bitcore-node/docs/api-documentation.md) has daily limits for making requests, or if there is a need to ...
0 votes
1 answer
191 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 ...
-3 votes
1 answer
119 views

Get balance and TXs [closed]

How to get balances and transactions of a Bitcoin address? - Devsuite
-1 votes
1 answer
187 views

Quantifying the long term costs associated with self hosting the Bitcoin node?

In this question I discussed the option of self hosting the Bitcoin node vs. using 3rd party services with API access. I quoted a colleague who said that "for every coin we wish to support, we ...
1 vote
3 answers
1k 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
2 3 4 5
14