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
1answer
24 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 ...
1
vote
1answer
519 views

Coinbase Pro historical data not working

I'm trying to pull historic data from the Coinbase Pro api using Python with the cbpro package. For some reason I either hit an error, or can only pull data from the last 350 days. If I run the ...
2
votes
1answer
110 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/...
1
vote
1answer
325 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 ...
0
votes
4answers
8k views

How to get the list of transactions of input/outputs for a bitcoin address in JSON format?

Is there an example of how to get all the transaction data for a bitcoin address in json format?
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
2answers
637 views

Just-Dice or some other Gambling API?

Is there a gambling site where they expose an API for it? I want to build an application that leverages a crypto/bitcoin gambling site's bank roll. Just-dice seems to have the biggest bank roll to ...
1
vote
1answer
36 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
25 views

Implement Bitcoin on my platform?

I want users to deposit/withdraw funds from my platform. All deposits should go to my cold wallet and withdrawals will be done manually. Users have to buy/sell services inside my platform, but the ...
0
votes
0answers
19 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
350 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
1answer
43 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
31 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
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 '...
0
votes
0answers
35 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
99 views

Coimarketcap api data different from coinmarketcap.com

I am using popular Coinmarketcap API request: https://pro-api.coinmarketcap.com/v1/cryptocurrency/listings/latest?limit=100&convert=ETH In response percentChangeFor24h and some other parameters ...
1
vote
1answer
30 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
57 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
25 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
15 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
35 views

Does anyone know any APIs that provide Tether data?

I am interested in Tether data such as total volume, new issuing of Tether etc. Does anyone know any paid or free API (preferably free) where I could get this data?
0
votes
1answer
27 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 ...
2
votes
1answer
120 views

What is QuoteAssetVolume and BaseAssetVolume?

This is a JSON result for a candle returned by an exchange API for ETHBTC: { openTime: 1517340600000, open: '0.10635000', high: '0.10742000', low: '0.10635000', close: '0.10687200', volume: ...
0
votes
1answer
31 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
20 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, (...
0
votes
2answers
2k views

binance advanced indicator api

I know how to extract basic info like bid/ask/open/close prices on binance, but on advanced trading charts on binance I see more price indicators like EMA and I dont want to compute them from price ...
0
votes
0answers
26 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
16 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
18 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
1answer
276 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
1answer
59 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 ...
1
vote
2answers
152 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! ...
2
votes
2answers
136 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.
0
votes
1answer
774 views

BTC Hash-Rate API

I'd like to get hash-rate of BTC from OKcoin' API(GET /api/v1/charts/:type) here is OKCoin's API web site. How can I get information from here is OKCoin's API web site. python gets = requests.get("...
6
votes
4answers
4k views

List of blockchain explorer APIs?

I'm gathering a list of Bitcoin / Blockchain APIs. I mean web (REST) APIs that allow you to do basic blockchain queries through http(s) API calls, such as: getting the balance on an address, getting a ...
0
votes
1answer
157 views

Bitcoin Pro API - How do you format start/end time for Historic Data?

I don't understand how to format the start and end time per https://docs.pro.coinbase.com/#get-historic-rates The sample time is "1415398768" which makes no intuitive sense to me, and when I tried ...
0
votes
1answer
229 views

Blockchain Receive API - custom Parameters

I am trying to get variables back from the callback URL, but I can't figure out how to add custom parameters correctly. This is how I have them written right now: $newAddy = json_decode(...
0
votes
1answer
103 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
1answer
27 views

From an app development and API point of view, are there other cryptocurrencies which are the same as bitcoin?

I would guess that some other coins copied bitcoin source code or design. The crux is if you develop applications for bitcoin (using the various apis, will they work with any other coins with just ...
0
votes
1answer
245 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"...
0
votes
2answers
2k views

Simple Address check via API

So I have a wallet with thousands of addresses, I want to know how can I check the blockchain whether or not a transaction has been made to one(or another) of the addresses?
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 ...
0
votes
1answer
326 views

Kucoin API buy and sell

Why, when I using Kucoin API, get_tick, for market info, I see, that sell is bigger buy? Example from oficcial API Documentation: With a symbol param { "coinType": "KCS", "trading": true, ...
2
votes
1answer
209 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 ...
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....
0
votes
1answer
348 views

Shorts, longs BTC data

I am trying to use the Bitfinex API to get historic shorts,longs BTC/USD data.So, the Bitfinex gives size data with Available values: '1m', this equals last 2 hours, i need last two month at least. ...
0
votes
1answer
298 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":"...
1
vote
3answers
3k views

How to get the historical data from bitfinex.com with out a limit?

I am drawing a chart using the data pulled from bitfinex.com via a simple API query. As the result, i will need to render a chart which is going to show the historical data of BTCUSD for the past two ...
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 ...
0
votes
1answer
1k 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 = :...