Support
Current and Historical values
API Call Counts
20 per API call.
API Plan
bronze
Get Triple Exponential Moving Average with 14-day period for BTCUSD from 2019-12-01 to 2020-01-27
https://www.cryptoquote.io/analytics/v1/?api=ta_tema&symbol=BTCUSD.gdax&start_date=2019-12-01&end_date=2020-01-27&price_field=close_price&period=14&key=your_api_key
The common/local symbol/ticker of the symbol
Example : BTCUSD
Start Date
Example : 2019-01-01
End Date
Example : 2019-01-01
The price field to use when calculating the technical indicators. Allowed values are;
open_price = Open Price
high_price = High Price
low_price = Low_price
close_price = Close Price
volume = Volume
Example : close_price
The Period value for the technical indicator e.g. 14 means 14-day period
Example : 14
The common/local symbol/ticker of the symbol
Type: string
The name of the symbol
Type: string
the exchange code e.g. gemini
Type: string
the exchange symbol pairs
Type: string
{
"status": "ok",
"total_records": 11,
"page_size": 11,
"current_page": 1,
"total_pages": 1,
"results": {
"symbol": "BTCUSD",
"symbol_name": "Bitcoin/US Dollar",
"exchange": "gemini",
"symbol_pair": "BTC/USD",
"technicals": [
{
"date": "2022-02-24",
"tema": 42026.936
},
{
"date": "2022-02-23",
"tema": 41253.038
},
{
"date": "2022-02-22",
"tema": 41158.572
},
{
"date": "2022-02-21",
"tema": 40564.328
},
{
"date": "2022-02-20",
"tema": 39866.183
},
{
"date": "2022-02-19",
"tema": 39413.143
},
{
"date": "2022-02-18",
"tema": 38738.956
},
{
"date": "2022-02-17",
"tema": 38525.21
},
{
"date": "2022-02-16",
"tema": 38530.386
},
{
"date": "2022-02-15",
"tema": 38571.676
},
{
"date": "2022-02-14",
"tema": 39117.155
}
]
}
}
Get Triple Exponential Moving Average with 14-day period for BTCUSD from 2019-12-01 to 2020-01-27
https://www.cryptoquote.io/analytics/v1/?api=ta_tema&symbol=BTCUSD.gdax&start_date=2019-12-01&end_date=2020-01-27&price_field=close_price&period=14&key=your_api_key
GET https://www.cryptoquote.io/analytics/v1/?api=ta_tema&symbol=BTCUSD.gdax&start_date=2019-12-01&end_date=2020-01-27&price_field=close_price&period=14&key=your_api_key
import requests r = requests.get("https://www.cryptoquote.io/analytics/v1/?api=ta_tema&symbol=BTCUSD.gdax&start_date=2019-12-01&end_date=2020-01-27&price_field=close_price&period=14&key=your_api_key") data = r.json() print(data)
var http = require('http'); var buffer = ''; var options = { host: 'https://www.cryptoquote.io/analytics/v1/?api=ta_tema&symbol=BTCUSD.gdax&start_date=2019-12-01&end_date=2020-01-27&price_field=close_price&period=14&key=your_api_key', port: 80, path: 'https://www.cryptoquote.io/analytics/v1/?api=ta_tema&symbol=BTCUSD.gdax&start_date=2019-12-01&end_date=2020-01-27&price_field=close_price&period=14&key=your_api_key', headers: headers }; callback = function(response) { response.on('data', function (chunk) { buffer += chunk; }); response.on('end', function () { // your code here if you want to use the results ! }); } var req = http.get(options, callback).end();
using (var client = new HttpClient()) { client.BaseAddress = new Uri("{$api_host}"); client.DefaultRequestHeaders.Clear(); //ADD Acept Header to tell the server what data type you want client.DefaultRequestHeaders.Accept.Add(new MediaTypeWithQualityHeaderValue("application/json")); //SET Parameters HttpResponseMessage response = await client.GetAsync("https://www.cryptoquote.io/analytics/v1/?api=ta_tema&symbol=BTCUSD.gdax&start_date=2019-12-01&end_date=2020-01-27&price_field=close_price&period=14&key=your_api_key"); if (response.IsSuccessStatusCode) { //Your custom response parser code } }
String uri = "https://www.cryptoquote.io/analytics/v1/?api=ta_tema&symbol=BTCUSD.gdax&start_date=2019-12-01&end_date=2020-01-27&price_field=close_price&period=14&key=your_api_key"; URL url = new URL(uri); HttpURLConnection connection = (HttpURLConnection) url.openConnection(); connection.setRequestMethod("GET"); connection.setRequestProperty("Accept", "application/json"); InputStream xml = connection.getInputStream();
install.packages("RCurl") install.packages("jsonlite")2 - Request the data:
library('RCurl') require('jsonlite') json <- getURL(URLencode('https://www.cryptoquote.io/analytics/v1/?api=ta_tema&symbol=BTCUSD.gdax&start_date=2019-12-01&end_date=2020-01-27&price_field=close_price&period=14&key=your_api_key')) obj <- fromJSON(json)
$url = 'https://www.cryptoquote.io/analytics/v1/?api=ta_tema&symbol=BTCUSD.gdax&start_date=2019-12-01&end_date=2020-01-27&price_field=close_price&period=14&key=your_api_key'; $handle = curl_init(); curl_setopt($handle, CURLOPT_URL, $url); curl_setopt($handle, CURLOPT_RETURNTRANSFER, true); $data = curl_exec($handle); curl_close($handle); //parse your data as per your needs....
var url = 'https://www.cryptoquote.io/analytics/v1/?api=ta_tema&symbol=BTCUSD.gdax&start_date=2019-12-01&end_date=2020-01-27&price_field=close_price&period=14&key=your_api_key'; $.ajax({ url: url, type: "GET", dataType: 'json' }).done(function (data) { console.log(data); });