xxxxxxxxxx
const https = require('https');
var options = {
"method": "GET",
"hostname": "rest.coinapi.io",
"path": "/v1/exchanges",
"headers": {'X-CoinAPI-Key': '73034021-THIS-IS-SAMPLE-KEY'}
};
var request = https.request(options, function (response) {
var chunks = [];
response.on("data", function (chunk) {
chunks.push(chunk);
});
});
request.end();
xxxxxxxxxx
X-RateLimit-Limit: 1000000
X-RateLimit-Remaining: 999989
X-RateLimit-Request-Cost: 1
X-RateLimit-Reset: 2018-01-22T15:25:15.1234567Z