Bitcoin Forum
July 12, 2024, 12:05:57 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: About Exchanges API  (Read 180 times)
BT TESTING (OP)
Newbie
*
Offline Offline

Activity: 1
Merit: 0


View Profile
November 17, 2016, 09:54:16 PM
 #1

Hi!

Anyone know any API that offers all pairs from all exchanges from Bitcoin and altcoins?

Thanks in advance !  Cheesy
mobnepal
Legendary
*
Offline Offline

Activity: 1218
Merit: 1006


View Profile
November 18, 2016, 05:58:29 AM
 #2

You have to use api from individual trading platform and i don't think there is any api which support multiple exchange platforms other than few bots so hard to trust them.

You can check individual exchange api of poloniex and bittrex which support both bitcoin and altcoin trading
https://poloniex.com/support/api/
https://bittrex.com/Home/Api
MadGamer
Legendary
*
Offline Offline

Activity: 1568
Merit: 1031


View Profile
November 18, 2016, 08:48:00 AM
 #3

I'm not sure If I got your request right but If you are looking to gather information's about different altcoins and Bitcoin  like Marketcap , supply , trading moves etc... then coinmarketcap API should be a great choice.
CryptoDatabase
Legendary
*
Offline Offline

Activity: 1596
Merit: 1003


https://cryptodatabase.net


View Profile WWW
November 18, 2016, 08:54:21 AM
 #4

http://cryptocoincharts.info has an easy to use API that pulls info from 50+ exchanges and displays trading data for hundreds of coins.

Code:
<?php
$pair
="btc_usd";
$curl=curl_init();
curl_setopt($curlCURLOPT_URL"http://api.cryptocoincharts.info/tradingPair/".$pair);
curl_setopt($curlCURLOPT_RETURNTRANSFERtrue);
$rawData=curl_exec($curl);
curl_close($curl);
$data=json_decode($rawData);
$btcprice=$data->price;
echo 
$btcprice;
?>
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!