BTC/USD:  1 hour: -0.53% | 2 hours: -0.47% | 6 hours: -0.51% | 12 hours: +3.52% | 24 hours: +3.82%
Coinbase

API

Note: Using the API interface only allowed for ONE user per key. If you use it with your self coded bot, please read YOURTRADINGBOT first.

Overview

MiningHamster provides a simple and powerful REST API to allow you to get the latest signal from our web interface. All requests use the application/json content type. The base url is https://mininghamster.com/api/v2/. All requests are GET requests and all responses come in a default response object.

Getting started

In the spirit of keeping things simple, we offer an easy to manage your API Key authentication method. Note, you MUST have an API-Key to get the latest signal.

$apikey='API_KEY'; 
$uri='https://www.mininghamster.com/api/v2/$apikey; 
$sign=hash_hmac('sha512',$uri,$apikey); 
$ch = curl_init($uri); 
curl_setopt($ch, CURLOPT_HTTPHEADER, array('apisign:'.$sign)); 
$execResult = curl_exec($ch); 
$obj = json_decode($execResult);

Deprecating

https://www.mininghamster.com/output/getsignal.php?key=API_KEY

Demo Key

Developers can test a random output signal which change every 30 minutes.

https://www.mininghamster.com/api/v2/288b2113-28ac-4b14-801f-f4d9cf9d87ad

Preview json request

0:	
market	"BTC-INCNT"
lastprice	"0.00004818"
signalmode	"RISE"
exchange	"bittrex"
basevolume	68.24788553
time	"2017-12-31 11:52:01"

market the market where the signal appeared
lastprice signalprice to buy
signalmode the mode for signalcalculation: Different modes
exchange the exchange where the signal appeared. You can select your exchange output in your settings.
basevolume the basevolume of the market in BTC
time current time of the signal (CET)

API options

Optionally, you can make the following settings in your profile.