CryptoTerminal.io REST API

Authorization

All requests must contain an Authorization header. The value must have the access token in the following pattern - Bearer {access-token}

Key Value
Authorization Bearer [KEY PROVIDED TO YOU BY OUR CRYPTO TERMINAL TEAM]

An example curl request:

curl -X GET "https://app.cryptoterminal.io/api/v1/alert?period=&importance=&toDate=" -H "Authorization: Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImp0aSI6IjRmZDUxMWI3OTM1MTM3YmVmOGYzMDZ"

Alerts

getAlerts

Get alerts without any filter (15 per request)

Information to get more alerts will be included in response object


/alert

Usage and SDK Samples

curl -X GET "https://app.cryptoterminal.io/api/v1/alert?period=&importance=&toDate=" -H "Authorization: Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImp0aSI6IjRmZDUxMWI3OTM1MTM3YmVmOGYzMDZ"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.AlertsApi;

import java.io.File;
import java.util.*;

public class AlertsApiExample {

    public static void main(String[] args) {
        
        AlertsApi apiInstance = new AlertsApi();
        String period = period_example; // String | possible accepted period values
        String importance = importance_example; // String | possible accepted importance values
        String toDate = toDate_example; // String | filter by date. Accepted format example 2018-09-01T12:00:00
        try {
            apiInstance.getAlerts(period, importance, toDate);
        } catch (ApiException e) {
            System.err.println("Exception when calling AlertsApi#getAlerts");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.AlertsApi;

public class AlertsApiExample {

    public static void main(String[] args) {
        AlertsApi apiInstance = new AlertsApi();
        String period = period_example; // String | possible accepted period values
        String importance = importance_example; // String | possible accepted importance values
        String toDate = toDate_example; // String | filter by date. Accepted format example 2018-09-01T12:00:00
        try {
            apiInstance.getAlerts(period, importance, toDate);
        } catch (ApiException e) {
            System.err.println("Exception when calling AlertsApi#getAlerts");
            e.printStackTrace();
        }
    }
}
String *period = period_example; // possible accepted period values (optional)
String *importance = importance_example; // possible accepted importance values (optional)
String *toDate = toDate_example; // filter by date. Accepted format example 2018-09-01T12:00:00 (optional)

AlertsApi *apiInstance = [[AlertsApi alloc] init];

// Get alerts without any filter (15 per request)
[apiInstance getAlertsWith:period
    importance:importance
    toDate:toDate
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var Cryptoterminalio = require('cryptoterminalio');

var api = new Cryptoterminalio.AlertsApi()

var opts = { 
  'period': period_example, // {String} possible accepted period values
  'importance': importance_example, // {String} possible accepted importance values
  'toDate': toDate_example // {String} filter by date. Accepted format example 2018-09-01T12:00:00
};

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.getAlerts(opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class getAlertsExample
    {
        public void main()
        {
            
            var apiInstance = new AlertsApi();
            var period = period_example;  // String | possible accepted period values (optional) 
            var importance = importance_example;  // String | possible accepted importance values (optional) 
            var toDate = toDate_example;  // String | filter by date. Accepted format example 2018-09-01T12:00:00 (optional) 

            try
            {
                // Get alerts without any filter (15 per request)
                apiInstance.getAlerts(period, importance, toDate);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling AlertsApi.getAlerts: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\AlertsApi();
$period = period_example; // String | possible accepted period values
$importance = importance_example; // String | possible accepted importance values
$toDate = toDate_example; // String | filter by date. Accepted format example 2018-09-01T12:00:00

try {
    $api_instance->getAlerts($period, $importance, $toDate);
} catch (Exception $e) {
    echo 'Exception when calling AlertsApi->getAlerts: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::AlertsApi;

my $api_instance = WWW::SwaggerClient::AlertsApi->new();
my $period = period_example; # String | possible accepted period values
my $importance = importance_example; # String | possible accepted importance values
my $toDate = toDate_example; # String | filter by date. Accepted format example 2018-09-01T12:00:00

eval { 
    $api_instance->getAlerts(period => $period, importance => $importance, toDate => $toDate);
};
if ($@) {
    warn "Exception when calling AlertsApi->getAlerts: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = swagger_client.AlertsApi()
period = period_example # String | possible accepted period values (optional)
importance = importance_example # String | possible accepted importance values (optional)
toDate = toDate_example # String | filter by date. Accepted format example 2018-09-01T12:00:00 (optional)

try: 
    # Get alerts without any filter (15 per request)
    api_instance.get_alerts(period=period, importance=importance, toDate=toDate)
except ApiException as e:
    print("Exception when calling AlertsApi->getAlerts: %s\n" % e)

Parameters

Query parameters
Name Description
period
String
possible accepted period values
importance
String
possible accepted importance values
toDate
String
filter by date. Accepted format example 2018-09-01T12:00:00

Responses

Status: 200 - successful operation

Status: 500 - server error


getAlertsByCoin

filter alerts by coin


/alert/coin/{coin}

Usage and SDK Samples

curl -X GET "https://app.cryptoterminal.io/api/v1/alert/coin/{coin}?period=&importance=&toDate="
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.AlertsApi;

import java.io.File;
import java.util.*;

public class AlertsApiExample {

    public static void main(String[] args) {
        
        AlertsApi apiInstance = new AlertsApi();
        String coin = coin_example; // String | coin name
        String period = period_example; // String | possible accepted period values
        String importance = importance_example; // String | possible accepted importance values
        String toDate = toDate_example; // String | filter by date. Accepted format example 2018-09-01T12:00:00
        try {
            apiInstance.getAlertsByCoin(coin, period, importance, toDate);
        } catch (ApiException e) {
            System.err.println("Exception when calling AlertsApi#getAlertsByCoin");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.AlertsApi;

public class AlertsApiExample {

    public static void main(String[] args) {
        AlertsApi apiInstance = new AlertsApi();
        String coin = coin_example; // String | coin name
        String period = period_example; // String | possible accepted period values
        String importance = importance_example; // String | possible accepted importance values
        String toDate = toDate_example; // String | filter by date. Accepted format example 2018-09-01T12:00:00
        try {
            apiInstance.getAlertsByCoin(coin, period, importance, toDate);
        } catch (ApiException e) {
            System.err.println("Exception when calling AlertsApi#getAlertsByCoin");
            e.printStackTrace();
        }
    }
}
String *coin = coin_example; // coin name
String *period = period_example; // possible accepted period values (optional)
String *importance = importance_example; // possible accepted importance values (optional)
String *toDate = toDate_example; // filter by date. Accepted format example 2018-09-01T12:00:00 (optional)

AlertsApi *apiInstance = [[AlertsApi alloc] init];

// filter alerts by coin
[apiInstance getAlertsByCoinWith:coin
    period:period
    importance:importance
    toDate:toDate
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var Cryptoterminalio = require('cryptoterminalio');

var api = new Cryptoterminalio.AlertsApi()

var coin = coin_example; // {String} coin name

var opts = { 
  'period': period_example, // {String} possible accepted period values
  'importance': importance_example, // {String} possible accepted importance values
  'toDate': toDate_example // {String} filter by date. Accepted format example 2018-09-01T12:00:00
};

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.getAlertsByCoin(coin, opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class getAlertsByCoinExample
    {
        public void main()
        {
            
            var apiInstance = new AlertsApi();
            var coin = coin_example;  // String | coin name
            var period = period_example;  // String | possible accepted period values (optional) 
            var importance = importance_example;  // String | possible accepted importance values (optional) 
            var toDate = toDate_example;  // String | filter by date. Accepted format example 2018-09-01T12:00:00 (optional) 

            try
            {
                // filter alerts by coin
                apiInstance.getAlertsByCoin(coin, period, importance, toDate);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling AlertsApi.getAlertsByCoin: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\AlertsApi();
$coin = coin_example; // String | coin name
$period = period_example; // String | possible accepted period values
$importance = importance_example; // String | possible accepted importance values
$toDate = toDate_example; // String | filter by date. Accepted format example 2018-09-01T12:00:00

try {
    $api_instance->getAlertsByCoin($coin, $period, $importance, $toDate);
} catch (Exception $e) {
    echo 'Exception when calling AlertsApi->getAlertsByCoin: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::AlertsApi;

my $api_instance = WWW::SwaggerClient::AlertsApi->new();
my $coin = coin_example; # String | coin name
my $period = period_example; # String | possible accepted period values
my $importance = importance_example; # String | possible accepted importance values
my $toDate = toDate_example; # String | filter by date. Accepted format example 2018-09-01T12:00:00

eval { 
    $api_instance->getAlertsByCoin(coin => $coin, period => $period, importance => $importance, toDate => $toDate);
};
if ($@) {
    warn "Exception when calling AlertsApi->getAlertsByCoin: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = swagger_client.AlertsApi()
coin = coin_example # String | coin name
period = period_example # String | possible accepted period values (optional)
importance = importance_example # String | possible accepted importance values (optional)
toDate = toDate_example # String | filter by date. Accepted format example 2018-09-01T12:00:00 (optional)

try: 
    # filter alerts by coin
    api_instance.get_alerts_by_coin(coin, period=period, importance=importance, toDate=toDate)
except ApiException as e:
    print("Exception when calling AlertsApi->getAlertsByCoin: %s\n" % e)

Parameters

Path parameters
Name Description
coin*
String
coin name
Required
Query parameters
Name Description
period
String
possible accepted period values
importance
String
possible accepted importance values
toDate
String
filter by date. Accepted format example 2018-09-01T12:00:00

Responses

Status: 200 - successful operation

Status: 500 - server error


getAlertsByCoinAndExchange

filter alerts by coin and exchange


/alert/coin/{coin}/{exchange}

Usage and SDK Samples

curl -X GET "https://app.cryptoterminal.io/api/v1/alert/coin/{coin}/{exchange}?period=&importance=&toDate="
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.AlertsApi;

import java.io.File;
import java.util.*;

public class AlertsApiExample {

    public static void main(String[] args) {
        
        AlertsApi apiInstance = new AlertsApi();
        String coin = coin_example; // String | coin name
        String exchange = exchange_example; // String | exchange name
        String period = period_example; // String | possible accepted period values
        String importance = importance_example; // String | possible accepted importance values
        String toDate = toDate_example; // String | filter by date. Accepted format example 2018-09-01T12:00:00
        try {
            apiInstance.getAlertsByCoinAndExchange(coin, exchange, period, importance, toDate);
        } catch (ApiException e) {
            System.err.println("Exception when calling AlertsApi#getAlertsByCoinAndExchange");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.AlertsApi;

public class AlertsApiExample {

    public static void main(String[] args) {
        AlertsApi apiInstance = new AlertsApi();
        String coin = coin_example; // String | coin name
        String exchange = exchange_example; // String | exchange name
        String period = period_example; // String | possible accepted period values
        String importance = importance_example; // String | possible accepted importance values
        String toDate = toDate_example; // String | filter by date. Accepted format example 2018-09-01T12:00:00
        try {
            apiInstance.getAlertsByCoinAndExchange(coin, exchange, period, importance, toDate);
        } catch (ApiException e) {
            System.err.println("Exception when calling AlertsApi#getAlertsByCoinAndExchange");
            e.printStackTrace();
        }
    }
}
String *coin = coin_example; // coin name
String *exchange = exchange_example; // exchange name
String *period = period_example; // possible accepted period values (optional)
String *importance = importance_example; // possible accepted importance values (optional)
String *toDate = toDate_example; // filter by date. Accepted format example 2018-09-01T12:00:00 (optional)

AlertsApi *apiInstance = [[AlertsApi alloc] init];

// filter alerts by coin and exchange
[apiInstance getAlertsByCoinAndExchangeWith:coin
    exchange:exchange
    period:period
    importance:importance
    toDate:toDate
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var Cryptoterminalio = require('cryptoterminalio');

var api = new Cryptoterminalio.AlertsApi()

var coin = coin_example; // {String} coin name

var exchange = exchange_example; // {String} exchange name

var opts = { 
  'period': period_example, // {String} possible accepted period values
  'importance': importance_example, // {String} possible accepted importance values
  'toDate': toDate_example // {String} filter by date. Accepted format example 2018-09-01T12:00:00
};

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.getAlertsByCoinAndExchange(coin, exchange, opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class getAlertsByCoinAndExchangeExample
    {
        public void main()
        {
            
            var apiInstance = new AlertsApi();
            var coin = coin_example;  // String | coin name
            var exchange = exchange_example;  // String | exchange name
            var period = period_example;  // String | possible accepted period values (optional) 
            var importance = importance_example;  // String | possible accepted importance values (optional) 
            var toDate = toDate_example;  // String | filter by date. Accepted format example 2018-09-01T12:00:00 (optional) 

            try
            {
                // filter alerts by coin and exchange
                apiInstance.getAlertsByCoinAndExchange(coin, exchange, period, importance, toDate);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling AlertsApi.getAlertsByCoinAndExchange: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\AlertsApi();
$coin = coin_example; // String | coin name
$exchange = exchange_example; // String | exchange name
$period = period_example; // String | possible accepted period values
$importance = importance_example; // String | possible accepted importance values
$toDate = toDate_example; // String | filter by date. Accepted format example 2018-09-01T12:00:00

try {
    $api_instance->getAlertsByCoinAndExchange($coin, $exchange, $period, $importance, $toDate);
} catch (Exception $e) {
    echo 'Exception when calling AlertsApi->getAlertsByCoinAndExchange: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::AlertsApi;

my $api_instance = WWW::SwaggerClient::AlertsApi->new();
my $coin = coin_example; # String | coin name
my $exchange = exchange_example; # String | exchange name
my $period = period_example; # String | possible accepted period values
my $importance = importance_example; # String | possible accepted importance values
my $toDate = toDate_example; # String | filter by date. Accepted format example 2018-09-01T12:00:00

eval { 
    $api_instance->getAlertsByCoinAndExchange(coin => $coin, exchange => $exchange, period => $period, importance => $importance, toDate => $toDate);
};
if ($@) {
    warn "Exception when calling AlertsApi->getAlertsByCoinAndExchange: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = swagger_client.AlertsApi()
coin = coin_example # String | coin name
exchange = exchange_example # String | exchange name
period = period_example # String | possible accepted period values (optional)
importance = importance_example # String | possible accepted importance values (optional)
toDate = toDate_example # String | filter by date. Accepted format example 2018-09-01T12:00:00 (optional)

try: 
    # filter alerts by coin and exchange
    api_instance.get_alerts_by_coin_and_exchange(coin, exchange, period=period, importance=importance, toDate=toDate)
except ApiException as e:
    print("Exception when calling AlertsApi->getAlertsByCoinAndExchange: %s\n" % e)

Parameters

Path parameters
Name Description
coin*
String
coin name
Required
exchange*
String
exchange name
Required
Query parameters
Name Description
period
String
possible accepted period values
importance
String
possible accepted importance values
toDate
String
filter by date. Accepted format example 2018-09-01T12:00:00

Responses

Status: 200 - successful operation

Status: 500 - server error


getAlertsByExchange

filter alerts by exchange


/alert/exchange/{exchange}

Usage and SDK Samples

curl -X GET "https://app.cryptoterminal.io/api/v1/alert/exchange/{exchange}?period=&importance=&toDate="
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.AlertsApi;

import java.io.File;
import java.util.*;

public class AlertsApiExample {

    public static void main(String[] args) {
        
        AlertsApi apiInstance = new AlertsApi();
        String exchange = exchange_example; // String | exchange name
        String period = period_example; // String | possible accepted period values
        String importance = importance_example; // String | possible accepted importance values
        String toDate = toDate_example; // String | filter by date. Accepted format example 2018-09-01T12:00:00
        try {
            apiInstance.getAlertsByExchange(exchange, period, importance, toDate);
        } catch (ApiException e) {
            System.err.println("Exception when calling AlertsApi#getAlertsByExchange");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.AlertsApi;

public class AlertsApiExample {

    public static void main(String[] args) {
        AlertsApi apiInstance = new AlertsApi();
        String exchange = exchange_example; // String | exchange name
        String period = period_example; // String | possible accepted period values
        String importance = importance_example; // String | possible accepted importance values
        String toDate = toDate_example; // String | filter by date. Accepted format example 2018-09-01T12:00:00
        try {
            apiInstance.getAlertsByExchange(exchange, period, importance, toDate);
        } catch (ApiException e) {
            System.err.println("Exception when calling AlertsApi#getAlertsByExchange");
            e.printStackTrace();
        }
    }
}
String *exchange = exchange_example; // exchange name
String *period = period_example; // possible accepted period values (optional)
String *importance = importance_example; // possible accepted importance values (optional)
String *toDate = toDate_example; // filter by date. Accepted format example 2018-09-01T12:00:00 (optional)

AlertsApi *apiInstance = [[AlertsApi alloc] init];

// filter alerts by exchange
[apiInstance getAlertsByExchangeWith:exchange
    period:period
    importance:importance
    toDate:toDate
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var Cryptoterminalio = require('cryptoterminalio');

var api = new Cryptoterminalio.AlertsApi()

var exchange = exchange_example; // {String} exchange name

var opts = { 
  'period': period_example, // {String} possible accepted period values
  'importance': importance_example, // {String} possible accepted importance values
  'toDate': toDate_example // {String} filter by date. Accepted format example 2018-09-01T12:00:00
};

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.getAlertsByExchange(exchange, opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class getAlertsByExchangeExample
    {
        public void main()
        {
            
            var apiInstance = new AlertsApi();
            var exchange = exchange_example;  // String | exchange name
            var period = period_example;  // String | possible accepted period values (optional) 
            var importance = importance_example;  // String | possible accepted importance values (optional) 
            var toDate = toDate_example;  // String | filter by date. Accepted format example 2018-09-01T12:00:00 (optional) 

            try
            {
                // filter alerts by exchange
                apiInstance.getAlertsByExchange(exchange, period, importance, toDate);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling AlertsApi.getAlertsByExchange: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\AlertsApi();
$exchange = exchange_example; // String | exchange name
$period = period_example; // String | possible accepted period values
$importance = importance_example; // String | possible accepted importance values
$toDate = toDate_example; // String | filter by date. Accepted format example 2018-09-01T12:00:00

try {
    $api_instance->getAlertsByExchange($exchange, $period, $importance, $toDate);
} catch (Exception $e) {
    echo 'Exception when calling AlertsApi->getAlertsByExchange: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::AlertsApi;

my $api_instance = WWW::SwaggerClient::AlertsApi->new();
my $exchange = exchange_example; # String | exchange name
my $period = period_example; # String | possible accepted period values
my $importance = importance_example; # String | possible accepted importance values
my $toDate = toDate_example; # String | filter by date. Accepted format example 2018-09-01T12:00:00

eval { 
    $api_instance->getAlertsByExchange(exchange => $exchange, period => $period, importance => $importance, toDate => $toDate);
};
if ($@) {
    warn "Exception when calling AlertsApi->getAlertsByExchange: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = swagger_client.AlertsApi()
exchange = exchange_example # String | exchange name
period = period_example # String | possible accepted period values (optional)
importance = importance_example # String | possible accepted importance values (optional)
toDate = toDate_example # String | filter by date. Accepted format example 2018-09-01T12:00:00 (optional)

try: 
    # filter alerts by exchange
    api_instance.get_alerts_by_exchange(exchange, period=period, importance=importance, toDate=toDate)
except ApiException as e:
    print("Exception when calling AlertsApi->getAlertsByExchange: %s\n" % e)

Parameters

Path parameters
Name Description
exchange*
String
exchange name
Required
Query parameters
Name Description
period
String
possible accepted period values
importance
String
possible accepted importance values
toDate
String
filter by date. Accepted format example 2018-09-01T12:00:00

Responses

Status: 200 - successful operation

Status: 400 - server error


Headlines

getHeadlines

Get headlines without any filter (15 per request)

Information to get more alerts will be included in response object


/headline

Usage and SDK Samples

curl -X GET "https://app.cryptoterminal.io/api/v1/headline?hot=&toDate="
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.HeadlinesApi;

import java.io.File;
import java.util.*;

public class HeadlinesApiExample {

    public static void main(String[] args) {
        
        HeadlinesApi apiInstance = new HeadlinesApi();
        String hot = hot_example; // String | filter by hot headlines. Accepted values - true/false
        String toDate = toDate_example; // String | filter by date. Accepted format example 2018-09-01T12:00:00
        try {
            apiInstance.getHeadlines(hot, toDate);
        } catch (ApiException e) {
            System.err.println("Exception when calling HeadlinesApi#getHeadlines");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.HeadlinesApi;

public class HeadlinesApiExample {

    public static void main(String[] args) {
        HeadlinesApi apiInstance = new HeadlinesApi();
        String hot = hot_example; // String | filter by hot headlines. Accepted values - true/false
        String toDate = toDate_example; // String | filter by date. Accepted format example 2018-09-01T12:00:00
        try {
            apiInstance.getHeadlines(hot, toDate);
        } catch (ApiException e) {
            System.err.println("Exception when calling HeadlinesApi#getHeadlines");
            e.printStackTrace();
        }
    }
}
String *hot = hot_example; // filter by hot headlines. Accepted values - true/false (optional)
String *toDate = toDate_example; // filter by date. Accepted format example 2018-09-01T12:00:00 (optional)

HeadlinesApi *apiInstance = [[HeadlinesApi alloc] init];

// Get headlines without any filter (15 per request)
[apiInstance getHeadlinesWith:hot
    toDate:toDate
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var Cryptoterminalio = require('cryptoterminalio');

var api = new Cryptoterminalio.HeadlinesApi()

var opts = { 
  'hot': hot_example, // {String} filter by hot headlines. Accepted values - true/false
  'toDate': toDate_example // {String} filter by date. Accepted format example 2018-09-01T12:00:00
};

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.getHeadlines(opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class getHeadlinesExample
    {
        public void main()
        {
            
            var apiInstance = new HeadlinesApi();
            var hot = hot_example;  // String | filter by hot headlines. Accepted values - true/false (optional) 
            var toDate = toDate_example;  // String | filter by date. Accepted format example 2018-09-01T12:00:00 (optional) 

            try
            {
                // Get headlines without any filter (15 per request)
                apiInstance.getHeadlines(hot, toDate);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling HeadlinesApi.getHeadlines: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\HeadlinesApi();
$hot = hot_example; // String | filter by hot headlines. Accepted values - true/false
$toDate = toDate_example; // String | filter by date. Accepted format example 2018-09-01T12:00:00

try {
    $api_instance->getHeadlines($hot, $toDate);
} catch (Exception $e) {
    echo 'Exception when calling HeadlinesApi->getHeadlines: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::HeadlinesApi;

my $api_instance = WWW::SwaggerClient::HeadlinesApi->new();
my $hot = hot_example; # String | filter by hot headlines. Accepted values - true/false
my $toDate = toDate_example; # String | filter by date. Accepted format example 2018-09-01T12:00:00

eval { 
    $api_instance->getHeadlines(hot => $hot, toDate => $toDate);
};
if ($@) {
    warn "Exception when calling HeadlinesApi->getHeadlines: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = swagger_client.HeadlinesApi()
hot = hot_example # String | filter by hot headlines. Accepted values - true/false (optional)
toDate = toDate_example # String | filter by date. Accepted format example 2018-09-01T12:00:00 (optional)

try: 
    # Get headlines without any filter (15 per request)
    api_instance.get_headlines(hot=hot, toDate=toDate)
except ApiException as e:
    print("Exception when calling HeadlinesApi->getHeadlines: %s\n" % e)

Parameters

Query parameters
Name Description
hot
String
filter by hot headlines. Accepted values - true/false
toDate
String
filter by date. Accepted format example 2018-09-01T12:00:00

Responses

Status: 200 - successful operation

Status: 500 - server error


getHeadlinesByCoin

filter headlines by coin


/headline/coin/{coin}

Usage and SDK Samples

curl -X GET "https://app.cryptoterminal.io/api/v1/headline/coin/{coin}?hot=&toDate="
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.HeadlinesApi;

import java.io.File;
import java.util.*;

public class HeadlinesApiExample {

    public static void main(String[] args) {
        
        HeadlinesApi apiInstance = new HeadlinesApi();
        String coin = coin_example; // String | coin name
        String hot = hot_example; // String | filter by hot headlines. Accepted values - true/false
        String toDate = toDate_example; // String | filter by date. Accepted format example 2018-09-01T12:00:00
        try {
            apiInstance.getHeadlinesByCoin(coin, hot, toDate);
        } catch (ApiException e) {
            System.err.println("Exception when calling HeadlinesApi#getHeadlinesByCoin");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.HeadlinesApi;

public class HeadlinesApiExample {

    public static void main(String[] args) {
        HeadlinesApi apiInstance = new HeadlinesApi();
        String coin = coin_example; // String | coin name
        String hot = hot_example; // String | filter by hot headlines. Accepted values - true/false
        String toDate = toDate_example; // String | filter by date. Accepted format example 2018-09-01T12:00:00
        try {
            apiInstance.getHeadlinesByCoin(coin, hot, toDate);
        } catch (ApiException e) {
            System.err.println("Exception when calling HeadlinesApi#getHeadlinesByCoin");
            e.printStackTrace();
        }
    }
}
String *coin = coin_example; // coin name
String *hot = hot_example; // filter by hot headlines. Accepted values - true/false (optional)
String *toDate = toDate_example; // filter by date. Accepted format example 2018-09-01T12:00:00 (optional)

HeadlinesApi *apiInstance = [[HeadlinesApi alloc] init];

// filter headlines by coin
[apiInstance getHeadlinesByCoinWith:coin
    hot:hot
    toDate:toDate
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var Cryptoterminalio = require('cryptoterminalio');

var api = new Cryptoterminalio.HeadlinesApi()

var coin = coin_example; // {String} coin name

var opts = { 
  'hot': hot_example, // {String} filter by hot headlines. Accepted values - true/false
  'toDate': toDate_example // {String} filter by date. Accepted format example 2018-09-01T12:00:00
};

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.getHeadlinesByCoin(coin, opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class getHeadlinesByCoinExample
    {
        public void main()
        {
            
            var apiInstance = new HeadlinesApi();
            var coin = coin_example;  // String | coin name
            var hot = hot_example;  // String | filter by hot headlines. Accepted values - true/false (optional) 
            var toDate = toDate_example;  // String | filter by date. Accepted format example 2018-09-01T12:00:00 (optional) 

            try
            {
                // filter headlines by coin
                apiInstance.getHeadlinesByCoin(coin, hot, toDate);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling HeadlinesApi.getHeadlinesByCoin: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\HeadlinesApi();
$coin = coin_example; // String | coin name
$hot = hot_example; // String | filter by hot headlines. Accepted values - true/false
$toDate = toDate_example; // String | filter by date. Accepted format example 2018-09-01T12:00:00

try {
    $api_instance->getHeadlinesByCoin($coin, $hot, $toDate);
} catch (Exception $e) {
    echo 'Exception when calling HeadlinesApi->getHeadlinesByCoin: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::HeadlinesApi;

my $api_instance = WWW::SwaggerClient::HeadlinesApi->new();
my $coin = coin_example; # String | coin name
my $hot = hot_example; # String | filter by hot headlines. Accepted values - true/false
my $toDate = toDate_example; # String | filter by date. Accepted format example 2018-09-01T12:00:00

eval { 
    $api_instance->getHeadlinesByCoin(coin => $coin, hot => $hot, toDate => $toDate);
};
if ($@) {
    warn "Exception when calling HeadlinesApi->getHeadlinesByCoin: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = swagger_client.HeadlinesApi()
coin = coin_example # String | coin name
hot = hot_example # String | filter by hot headlines. Accepted values - true/false (optional)
toDate = toDate_example # String | filter by date. Accepted format example 2018-09-01T12:00:00 (optional)

try: 
    # filter headlines by coin
    api_instance.get_headlines_by_coin(coin, hot=hot, toDate=toDate)
except ApiException as e:
    print("Exception when calling HeadlinesApi->getHeadlinesByCoin: %s\n" % e)

Parameters

Path parameters
Name Description
coin*
String
coin name
Required
Query parameters
Name Description
hot
String
filter by hot headlines. Accepted values - true/false
toDate
String
filter by date. Accepted format example 2018-09-01T12:00:00

Responses

Status: 200 - successful operation

Status: 500 - server error


getHeadlinesBySearchString

filter alerts by search string


/headline/search/{searchString}

Usage and SDK Samples

curl -X GET "https://app.cryptoterminal.io/api/v1/headline/search/{searchString}?hot=&toDate="
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.HeadlinesApi;

import java.io.File;
import java.util.*;

public class HeadlinesApiExample {

    public static void main(String[] args) {
        
        HeadlinesApi apiInstance = new HeadlinesApi();
        String searchString = searchString_example; // String | the string to search for in the headlines
        String hot = hot_example; // String | filter by hot headlines. Accepted values - true/false
        String toDate = toDate_example; // String | filter by date. Accepted format example 2018-09-01T12:00:00
        try {
            apiInstance.getHeadlinesBySearchString(searchString, hot, toDate);
        } catch (ApiException e) {
            System.err.println("Exception when calling HeadlinesApi#getHeadlinesBySearchString");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.HeadlinesApi;

public class HeadlinesApiExample {

    public static void main(String[] args) {
        HeadlinesApi apiInstance = new HeadlinesApi();
        String searchString = searchString_example; // String | the string to search for in the headlines
        String hot = hot_example; // String | filter by hot headlines. Accepted values - true/false
        String toDate = toDate_example; // String | filter by date. Accepted format example 2018-09-01T12:00:00
        try {
            apiInstance.getHeadlinesBySearchString(searchString, hot, toDate);
        } catch (ApiException e) {
            System.err.println("Exception when calling HeadlinesApi#getHeadlinesBySearchString");
            e.printStackTrace();
        }
    }
}
String *searchString = searchString_example; // the string to search for in the headlines
String *hot = hot_example; // filter by hot headlines. Accepted values - true/false (optional)
String *toDate = toDate_example; // filter by date. Accepted format example 2018-09-01T12:00:00 (optional)

HeadlinesApi *apiInstance = [[HeadlinesApi alloc] init];

// filter alerts by search string
[apiInstance getHeadlinesBySearchStringWith:searchString
    hot:hot
    toDate:toDate
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var Cryptoterminalio = require('cryptoterminalio');

var api = new Cryptoterminalio.HeadlinesApi()

var searchString = searchString_example; // {String} the string to search for in the headlines

var opts = { 
  'hot': hot_example, // {String} filter by hot headlines. Accepted values - true/false
  'toDate': toDate_example // {String} filter by date. Accepted format example 2018-09-01T12:00:00
};

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.getHeadlinesBySearchString(searchString, opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class getHeadlinesBySearchStringExample
    {
        public void main()
        {
            
            var apiInstance = new HeadlinesApi();
            var searchString = searchString_example;  // String | the string to search for in the headlines
            var hot = hot_example;  // String | filter by hot headlines. Accepted values - true/false (optional) 
            var toDate = toDate_example;  // String | filter by date. Accepted format example 2018-09-01T12:00:00 (optional) 

            try
            {
                // filter alerts by search string
                apiInstance.getHeadlinesBySearchString(searchString, hot, toDate);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling HeadlinesApi.getHeadlinesBySearchString: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\HeadlinesApi();
$searchString = searchString_example; // String | the string to search for in the headlines
$hot = hot_example; // String | filter by hot headlines. Accepted values - true/false
$toDate = toDate_example; // String | filter by date. Accepted format example 2018-09-01T12:00:00

try {
    $api_instance->getHeadlinesBySearchString($searchString, $hot, $toDate);
} catch (Exception $e) {
    echo 'Exception when calling HeadlinesApi->getHeadlinesBySearchString: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::HeadlinesApi;

my $api_instance = WWW::SwaggerClient::HeadlinesApi->new();
my $searchString = searchString_example; # String | the string to search for in the headlines
my $hot = hot_example; # String | filter by hot headlines. Accepted values - true/false
my $toDate = toDate_example; # String | filter by date. Accepted format example 2018-09-01T12:00:00

eval { 
    $api_instance->getHeadlinesBySearchString(searchString => $searchString, hot => $hot, toDate => $toDate);
};
if ($@) {
    warn "Exception when calling HeadlinesApi->getHeadlinesBySearchString: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = swagger_client.HeadlinesApi()
searchString = searchString_example # String | the string to search for in the headlines
hot = hot_example # String | filter by hot headlines. Accepted values - true/false (optional)
toDate = toDate_example # String | filter by date. Accepted format example 2018-09-01T12:00:00 (optional)

try: 
    # filter alerts by search string
    api_instance.get_headlines_by_search_string(searchString, hot=hot, toDate=toDate)
except ApiException as e:
    print("Exception when calling HeadlinesApi->getHeadlinesBySearchString: %s\n" % e)

Parameters

Path parameters
Name Description
searchString*
String
the string to search for in the headlines
Required
Query parameters
Name Description
hot
String
filter by hot headlines. Accepted values - true/false
toDate
String
filter by date. Accepted format example 2018-09-01T12:00:00

Responses

Status: 200 - successful operation

Status: 500 - server error



getHeadlinesBySource

filter alerts by source


/headline/source/{source}

Usage and SDK Samples

curl -X GET "https://app.cryptoterminal.io/api/v1/headline/source/{source}?hot=&toDate="
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.HeadlinesApi;

import java.io.File;
import java.util.*;

public class HeadlinesApiExample {

    public static void main(String[] args) {
        
        HeadlinesApi apiInstance = new HeadlinesApi();
        String source = source_example; // String | exchange name
        String hot = hot_example; // String | filter by hot headlines. Accepted values - true/false
        String toDate = toDate_example; // String | filter by date. Accepted format example 2018-09-01T12:00:00
        try {
            apiInstance.getHeadlinesBySource(source, hot, toDate);
        } catch (ApiException e) {
            System.err.println("Exception when calling HeadlinesApi#getHeadlinesBySource");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.HeadlinesApi;

public class HeadlinesApiExample {

    public static void main(String[] args) {
        HeadlinesApi apiInstance = new HeadlinesApi();
        String source = source_example; // String | exchange name
        String hot = hot_example; // String | filter by hot headlines. Accepted values - true/false
        String toDate = toDate_example; // String | filter by date. Accepted format example 2018-09-01T12:00:00
        try {
            apiInstance.getHeadlinesBySource(source, hot, toDate);
        } catch (ApiException e) {
            System.err.println("Exception when calling HeadlinesApi#getHeadlinesBySource");
            e.printStackTrace();
        }
    }
}
String *source = source_example; // exchange name
String *hot = hot_example; // filter by hot headlines. Accepted values - true/false (optional)
String *toDate = toDate_example; // filter by date. Accepted format example 2018-09-01T12:00:00 (optional)

HeadlinesApi *apiInstance = [[HeadlinesApi alloc] init];

// filter alerts by source
[apiInstance getHeadlinesBySourceWith:source
    hot:hot
    toDate:toDate
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var Cryptoterminalio = require('cryptoterminalio');

var api = new Cryptoterminalio.HeadlinesApi()

var source = source_example; // {String} exchange name

var opts = { 
  'hot': hot_example, // {String} filter by hot headlines. Accepted values - true/false
  'toDate': toDate_example // {String} filter by date. Accepted format example 2018-09-01T12:00:00
};

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.getHeadlinesBySource(source, opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class getHeadlinesBySourceExample
    {
        public void main()
        {
            
            var apiInstance = new HeadlinesApi();
            var source = source_example;  // String | exchange name
            var hot = hot_example;  // String | filter by hot headlines. Accepted values - true/false (optional) 
            var toDate = toDate_example;  // String | filter by date. Accepted format example 2018-09-01T12:00:00 (optional) 

            try
            {
                // filter alerts by source
                apiInstance.getHeadlinesBySource(source, hot, toDate);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling HeadlinesApi.getHeadlinesBySource: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\HeadlinesApi();
$source = source_example; // String | exchange name
$hot = hot_example; // String | filter by hot headlines. Accepted values - true/false
$toDate = toDate_example; // String | filter by date. Accepted format example 2018-09-01T12:00:00

try {
    $api_instance->getHeadlinesBySource($source, $hot, $toDate);
} catch (Exception $e) {
    echo 'Exception when calling HeadlinesApi->getHeadlinesBySource: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::HeadlinesApi;

my $api_instance = WWW::SwaggerClient::HeadlinesApi->new();
my $source = source_example; # String | exchange name
my $hot = hot_example; # String | filter by hot headlines. Accepted values - true/false
my $toDate = toDate_example; # String | filter by date. Accepted format example 2018-09-01T12:00:00

eval { 
    $api_instance->getHeadlinesBySource(source => $source, hot => $hot, toDate => $toDate);
};
if ($@) {
    warn "Exception when calling HeadlinesApi->getHeadlinesBySource: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = swagger_client.HeadlinesApi()
source = source_example # String | exchange name
hot = hot_example # String | filter by hot headlines. Accepted values - true/false (optional)
toDate = toDate_example # String | filter by date. Accepted format example 2018-09-01T12:00:00 (optional)

try: 
    # filter alerts by source
    api_instance.get_headlines_by_source(source, hot=hot, toDate=toDate)
except ApiException as e:
    print("Exception when calling HeadlinesApi->getHeadlinesBySource: %s\n" % e)

Parameters

Path parameters
Name Description
source*
String
exchange name
Required
Query parameters
Name Description
hot
String
filter by hot headlines. Accepted values - true/false
toDate
String
filter by date. Accepted format example 2018-09-01T12:00:00

Responses

Status: 200 - successful operation

Status: 500 - server error


Price

getPrice

Get price data for coin by exchange and period


/price/{coin}/{exchange}/{period}

Usage and SDK Samples

curl -X GET "https://app.cryptoterminal.io/api/v1/price/{coin}/{exchange}/{period}"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.PriceApi;

import java.io.File;
import java.util.*;

public class PriceApiExample {

    public static void main(String[] args) {
        
        PriceApi apiInstance = new PriceApi();
        String coin = coin_example; // String | exchange name
        String exchange = exchange_example; // String | exchange name
        String period = period_example; // String | period
        try {
            apiInstance.getPrice(coin, exchange, period);
        } catch (ApiException e) {
            System.err.println("Exception when calling PriceApi#getPrice");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.PriceApi;

public class PriceApiExample {

    public static void main(String[] args) {
        PriceApi apiInstance = new PriceApi();
        String coin = coin_example; // String | exchange name
        String exchange = exchange_example; // String | exchange name
        String period = period_example; // String | period
        try {
            apiInstance.getPrice(coin, exchange, period);
        } catch (ApiException e) {
            System.err.println("Exception when calling PriceApi#getPrice");
            e.printStackTrace();
        }
    }
}
String *coin = coin_example; // exchange name
String *exchange = exchange_example; // exchange name
String *period = period_example; // period

PriceApi *apiInstance = [[PriceApi alloc] init];

// Get price data for coin by exchange and period
[apiInstance getPriceWith:coin
    exchange:exchange
    period:period
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var Cryptoterminalio = require('cryptoterminalio');

var api = new Cryptoterminalio.PriceApi()

var coin = coin_example; // {String} exchange name

var exchange = exchange_example; // {String} exchange name

var period = period_example; // {String} period


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.getPrice(coin, exchange, period, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class getPriceExample
    {
        public void main()
        {
            
            var apiInstance = new PriceApi();
            var coin = coin_example;  // String | exchange name
            var exchange = exchange_example;  // String | exchange name
            var period = period_example;  // String | period

            try
            {
                // Get price data for coin by exchange and period
                apiInstance.getPrice(coin, exchange, period);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling PriceApi.getPrice: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\PriceApi();
$coin = coin_example; // String | exchange name
$exchange = exchange_example; // String | exchange name
$period = period_example; // String | period

try {
    $api_instance->getPrice($coin, $exchange, $period);
} catch (Exception $e) {
    echo 'Exception when calling PriceApi->getPrice: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::PriceApi;

my $api_instance = WWW::SwaggerClient::PriceApi->new();
my $coin = coin_example; # String | exchange name
my $exchange = exchange_example; # String | exchange name
my $period = period_example; # String | period

eval { 
    $api_instance->getPrice(coin => $coin, exchange => $exchange, period => $period);
};
if ($@) {
    warn "Exception when calling PriceApi->getPrice: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = swagger_client.PriceApi()
coin = coin_example # String | exchange name
exchange = exchange_example # String | exchange name
period = period_example # String | period

try: 
    # Get price data for coin by exchange and period
    api_instance.get_price(coin, exchange, period)
except ApiException as e:
    print("Exception when calling PriceApi->getPrice: %s\n" % e)

Parameters

Path parameters
Name Description
coin*
String
exchange name
Required
exchange*
String
exchange name
Required
period*
String
period
Required

Responses

Status: 200 - successful operation

Status: 500 - server error